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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DirectInput/DirectDraw GUID Definition trouble

Status
Not open for further replies.

GameDude

Programmer
Jun 22, 2004
23
0
0
US
I have been using the DirectInput libraries recently to get hold of the keyboard. However, I haven't been able to do so much as initialize an instance of the IDirectInput class due to the face that my compiler keeps complaining that the IID_IDirectInput8A GUID definition is not defined in the header file I am using. The exact error says something like:

"Undefined symbol IID_IDirectInput8A ... "

I have located the definition in the header file and have identified it as being defined using the DEFINE_GUID macro. Eithor this macro is corrupt, or my compiler has a problem with it.

I am using Metrowerks Codewarrior. If anyone has any suggestions or explainations they would be appreciated.
 
Try these instead of IID_IDirectInput8A:

IID_IDirectInput8
__uuidof(IDirectInput8)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top