PDA

View Full Version : Error when loading an executable


BigCheese
August 1st, 2006, 04:07
Hi,
Whenever I try to load an executable in Olly Dbg, I keep getting this error:

Quote:
The application failed to initialize properly (0x80000004). Click on OK to terminate the application.


Why am I getting this error, and is there any way to fix it?

By the way, I'm using Windows XP x64 edition. Is this the problem?

Thanks for your help,
BigCheese

naides
August 1st, 2006, 05:14
You can answer the "by the way question" rather easily:
Load Olly and your program on a x86 computer and OS, see if Olly still complains.

However, it smells like a poorly implemented anti-debug trick.

Several Anti-anti-debug plugins and utilities are referenced in this board. give it a search.

BigCheese
August 1st, 2006, 20:09
I seem to have solved the problem.

In my configuration file, I had these two values:
Quote:
Ignore TRAP=1
Ignore custom exceptions=1


Setting both parameters to 0 seems to eliminate the error.