Archived

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

titan2782

DX Problems now :(

Recommended Posts

I can run my program, it compiles fine, but when it wont initialize! It errors out trying to initialize DX if ( DirectInputCreateEx( hInstance, // Window Instance DIRECTINPUT_VERSION, // Direct Input Version IID_IDirectInput7, // Version 7 (void**)&g_DI, // Direct Input NULL ) ) // NULL Parameter { MessageBox(NULL,"Couldnt initialize DI","",MB_OK); return(false); // Couldn''t Initialize Direct Input } errors out on this if statement in the DI_Init() function y? I am using the dx7 lib files and header files, but i have dx8.1 installed on my system. Dustin Davis

Share this post


Link to post
Share on other sites
Have you actually installed the Dx7.lib and header files into your compiler as mentioned in the DirectInput Tutorial?

Using DX8 will not make a difference as DX is designed to emulate past versions.

Share this post


Link to post
Share on other sites