A.Midlash
A.Midlash

Reputation: 143

"unable to initialize application 0xc000005"

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.

Upvotes: 3

Views: 485

Answers (3)

Raven
Raven

Reputation: 4903

I believe you didn't initialize glew and used it somewhere in your code. Try putting glewInit(); somewhere at start of your code.

Upvotes: 0

Eli
Eli

Reputation: 51

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.

Upvotes: 1

Billy ONeal
Billy ONeal

Reputation: 106609

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

Upvotes: 2

Related Questions