The original piece of code is from a sample form microsft direct x 9.0 sdk they have an executable for it which obviously works but when i try and compile the code which comes with it, it doesnt. i though it must be to do with the dialog box which is created in the joystick.rc for some reason...
The thing is the code I have is from an example from microsoft directx 9.0 sdk and it has the built exe file which works and gives the code but for some reason when i try to compile it, it comes up with this error i think the problem lies now in the dialog box and relating the box to the code...
Hi please could anyone help with any suggestions I have a line of code which comes up with an error please could someone please tell me where I am going wrong
DialogBox( hInst, MAKEINTRESOURCE(IDD_JOYST_IMM), NULL, MainDlgProc );
the error which comes up is
C:\Program Files\Microsoft Visual...
Thanks so much michael just have one other error I dont know if you know whats wrong with this line of code
DialogBox( hInst, MAKEINTRESOURCE(IDD_JOYST_IMM), NULL, MainDlgProc );
this is in joystick.cpp
giving error
c:\program files\microsoft visual...
DialogBox( hInst, MAKEINTRESOURCE(IDD_JOYST_IMM), NULL, MainDlgProc );
for some reason this code wont compile and is doing my head in. the error I am getting is
C:\Program Files\Microsoft Visual Studio\MyProjects\BlueCar\Joystick.cpp(42) : error C2664: 'DialogBoxParamA' : cannot convert...
Hi I wondered if anyone could help I am trying to compile the following code but for some reason I am getting a number of errors which I dont understand
*************************************
Joystick.cpp
*************************************
#define STRICT
#define DIRECTINPUT_VERSION 0x0800...
Hi there Im doing a project using similar to that code to but what do I put in resources.h or how do I get microsoft visual c++ to automatically create it??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.