Ok, I am attempting to create a new HL2 singleplayer mod, but it's not going so well.
I am running Windows XP with the Windows Vista Platform SDK (because I need the WPF libraries for other things). I use Visual C++ 2005 Express and I have the Platform SDK setup properly. I originally got linker errors, but this was fixed by linking with "user32.lib" (which is missing for some reason in the default project). Now, the game runs, but as soon as the Valve intro video stops playing, I hear the classic Windows Error sound and the game exits. There's no error dialog or anything.
I have no idea what is wrong. There's no place that I can find an error, either in the build log, or in the source code itself.
Any ideas?



