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*********
--------------------Configuration: ddk - Win32 Debug--------------------
Compiling...
test.cpp
G:\98DDK\inc\win98\inc16\prsht.h(45) : error C2239: unexpected token '*' following declaration of 'FAR'
G:\98DDK\inc\win98\inc16\prsht.h(45) : error C2059: syntax error : '*'
G:\98DDK\inc\win98\inc16\prsht.h(47) : error C2371: 'FAR' : redefinition; different basic types
G:\98DDK\inc\win98\inc16\prsht.h(47) : error C2239: unexpected token '*' following declaration of 'FAR'
G:\98DDK\inc\win98\inc16\prsht.h(47) : error C2059: syntax error : '*'
G:\98DDK\inc\win98\inc16\prsht.h(53) : error C2065: 'CALLBACK' : undeclared identifier
G:\98DDK\inc\win98\inc16\prsht.h(53) : error C2146: syntax error : missing ')' before identifier 'FAR'
......

ddk.exe - 102 error(s), 0 warning(s)


LVL 1
SmillyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KangaRooCommented:
Try a
  #define FAR
at the top of the file.
0
KangaRooCommented:
that is, before the #include!
0
SmillyAuthor Commented:
Hi KangaRoo,
No that doesn't help, I still get 102 errors...

Smilly
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

robert_marquardtCommented:
Try including <windows.h>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KangaRooCommented:
<blush>
0
SmillyAuthor Commented:
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....

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.