Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

application-defined exception in Delphi 7

383 views
Skip to first unread message

Joe Galinke

unread,
Jul 26, 2005, 7:28:24 AM7/26/05
to
Hello,

if there is a better group for the following problem please give me a hint.

Since I work with WinXP (SP2) I encounter an "application-defined exception
(code 0xc0000008) at 0x7c91eb74" when I close my application running in the
IDE. If the application runs outside the IDE, no error occurs.

It happens in the unit System, procedure _Halt0, calling
"ExitProcess(ExitCode)". This is in fact a call of ExitProcess in
kernel32.dll.

That didn't happen when I developed under W2K.

First I thought that an instance of TTBToolbar (Toolbar 2000, Jordan
Russel) was responsible for that error, but TActionManager does the same.

A difference is, that there has to be an instance of TTBToolbar on the form
to show this error but with TActionManager just the unit XPStyleActnCtrls
in the uses clause will produce it. That means, even if I remove the
instance of TActionManager but not the unit XPStyleActnCtrls the error
still happens.

The fact that it doesn't only appears with TTBToolbar let me think that is
not just a third party problem.

Does anyone of you know about such a problem? After a while it's really
annoying to get this error because it isn't enough to click the OK button
but I have to reset the program with CTRL-F2.

So, hopefully my English was clear enough to be understood.


Bye, Joe
--

Brad White

unread,
Jul 26, 2005, 9:11:30 AM7/26/05
to
"Joe Galinke" <spam...@galinke.de> wrote in message
news:42e61e79$1...@newsgroups.borland.com...

> Hello,
>
> if there is a better group for the following problem please give me a
> hint.
>
language.delphi.general
follow-ups set

> Since I work with WinXP (SP2) I encounter an "application-defined
> exception

<snip details of error >
> ... with TActionManager just the unit XPStyleActnCtrls


> in the uses clause will produce it. That means, even if I remove the
> instance of TActionManager but not the unit XPStyleActnCtrls the error
> still happens.
>

Sounds like you should be able to create a console app that reproduces
the problem and post it to the language group. Don't use a form.
Just reference the XPStyleActnCtrls unit in the uses clause.

> So, hopefully my English was clear enough to be understood.
>

quite.


--
Brad.

Vote for CodeRush in future versions of Delphi
http://qc.borland.com/wc/wc.exe/details?reportid=9138


0 new messages