Missing dinput.h !
No. that is too big (impossible to download)!
I am porting my staff from Delphi to cpp ...
In Delphi i had a header file only - so i know that
there is nothing in it that needs more that just some
small header files ...
(i could use Delphi DI header - but i REALLY do not want this mess ...)
I have found a ~1MB zip that contains dinput.h, but i get a
error by linking :
Error: Error: Unresolved external 'C_DFDIKEYBOARD' referenced from C:\APPLE\BORLAND\BC5\PROJECT\CLIMB\TEMP\CLIMB0.OBJ
How to fix that!?
NB! Is somewhere a forum related to c problems ...
Edited by - Neetud on August 8, 2001 7:26:13 PM
I am porting my staff from Delphi to cpp ...
In Delphi i had a header file only - so i know that
there is nothing in it that needs more that just some
small header files ...
(i could use Delphi DI header - but i REALLY do not want this mess ...)
I have found a ~1MB zip that contains dinput.h, but i get a
error by linking :
Error: Error: Unresolved external 'C_DFDIKEYBOARD' referenced from C:\APPLE\BORLAND\BC5\PROJECT\CLIMB\TEMP\CLIMB0.OBJ
How to fix that!?
NB! Is somewhere a forum related to c problems ...
Edited by - Neetud on August 8, 2001 7:26:13 PM
Sorry, but you do need more than dinput.h. Header files are just declarations to the compiler that certain functions exist. You still need to have those functions fully defined. In the case of DirectX, this means having the relevant .lib files. You need those libs in order to proceed (that is what the Unresolved External is about.) You will need to get the DirectX SDK, or at least a cut down version of it, if you can find it.
>You will need to get the DirectX SDK, or at least a cut down >version of it ...
The one i have currently is from NeHe tutorial (23).
As the missing external is a constant i vas able to create
it - and now it works, but still ...
How can i know what lib is missing ...
currently i have add dinput.lib and (just in case someone
needs it)dxguid.lib
#include objbase.h
#include initguid.h // to solve other missing externals.
#include dinput.h
C_DFDIKEYBOARD - is a const. Why the hell is it not defined in
dinput.h as others!!!
Edited by - Neetud on August 9, 2001 11:23:52 AM
The one i have currently is from NeHe tutorial (23).
As the missing external is a constant i vas able to create
it - and now it works, but still ...
How can i know what lib is missing ...
currently i have add dinput.lib and (just in case someone
needs it)dxguid.lib
#include objbase.h
#include initguid.h // to solve other missing externals.
#include dinput.h
C_DFDIKEYBOARD - is a const. Why the hell is it not defined in
dinput.h as others!!!
Edited by - Neetud on August 9, 2001 11:23:52 AM
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement