Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stato10

    DialogBox Function not working Please Help!!!

    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...
  2. stato10

    Joystick code won't compile

    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...
  3. stato10

    DialogBox Function not working Please Help!!!

    the code is from #define STRICT #define DIRECTINPUT_VERSION 0x0800 #include <windows.h> #include <commctrl.h> #include <basetsd.h> #include <dinput.h> #include "resource.h" #include "zserial.h" #include <string> //Variables int CommPort = 8, BaudRate = 38400; int range = 2, HornValue =...
  4. stato10

    DialogBox Function not working Please Help!!!

    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...
  5. stato10

    Joystick code won't compile

    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...
  6. stato10

    Need HELP DialogBox Function Not working!!!!!!!!!

    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...
  7. stato10

    Joystick code won't compile

    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...
  8. stato10

    MS Joystick control

    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??

Part and Inventory Search

Back
Top