I’ve gotten SDL applications to compile and run just fine with VC++ 8 Express.
Yesterday I got an e-mail from one of my site visitors saying they got the
program to compile but it would get an error when running it, but when they used
the old versions of SDL available on my FAQ page, it worked fine.
I upgraded my SDL install and I tested the Dev C++ upgrade. It went off without
Then I reinstalled VC++ 8e and tried setting up the program.
Did you check the event log like the error said? It should give you more
detail about what it’s complaining about.
I rarely use Visual Studio, so I’ve never used an event log. I googled around
and the event log isn’t where the sites said its supposed to be.
I know I’m not the only having this problem as I’ve seen other GDnet topics
about it. The set up procedure for SDL has pretty much stayed the same since
VC++ 6.0. What’s changed since then?
The event log isn’t a Visual Studio thing, it’s a Windows thing. Control
Panel -> Administrative Tools -> Event Viewer.
It’s likely not finding a DLL and/or a manifest file. By checking the
event viewer you’ll know exactly what it’s complaining about. For each
occurrence of the error there will likely be multiple errors in the
event log so you’ll need to read them all.
The issue likely has nothing to do with SDL itself and is related to
issues with the VS2005 runtime.