Click here to Skip to main content
15,923,051 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hyperlinks from database..?? Pin
Ryan Binns17-Jul-03 3:13
Ryan Binns17-Jul-03 3:13 
GeneralCan't get remove to work for me properly.. Pin
IrishSonic17-Jul-03 1:15
IrishSonic17-Jul-03 1:15 
GeneralRe: Can't get remove to work for me properly.. Pin
Cedric Moonen17-Jul-03 1:20
Cedric Moonen17-Jul-03 1:20 
GeneralMAPI problem!!! help Pin
xxhimanshu17-Jul-03 1:07
xxhimanshu17-Jul-03 1:07 
GeneralMAPI problem!!! help Pin
xxhimanshu17-Jul-03 1:07
xxhimanshu17-Jul-03 1:07 
Generalout-of-class definition of members of template classes Pin
roel_17-Jul-03 1:00
roel_17-Jul-03 1:00 
GeneralRe: out-of-class definition of members of template classes Pin
Mike Dimmick17-Jul-03 2:37
Mike Dimmick17-Jul-03 2:37 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 4:03
roel_17-Jul-03 4:03 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 4:04
roel_17-Jul-03 4:04 
GeneralRe: out-of-class definition of members of template classes Pin
Mike Dimmick17-Jul-03 4:19
Mike Dimmick17-Jul-03 4:19 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 5:51
roel_17-Jul-03 5:51 
GeneralRe: out-of-class definition of members of template classes Pin
Andrew Walker17-Jul-03 4:22
Andrew Walker17-Jul-03 4:22 
GeneralRe: out-of-class definition of members of template classes Pin
roel_17-Jul-03 5:52
roel_17-Jul-03 5:52 
GeneralCode for CMD.exe Pin
Saty17-Jul-03 0:42
Saty17-Jul-03 0:42 
GeneralRe: Code for CMD.exe Pin
Anthony_Yio18-Jul-03 1:09
Anthony_Yio18-Jul-03 1:09 
GeneralRe: Code for CMD.exe Pin
Mark Basedow18-Jul-03 14:27
Mark Basedow18-Jul-03 14:27 
Questionhow to take the result of a select query into a variable? Pin
vcseeker17-Jul-03 0:26
vcseeker17-Jul-03 0:26 
AnswerRe: how to take the result of a select query into a variable? Pin
Daniel Turini17-Jul-03 0:40
Daniel Turini17-Jul-03 0:40 
GeneralRe: how to take the result of a select query into a variable? Pin
vcseeker17-Jul-03 1:07
vcseeker17-Jul-03 1:07 
AnswerRe: how to take the result of a select query into a variable? Pin
Cedric Moonen17-Jul-03 1:16
Cedric Moonen17-Jul-03 1:16 
GeneralRe: how to take the result of a select query into a variable? Pin
vcseeker17-Jul-03 2:18
vcseeker17-Jul-03 2:18 
QuestionHow to set IP Address of any NIC? Pin
Hashim Saleem16-Jul-03 23:18
Hashim Saleem16-Jul-03 23:18 
GeneralWin2k DDK Pin
anshumanshinde16-Jul-03 23:03
anshumanshinde16-Jul-03 23:03 
hi!

i want to develop file filters for win2k.
i have installed win2k ddk.
i am using visual c++6.0 Enterprise Edition

i tried to run samples provided with the ddk.
/src/storage/filters/diskperf
when i compiled it i got 102 erros,just pasting a couple:

c:\ntddk\inc\ddk\ntddk.h(370) : error C2061: syntax error : identifier 'PULONG_PTR'
c:\ntddk\inc\ddk\ntddk.h(371) : error C2059: syntax error : '}'
c:\ntddk\inc\ddk\ntddk.h(824) : error C2061: syntax error : identifier 'KSPIN_LOCK'
c:\ntddk\inc\ddk\ntddk.h(824) : error C2059: syntax error : ';'
c:\ntddk\inc\ddk\ntddk.h(825) : error C2143: syntax error : missing '{' before '*'
c:\ntddk\inc\ddk\ntddk.h(3654) : error C2061: syntax error : identifier 'ULONG_PTR'

so i traced back the definitions of 'PULONG_PTR',
'ULONG_PTR' etc.. those are defined in basetsd.h
basetsd.h is included in ntdef.h which is inturn included in ntddk.h, for which we are getting the errors.
there are 2 versions of basetsd.h on my system
one provided by ms-visual studio and the other is provided by win2k ddk.
the basetsd.h provided by win2k ddk has the definitions of the 'PULONG_PTR','ULONG_PTR' etc..
while compiling the compiler is taking basetsd.h provided by ms-visual studio and not the one provided by win2kddk.

so i changed the path in #include for basetsd.h in ntdef.h
so that while compling ddk's verion of basetsd.h is used.

i complied and it worked 102 errors were cut down to 3 following ones:
c:\ntddk\inc\ddk\ntddk.h(9106) : error C2061: syntax error : identifier 'PCONTEXT'
c:\ntddk\inc\ddk\ntddk.h(9107) : error C2059: syntax error : '}'
c:\ntddk\inc\ddk\ntddk.h(10347) : fatal error C1189: #error : "Target architecture not defined"


now i dont know whats the problem.
the ddk is not compatilbe with vc complier or i cannot guess.

so please enlighten me with the above said problem

regards
anshu

GeneralRe: Win2k DDK Pin
Mike Dimmick16-Jul-03 23:27
Mike Dimmick16-Jul-03 23:27 
GeneralRe: Win2k DDK Pin
Abbas_Riazi17-Jul-03 0:23
professionalAbbas_Riazi17-Jul-03 0:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.