Grupos de Google ya no admite nuevas publicaciones ni suscripciones de Usenet. El contenido anterior sigue siendo visible.

Runtime error 216 at .....

Visto 30 veces
Saltar al primer mensaje no leído

Linda Murphy

no leída,
24 oct 1997, 3:00:0024/10/97
a

Upon exiting my program, I get a message:

Runtime error 216 at 0002547E

(The second number, 0002547E, changes sometimes after
I recompile)

At the moment, I am unable to use the Delphi IDE debugger.
(I'm using a 3rd-party DLL that triggers EExternalException
when I select Run|Run in Delphi 3, but no exception occurs when I run
the program outside the Delphi IDE)

How do I track down what's causing the runtime error so I can fix it?

(Operating system: Windows NT 4.x, Hardware: Pentium)

By the way, I have NuMega's BoundsChecker, but I haven't learned
how to use it yet... Is it useful for fixing this kind of problem?

Thanks,
Linda A Murphy


Jon McKinley

no leída,
24 oct 1997, 3:00:0024/10/97
a

Linda Murphy wrote in message <62qfo0$r...@forums.borland.com>...


>Upon exiting my program, I get a message:
>
>Runtime error 216 at 0002547E


Linda;

Typically, I find that when you get a RTE 216 when exiting a program that
uses a DLL, it is because of memory that has been allocated in the DLL, and
was not freed. This could be a PChar, or object, etc... Since you are using
a third party DLL, you probably need to talk to them. My guess is that it
has something to do with Windows NT. The DLL was probably made for Windows
95.

To test and see if I am right, try removing the code that loads the dll,
then exit the program. My guess is that you will not get the RTE.

Hope this helps

Jon
jmck...@softsector.com

Kurt Barthelmess (TeamB)

no leída,
25 oct 1997, 3:00:0025/10/97
a

Linda -

> How do I track down what's causing the runtime error so I can fix it?

Sounds like you already have. The third party DLL is the problem. From
within the IDE, any interrupt will go first to the IDE. It doesn't
know what to do with it, so it waits for you to tell it. When you run
from outside the IDE, the DLL handles the interrupt. Get the DLL
vendor to fix whatever is causing the interrupt.

Good luck.

Kurt

Neil Clayton

no leída,
11 nov 1997, 3:00:0011/11/97
a

Linda Murphy wrote in message <62qfo0$r...@forums.borland.com>...
>Upon exiting my program, I get a message:
>
>Runtime error 216 at 0002547E


Youll also get that (in some circumstances)if you have overriden Destroy for
an object, yet failed to call the inherited method. Might want to check
that out ...

Neil

0 mensajes nuevos