Mega Code Archive

 
Categories / Delphi / Ide Indy
 

Runtime error 255

Question: I am getting runtime error 255 when using Delphi 3. What does it mean? Answer: This error is reported if there is a hardware or other exception that isn't caught (and that is not one of the error codes listed below). As of this writing, Error 255 in Delphi 3 appears to be caused by certain video drivers, or by workstations using the AMD NexGen x586 CPU. If your PC is not using the AMD NexGen x586, then the problem is probably the video driver. Try changing driver configuration, getting a newer video driver, or using the generic S3 drivers provided by Microsoft or S3 Inc. In the case of the AMD NexGen x586, AMD no longer officially supports it, but there is a "Windows CPU Identifier tool" reported as fixing this runtime error in a file called "winid20.exe", pack- aged in an Update Kit called ftp://ftp.amd.com/pub/nexgen/updtpi31.exe (this "update kit" is actually a self-extracting executable file, from which you extract, and then execute, the "winid20.exe" tool. For further details, please refer to AMD's http://www.amd.com/products/cpg/nx586/support/toolbox.html Nx586 Processor Toolbox home page.) Note: if your PC uses the VESA Local Bus instead of the PCI bus, you'll want to download the package ftp://ftp.amd.com/pub/nexgen/updtvl30.exe instead. Listing of Delphi 3 Runtime Errors: STATUS_INTEGER_DIVIDE_BY_ZERO: ErrCode := 200; STATUS_ARRAY_BOUNDS_EXCEEDED: ErrCode := 201; STATUS_FLOAT_OVERFLOW: ErrCode := 205; STATUS_FLOAT_INEXACT_RESULT, STATUS_FLOAT_INVALID_OPERATION, STATUS_FLOAT_STACK_CHECK: ErrCode := 207; STATUS_FLOAT_DIVIDE_BY_ZERO: ErrCode := 200; STATUS_INTEGER_OVERFLOW: ErrCode := 215; STATUS_FLOAT_UNDERFLOW, STATUS_FLOAT_DENORMAL_OPERAND: ErrCode := 206; STATUS_ACCESS_VIOLATION: ErrCode := 216; STATUS_PRIVILEGED_INSTRUCTION: ErrCode := 218; STATUS_CONTROL_C_EXIT: ErrCode := 217; STATUS_STACK_OVERFLOW: ErrCode := 202;