Tungaalper
asked on
I can not define any variabe in the ddk samlpe
when I try to define variable in samples of ddk compiler gives this error :
1>c:\winddk\7600.16385.1\s rc\print\o emdll\wate rmarkuni\w markui\wma rkui.cpp(1 37)
: error C2220: warning treated as error - no 'object' file generated
even I try to define just " int a = 5;" compiler gives this error.
is there anybody know why
1>c:\winddk\7600.16385.1\s
: error C2220: warning treated as error - no 'object' file generated
even I try to define just " int a = 5;" compiler gives this error.
is there anybody know why
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
aa
ASKER
I forgot the use variable
ASKER
I am sending code in which I just add "LPDWORD lpSize ;" statament.
compiler says
Compiling - watermarkuni\wmarkui\wmark
1>c:\winddk\7600.16385.1\s
: error C2220: warning treated as error - no 'object' file generated
Linking Executable - watermarkuni\wmarkui\water
386\wmarkuniui.dll
1>link : error LNK1181: cannot open input file 'c:\winddk\7600.16385.1\sr
\oemdll\watermarkuni\wmark
BUILD: Linking for c:\winddk\7600.16385.1\src
directory
_NT_TARGET_VERSION SET TO WINXP
BUILD: Finish time: Mon Feb 21 09:41:22 2011
BUILD: Done
wmarkui.cpp(139) is exactly where I put statement.
Open in new window