Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > WINDOWS PROGRAMMING (NNTP) > Switched to new DDK 3790.1830 and got unresolved external symbol @__security_check_cookie@4 :-(
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 11th July 14:28
denis j glotov
External User
 
Posts: 1
Default Switched to new DDK 3790.1830 and got unresolved external symbol @__security_check_cookie@4 :-(


Hello guys!

Just downloaded and installed DDK 4790.1830 from microsoft.com site and
my driver failed to link:
wdmsec.lib(ppregstate.obj) : error LNK2019: unresolved external symbol
@__security_check_cookie@4 referenced in function
_PiRegStateOpenClassKey@20
wdmsec.lib(cmregutil.obj) : error LNK2001: unresolved external symbol
@__security_check_cookie@4

I use wdmsec.lib just as I use IoCreateDeviceSecure. Should I stop
using it?

I am using native (DDKs) cl.exe and link.exe.
Under previous DDK (3790.1069) everything was alright.

Thank you,
Denis


// --- compilation snapshot follows ---

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.4035 for
80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
cl /Od /Oi /G7 /I "../common" /I "X:\user\ODF\inc" /I
"D:\Tools\WINDDK\3790.1830\inc\ddk\wdm\wxp" /I
"D:\Tools\WINDDK\3790.1830\inc\ddk\wxp" /I
"D:\Tools\WINDDK\3790.1830\inc\wxp" /I
"D:\Tools\WINDDK\3790.1830\inc\crt" /D "_DEBUG" /D "_WINDLL" /FD /Zp8
/Fo"..\_obj\Debug/" /Fd"..\_obj\Debug\KeyFixer.pdb" /FR"..\_obj\Debug/"
/W3 /c /Zi /Gz /FI "defs.h" /Zel /Gi- /Gm- -cbstring /QIfdiv- /GR-
/GX- /Oy-
.\wdmDevice.cpp
.\userDevice.cpp
.\keyboard.cpp
.\driver.cpp
.\dataFeeder.cpp
.\buffer.cpp
wdmDevice.cpp
userDevice.cpp
keyboard.cpp
driver.cpp
dataFeeder.cpp
buffer.cpp
Generating Code...
Compiling resources...
Linking...
Microsoft (R) Incremental Linker Version 7.10.4035
Copyright (C) Microsoft Corporation. All rights reserved.
"/OUT:..\_bin\Debug/KeyFixer.sys" /VERSION:5.1 /INCREMENTAL:NO
"/LIBPATH:X:\user\ODF\_bin\Debug"
"/LIBPATH:\Tools\WINDDK\3790.1830\lib\wxp\i386" /DLL /NODEFAULTLIB
/DEBUG "/PDB:..\_bin\Debug\KeyFixer.pdb"
"/MAP:..\_obj\Debug\KeyFixer.map" /STACK:262144,4096 /OPT:REF /OPT:ICF
"/ENTRYriverEntry" "/BASE:0x10000" "/MERGE:_TEXT=.text" /MACHINE:X86
-driver -MERGE:_PAGE=PAGE -align:0x80 -osversion:5.1
-subsystem:native,5.01 -debugtype:cv -FULLBUILD
/IGNORE:4198,4010,4037,4039,4065,4070,4078,4087,408 9,4221,4210
/SECTION:INIT,d ntoskrnl.lib hal.lib ndis.lib wmilib.lib wdmsec.lib
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib
advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib
\User\KeyFixer\_obj\Debug\buffer.obj
\User\KeyFixer\_obj\Debug\dataFeeder.obj
\User\KeyFixer\_obj\Debug\driver.obj
\User\KeyFixer\_obj\Debug\keyboard.obj
\User\KeyFixer\_obj\Debug\userDevice.obj
\User\KeyFixer\_obj\Debug\wdmDevice.obj
\User\KeyFixer\_obj\Debug\resources.res
wdmsec.lib(ppregstate.obj) : error LNK2019: unresolved external symbol
@__security_check_cookie@4 referenced in function
_PiRegStateOpenClassKey@20
wdmsec.lib(cmregutil.obj) : error LNK2001: unresolved external symbol
@__security_check_cookie@4
...\_bin\Debug/KeyFixer.sys : fatal error LNK1120: 1 unresolved
externals
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666