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
--
> 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