DX Problems now :(
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
Dustin DavisOwner / CEOProgrammers Unlimitedwww.Programmers-Unlimited.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement