Ok, I think this is starting to sink in a little.
I'm using the DirectInput8Create function:
Code:
int My_Direct_Input (void)
{
FILE *fp = fopen ("initialize_report.txt", "a");
if (!(DirectInput8Create (hInstance, DIRECTINPUT_VERSION, IID_IDirectInput8, (void **) &m_pDirectInput, NULL)))
{
fprintf (fp, "\n\nDirectInput initialization: FAILED");
Direct_flag = 0;
}
else
{
(insert initialization code here)
}
}
The error I'm getting is:
'DirectInput8Create' undefined; assuming extern returning int
I have dinput.h in my includes and dinput.lib in my library modules, so I'm really not sure why this is undefined.
Does anyone know why I'm getting this error?
mw