Sign in to follow this  

Touble building D3D sample in Visual C++

This topic is 4482 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hey all, I'm having trouble building the pick example from the SDK. after setting up the include and lib dirctories i get the following error messages when trying to build. C:\DXSDK\Samples\C++\common\src\d3dapp.cpp(832) : error C2065: 'ULongToHandle' : undeclared identifier C:\DXSDK\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,unsigned int,long)' None of the functions with this name in scope match the target type C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(498) : error C2065: 'ULongToPtr' : undeclared identifier C:\DXSDK\Samples\C++\Common\src\d3dsettings.cpp(671) : error C2065: 'UlongToPtr' : undeclared identifier have i forgotten to include a certain directory? any help would be great. Thx

Share this post


Link to post
Share on other sites
Are you using Visual C++ 6.0? If so, it's not compatible with any SDKs released after the December 2004 one. If you're using the December 2004 SDK or earlier with VC++ 6.0, make sure you have an up-to-date platform SDK. The February 2003 one will do.

Share this post


Link to post
Share on other sites

This topic is 4482 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this