Programming C# C++ (7) Delphi (617) .NET (2) Database (71) Delphi IDE (89) Network (39) Printing (3) Strings (12) VCL (83) Windows with Delphi (280) Java (8) JavaScript (31) perl (9) php (4) VBScript (1) Visual Basic (1)
Exchange Links About this site Links to us 
|
The meaning of Runtime Error 217
70 comments. Current rating: (15 votes). Leave comments and/ or rate it.
The online help that comes with Delphi lists "control-C-exit" as the reason for a runtime error 217, here a listing of Delphi 3 Runtime Errors:
STATUS_FLOAT_DIVIDE_BY_ZERO: 200;
STATUS_INTEGER_DIVIDE_BY_ZERO: 200;
STATUS_ARRAY_BOUNDS_EXCEEDED: 201;
STATUS_STACK_OVERFLOW: 202;
STATUS_FLOAT_OVERFLOW: 205;
STATUS_FLOAT_UNDERFLOW,
STATUS_FLOAT_DENORMAL_OPERAND: 206;
STATUS_FLOAT_INEXACT_RESULT,
STATUS_FLOAT_INVALID_OPERATION,
STATUS_FLOAT_STACK_CHECK: 207;
STATUS_INTEGER_OVERFLOW: 215;
STATUS_ACCESS_VIOLATION: 216;
STATUS_CONTROL_C_EXIT: 217;
STATUS_PRIVILEGED_INSTRUCTION: 218;
In the case of 217, this listing is wrong.
In fact, Delphi executables will die with runtime error 217 when an exception was raised before SysUtils is initialized or after it is finalized. In both situations the regular exception handling is not put in place.
If the error occurs right at your application's startup, check your initialization sections. Try to move code into a later part, e.g. into FormCreate() events.
Otherwise check your units' finalization sections.
Some typical situations where this can happen:
- unexpected date formats
- disk or registry accesses where the user has not sufficient privileges
- BDE Net Dir mismatches
Comments:
| You are on page 5 of 5, other pages: 1 2 3 4 [5] | |
|
|
|
Put 'ShareMem' first in your 'dpr' file, not the main form! -Skats McDoogle
|
|
|
|
|
Runtime error 217 starts with my boot. And can you tell me whats wrong with my PC??
And in safe mode it starts when i open something.A thing called setup1.exe.I dont know.
Need help.I dont wanna run my computer on Safe Mode forever.
suuri_ot@yahoo.com
|
|
|
|
|
Hi, Im getting the error '217 at 02CF1722' Every time I close IE, could someone help me out? E-mail: Xwatt15x@comcast.net
|
|
|
|
|
Hi...i need help for the error when i close my application:
Invalid Pointer Operation
Runtime error 217 at 00402848
Marlise
|
2008-03-25, 07:39:08 (updated: 2008-03-25, 07:39:56) |
|
|
|
Even sp1 for vista is no cure for this 'runtime error 217 at 0042900B'. ie just sucks!!!
|
|
|
|
|
Does anyone know what a Runtime error 217 at 0666FD29 is? I get it whenever I close IE.
IF anyone knows, could you email me at dave.davehua@gmail.com
Thanks!
|
|
|
|
|
just thought I'd add to this thread. Someone might benefit.
I've been developing an app in delphi 7 and was getting this problem.
We develop a COM+ multi tier app and in one of our units we have the following
uses
nxReplacementMemoryManager,
MidasMemPatch,
ComServ,
I commented out the nxReplacementMemoryManager
so the code looks like this :
uses
//nxReplacementMemoryManager,
MidasMemPatch,
ComServ,
when I ran the app and checked teh process I noticed 2 cpu charts because we run on a multi-core machine.
If I set the COM objects affinity to cpu 0 i.e to run on one processor/core
The issue goes away i.e. no more runtime 217.
I'm digging deeper into this problem but for now it looks like delphi's memory clean up and single core processing is the way to make this problem go away.
|
|
|
|
|
BUENAS TARDES, TENGO UN PROBLEMA. AL INTENTAR ABRIR ACER EMANAGER M SALE ERROR 217 AT 00494417. ALGUIEN ME PUEDE EXPLICAR QUE ERROR ES ESE? MUCHAS GRACIAS.
GOOD AFTERNOON. I HAVE A PROBLEM. WHEN I WANT TO OPEN ACER EMANAGER, IT APPEAR AN ERROR NAMED 217 AT 00494417. CAN YOU HELP ME??
|
|
|
|
|
Just to extend my previous contribution.
remove the nexus memory manager and make sure that SysUtils is the first unit in the uses file.
|
|
|
|
|
I was with the same problem of Marliese.But my case was very specific, because i was changing the dlls of the program to the main program and i needed to delete from uses the unit ShareMem.
I removed it and it works.
Sorry for my English
Good lucky for you
|
| You are on page 5 of 5, other pages: 1 2 3 4 [5] |
|