Original Post
Hello
I was working on my first DX (DX version 6, btw) program (cant call it a game yet hehe), and it was working fine. Then I turned computer off, and came back a couple hours later, changed a couple lines on the code (nothing big, like declaring a couple globals and retrieving the screen width/height with GetSystemMetrics and saving them to those vars), compiled it and it was working. Then when Linking I got the error :
error LNK2001: unresolved external symbol _IID_IDirectDraw4
If I change the QueryInterface to IID_IDirectDraw (without the 4) it will give the same error (except it will change to _IID_IDirectDraw), so that isnt a mixed-version error, probably.
Oh, and I even copied one of DD SDK examples source entirely and pasted over mine, then changed a couple things (like removed the #include "resource.h" and made the properly changes on code to not load stuff from it), and it will compile with no errors, and give the same error on Linking.
The weird thing is that it was working today. And suddendly isnt anymore =/
The ddraw.lib is still there, so is the ddraw.h. And they arent corrupted.
Thanks a lot for your time.
Cya,
-RoTTer