| View previous topic :: View next topic |
| Author |
Message |
Andrew Bond Guest
|
Posted: Tue May 15, 2007 6:33 pm Post subject: Help! The application failed to initialize properly (0xeedfa |
|
|
How do I determine the cause of the error
'The application failed to initialize properly (0xeedfade)'
which occurs twice when I start my application? (The app then closes,
without showing ist UI.)
I cannot get the program to stop on a breakpoint placed on WinMain and
I'm clueless as to what is causing the problem.
I'm using C++Builder 6 with the new DevEx Bars 6 components (especially:
the new Ribbon). A non-ribbon version of my app works without this
problem (and another app with the ribbon works fine also).
Any pointers would be most welcome.
Thanks
Andrew |
|
| Back to top |
|
 |
dhoke Guest
|
Posted: Tue May 15, 2007 7:04 pm Post subject: Re: Help! The application failed to initialize properly (0xe |
|
|
Usually when I've seen such a message it has been with a value (0xc0000021)
(I think) - but, that aside, when I've seen it, its often been because the
permissions on some dll or directory, even though seeming OK, were
preventing the application from running. I have sometimes used sysinternals
filemon trying to watch what files are accessed after the program is
started, and then looking at the last ones attempted before the program
fails to load, examining their ACL lists. Then, I replace the ACLs (using
cacls) with everyone:full (not a good choice for final
distribution/installation, but OK for development/diagnosis.)
This may not be your case, as your message seems to be trying to tell you
something ( (e)X(c)EEDFADE ? ), but I offer it FWIW.
"Andrew Bond" <andrew.bond (AT) geocentrix (DOT) co.uk> wrote in message
news:4649b6b7$1 (AT) newsgroups (DOT) borland.com...
| Quote: | How do I determine the cause of the error
'The application failed to initialize properly (0xeedfade)'
which occurs twice when I start my application? (The app then closes,
without showing ist UI.)
I cannot get the program to stop on a breakpoint placed on WinMain and I'm
clueless as to what is causing the problem.
I'm using C++Builder 6 with the new DevEx Bars 6 components (especially:
the new Ribbon). A non-ribbon version of my app works without this problem
(and another app with the ribbon works fine also).
Any pointers would be most welcome.
Thanks
Andrew |
|
|
| Back to top |
|
 |
dhoke Guest
|
Posted: Tue May 15, 2007 7:06 pm Post subject: Re: Help! The application failed to initialize properly (0xe |
|
|
Oh yeah - more recently, I was 'reminded' that this can happen if a .DLL
returns a negative response when a process tries to attach to it - as a
guess, that value (0xeedfade) might be returned from the initialization
routine of some .DLL...
"Andrew Bond" <andrew.bond (AT) geocentrix (DOT) co.uk> wrote in message
news:4649b6b7$1 (AT) newsgroups (DOT) borland.com...
| Quote: | How do I determine the cause of the error
'The application failed to initialize properly (0xeedfade)'
which occurs twice when I start my application? (The app then closes,
without showing ist UI.)
I cannot get the program to stop on a breakpoint placed on WinMain and I'm
clueless as to what is causing the problem.
I'm using C++Builder 6 with the new DevEx Bars 6 components (especially:
the new Ribbon). A non-ribbon version of my app works without this problem
(and another app with the ribbon works fine also).
Any pointers would be most welcome.
Thanks
Andrew |
|
|
| Back to top |
|
 |
Bob Gonder Guest
|
|
| Back to top |
|
 |
Andrew Bond Guest
|
Posted: Wed May 16, 2007 4:09 pm Post subject: Re: Help! The application failed to initialize properly (0xe |
|
|
dhoke wrote:
| Quote: | Oh yeah - more recently, I was 'reminded' that this can happen if a .DLL
returns a negative response when a process tries to attach to it - as a
guess, that value (0xeedfade) might be returned from the initialization
routine of some .DLL...
|
Thanks for the suggestions - it turned out to be a problem with
Developer Express's NAvBar component being used in a DLL and the App at
the same time - this results in double registration of the NavBar class.
Anyway, solved now.
Thanks
Andrew |
|
| Back to top |
|
 |
Andrew Bond Guest
|
Posted: Wed May 16, 2007 4:10 pm Post subject: Re: Help! The application failed to initialize properly (0xe |
|
|
Bob Gonder wrote:
| Quote: | You can also get that exception code if an exception is raised inside
a DLL and not caught within the DLL code.
|
Thanks for the suggestions - it turned out to be a problem with
Developer Express's NAvBar component being used in a DLL and the App at
the same time - this results in double registration of the NavBar class.
Anyway, solved now.
Thanks
Andrew |
|
| Back to top |
|
 |
Andrew Bond Guest
|
Posted: Wed May 16, 2007 4:11 pm Post subject: Re: Help! The application failed to initialize properly (0xe |
|
|
Bob Gonder wrote:
| Quote: | You can also get that exception code if an exception is raised inside
a DLL and not caught within the DLL code.
|
Thanks for the suggestions - it turned out to be a problem with
Developer Express's NAvBar component being used in a DLL and the App at
the same time - this results in double registration of the NavBar class.
Anyway, solved now.
Thanks
Andrew |
|
| Back to top |
|
 |
Andrew Bond Guest
|
Posted: Wed May 16, 2007 4:11 pm Post subject: Re: Help! The application failed to initialize properly (0xe |
|
|
Bob Gonder wrote:
| Quote: | You can also get that exception code if an exception is raised inside
a DLL and not caught within the DLL code.
|
Thanks for the suggestions - it turned out to be a problem with
Developer Express's NAvBar component being used in a DLL and the App at
the same time - this results in double registration of the NavBar class.
Anyway, solved now.
Thanks
Andrew |
|
| Back to top |
|
 |
|