I’m trying to build samples from the IFS and getting various compile
errors. Example errors:
- InterlockedCompareExchange is used in different ways in the samples:
InterlockedCompareExchange( LONG *, LONG, LONG)
and
InterlockedCompareExchange( PVOID *, PVOID, PVOID)
The compiler is getting the latter definition from ntifs.h and treating
the first use as an error. (I had to locate ntifs.h in one place and
move it to \filesys\inc to get past a missing #include file error.)
The winbase.h and wdm.h files also define this symbol inside #if to be
processor specific. The DDK help documents the function as accepting
long args.
-
When I build fastfat, I get lots of error messages relating to type
conversions and such. Looks like sloppy coding that VC++ 4.2 accepted
without an error and VC++ 6 won’t accept. -
I had to locate some missing files and move some.
I’m using VC++ 6 and think I have the right setup. I’m compiling from a
W2000 DDK checked build window. What’s going on here?
Bill Hunt
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com