views:

42

answers:

2

I wrote a wrapper for SFML that would allow me to replace the renderer for my game if I needed to. It worked. Then I refactored and while it still compiles, I now get "unable to initialize application 0xc000005" when running the compiled executable.

What would cause such an error? Google was unhelpful. I'm using Windows XP.

+1  A: 

0xc000005 is ERROR_ACCESS_VIOLATION -- you've got a wild pointer somewhere.

Billy ONeal
A: 

I occasionally gotten this error when I have the following setup:

Application linked against X.lib, which causes a dynamic load of X.dll X.dll linked against Y.lib, which causes a dynamic load of Y.dll

Run application when X.dll is in the path, but not Y.dll.

Eli