Originally Posted by
Shakti
Nah your installation probably got corrupt or something. I suggest you uninstall the sdk completely, including deleting the install dir (something the uninstaller probably wont do for you). I got the sdk from
Download details: DirectX SDK - (February 2010)
So might want to try there. Since you seem to have a corrupt installation i would do a complete reinstall because you might also miss something else important.
I did it. I actually used DirectX 9 SDK this time... If I compile it with VS 2010 I get the same ........... With Visual C++ 6.0 (which easily adds the DirectX includes to the directories), it does not give me that any more... but still, I got another crazy stupid errors right from their own samples folder!! It drives me nuts... I am sick of all those stupid programmers out there, making windows crap without testing it.. Damn it. I don't know what to do.
I do thank you for your effort, but this has to be my noob mind as well. I can't smash my hands anymore.
Edit: Most of the programs from bin work. And they are really great. My only 4 errors now are:
Code:
H:\Work\Microsoft DirectX SDK\Samples\C++\Common\src\d3dsettings.cpp(276) : error C2664: 'DialogBoxParamA' : cannot convert parameter 4 from 'long (struct HWND__ *,unsigned int,unsigned int,long)' to 'int (__stdcall *)(struct HWND__ *,unsigned int,u
nsigned int,long)'
None of the functions with this name in scope match the target type
H:\Work\Microsoft DirectX SDK\Samples\C++\Common\src\d3dsettings.cpp(498) : error C2065: 'ULongToPtr' : undeclared identifier
H:\Work\Microsoft DirectX SDK\Samples\C++\Common\src\d3dsettings.cpp(671) : error C2065: 'UlongToPtr' : undeclared identifier
But at least I don't get that thing anymore. I never thought of reinstalling. Thank you very much. It seems that DirectX 10 does not work with XP at all.