• Advertisement

Archived

This topic is now archived and is closed to further replies.

directinput problem

This topic is 5899 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

I use vc6 and directx8 to compile the directinput program. i have configured the lib and include dir to directx8 dir. but it caused the following problem: F:\c\Source\T3dchap09\demo9_1.cpp(117) : warning C4101: ''buffer'' : unreferenced local variable F:\c\Source\T3dchap09\demo9_1.cpp(171) : warning C4101: ''hdc'' : unreferenced local variable F:\c\Source\T3dchap09\demo9_1.cpp(258) : error C2065: ''DirectInputCreate'' : undeclared identifier Error executing cl.exe. demo9_1.obj - 1 error(s), 2 warning(s) any one can help me?

Share this post


Link to post
Share on other sites
Advertisement
... check your sdk. According to mine the command is DirectInput8Create... not DirectInputCreate.

Share this post


Link to post
Share on other sites
The other two are performance optimisation or bug correction warnings. They are telling you that you have declared variables, but not used them.

Share this post


Link to post
Share on other sites

  • Advertisement