BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help! The application failed to initialize properly (0xeedfa

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++)
View previous topic :: View next topic  
Author Message
Andrew Bond
Guest





PostPosted: Tue May 15, 2007 6:33 pm    Post subject: Help! The application failed to initialize properly (0xeedfa Reply with 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





PostPosted: Tue May 15, 2007 7:04 pm    Post subject: Re: Help! The application failed to initialize properly (0xe Reply with quote



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





PostPosted: Tue May 15, 2007 7:06 pm    Post subject: Re: Help! The application failed to initialize properly (0xe Reply with 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...

"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





PostPosted: Tue May 15, 2007 9:46 pm    Post subject: Re: Help! The application failed to initialize properly (0xe Reply with quote

Andrew Bond wrote:

Quote:
How do I determine the cause of the error

'The application failed to initialize properly (0xeedfade)'

You can Google that error (eefade) for lots of hits.
One such hit mentioned
<quote>
You can also get that exception code if an exception is raised inside
a DLL and not caught within the DLL code.
</quote>
http://groups.google.com/group/borland.public.delphi.non-technical/browse_thread/thread/a03e752ac9fd5a9f/82866287ac237cb3
http://tinyurl.com/2bykbf
Back to top
Andrew Bond
Guest





PostPosted: Wed May 16, 2007 4:09 pm    Post subject: Re: Help! The application failed to initialize properly (0xe Reply with quote

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





PostPosted: Wed May 16, 2007 4:10 pm    Post subject: Re: Help! The application failed to initialize properly (0xe Reply with quote

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





PostPosted: Wed May 16, 2007 4:11 pm    Post subject: Re: Help! The application failed to initialize properly (0xe Reply with quote

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





PostPosted: Wed May 16, 2007 4:11 pm    Post subject: Re: Help! The application failed to initialize properly (0xe Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.