Smilly
asked on
DDK
I've just dwl Win98DDK, and installed it, but when I try it with VC++ 5.0, I get a hole lot of errors....What am I doing wrong???
I have included the setupx.lib, to my project, and the directories structure points to the DDK.
test.cpp
#include <setupx.h>
void main()
{
}
************COMPILE******* **
--------------------Config uration: ddk - Win32 Debug--------------------
Compiling...
test.cpp
G:\98DDK\inc\win98\inc16\p rsht.h(45) : error C2239: unexpected token '*' following declaration of 'FAR'
G:\98DDK\inc\win98\inc16\p rsht.h(45) : error C2059: syntax error : '*'
G:\98DDK\inc\win98\inc16\p rsht.h(47) : error C2371: 'FAR' : redefinition; different basic types
G:\98DDK\inc\win98\inc16\p rsht.h(47) : error C2239: unexpected token '*' following declaration of 'FAR'
G:\98DDK\inc\win98\inc16\p rsht.h(47) : error C2059: syntax error : '*'
G:\98DDK\inc\win98\inc16\p rsht.h(53) : error C2065: 'CALLBACK' : undeclared identifier
G:\98DDK\inc\win98\inc16\p rsht.h(53) : error C2146: syntax error : missing ')' before identifier 'FAR'
......
ddk.exe - 102 error(s), 0 warning(s)
I have included the setupx.lib, to my project, and the directories structure points to the DDK.
test.cpp
#include <setupx.h>
void main()
{
}
************COMPILE*******
--------------------Config
Compiling...
test.cpp
G:\98DDK\inc\win98\inc16\p
G:\98DDK\inc\win98\inc16\p
G:\98DDK\inc\win98\inc16\p
G:\98DDK\inc\win98\inc16\p
G:\98DDK\inc\win98\inc16\p
G:\98DDK\inc\win98\inc16\p
G:\98DDK\inc\win98\inc16\p
......
ddk.exe - 102 error(s), 0 warning(s)
that is, before the #include!
ASKER
Hi KangaRoo,
No that doesn't help, I still get 102 errors...
Smilly
No that doesn't help, I still get 102 errors...
Smilly
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<blush>
ASKER
Okay, major error, Robert was right it's was that I had switch around the include path, so it took the msdk (windows.h) instead of msddk (windows.h).........Stupid ....
#define FAR
at the top of the file.