Any ideas? ..guess i should post some source
Code: Select all
if not exist "/" mkdir ""
cl.exe /nologo /MT /W3 /GX /O2 /I "..\dxsdk81 OUTDIR=..\Release\include"
/D "_USRDLL" /D "EQLIB_EXPORTS" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS"
/D "CINTERFACE" /Fp".\Release\eqlib.pch" /YX /Fo".\Release\\" /Fd".\Release\\"
/FD /c /Zi /Zp1 "EQLib.cpp"
EQLib.cpp
EQLib.h(57) : error C2143: syntax error : missing ';' before '*'
EQLib.h(57) : error C2501: 'IDirectInputDevice8A' : missing storage-class or typ
e specifiers
EQLib.h(57) : error C2501: 'EQADDR_DIKEYBOARD' : missing storage-class or type s
pecifiers
EQLib.h(58) : error C2143: syntax error : missing ';' before '*'
EQLib.h(58) : error C2501: 'IDirectInputDevice8A' : missing storage-class or typ
e specifiers
EQLib.h(58) : error C2086: 'IDirectInputDevice8A' : redefinition
EQLib.h(58) : error C2501: 'EQADDR_DIMOUSE' : missing storage-class or type spec
ifiers
EQLib.cpp(757) : error C2199: syntax error : found 'HRESULT (' at global scope (
was a declaration intended?)
EQLib.cpp(759) : error C2065: 'This' : undeclared identifier
EQLib.cpp(759) : error C2275: 'DWORD' : illegal use of this type as an expressio
n
C:\Program Files\Microsoft Visual Studio\VC98\include\windef.h(141) : se
e declaration of 'DWORD'
EQLib.cpp(759) : error C2146: syntax error : missing ')' before identifier 'cbOb
jectData'
EQLib.cpp(759) : warning C4229: anachronism used : modifiers on data are ignored
EQLib.cpp(759) : error C2078: too many initializers
EQLib.cpp(759) : error C2275: 'DWORD' : illegal use of this type as an expressio
n
C:\Program Files\Microsoft Visual Studio\VC98\include\windef.h(141) : se
e declaration of 'DWORD'
EQLib.cpp(759) : error C2059: syntax error : ')'
EQLib.cpp(760) : error C2143: syntax error : missing ';' before '{'
EQLib.cpp(760) : error C2447: missing function header (old-style formal list?)
EQLib.cpp(1123) : error C2059: syntax error : ')'
EQLib.cpp(1124) : error C2059: syntax error : ')'
EQLib.cpp(1399) : error C2065: 'IDIDevice' : undeclared identifier
EQLib.cpp(1399) : error C2106: '=' : left operand must be l-value
EQLib.cpp(1402) : error C2440: '=' : cannot convert from 'int *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-
style cast
EQLib.cpp(1406) : error C2227: left of '->lpVtbl' must point to class/struct/uni
on
EQLib.cpp(1406) : error C2227: left of '->GetDeviceData' must point to class/str
uct/union
EQLib.cpp(1411) : error C2065: 'DInputDataTrampoline' : undeclared identifier
EQLib.cpp(1411) : error C2227: left of '->lpVtbl' must point to class/struct/uni
on
EQLib.cpp(1411) : error C2227: left of '->GetDeviceData' must point to class/str
uct/union
NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'
Any help would be appreciated
Draekz

