Reputation: 10519
My application don't start 1% of time for a unknow reason.
Under Microsoft Visual Studio I get the bug in DEBUG mode, below it's the call stack when the problem appear : Call stack
I don't know if this call stack can be exploited, and if it can give some clues about the problem.
I don't understand why the call stack look like this, it seems I can't find where the program bug in my source code
Thanks for any advices
Upvotes: 1
Views: 45
Reputation: 968
It looks like an exception occures in the DLL startup code. Make sure no exception is thrown from the constructors of statically declared object in your DLL. Objects that are declared outside functions are initialized by the RTL (eg. their constructors are being called). Such contructors may not throw or cause exceptions.
Upvotes: 1