Just to be clear, win32k.lib does exist, but you still don’t want to do this
for reasons that were stated earlier.
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Joseph M. Newcomer
Sent: Thursday, October 14, 2010 11:05 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] exported symbols.
Just because it is exported does not mean that you can simply import it. To
import it, you have to have a .lib file created by the exporting module that
defines the symbol as an exported symbol. Lacking the .lib file to create
the import record in the executable, you will get the unresolved symbol
error, because, indeed, the symbol is unresolved.
joe
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Wednesday, October 13, 2010 6:54 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] exported symbols.
Hi everyone!
Newbie need a help so if you could possibly help I would be very grateful.
Recently I was trying to import W32pServiceTable into my driver, as I
disassembled wink32.sys i saw that W32pServiceTable is public and
exported(win7 x64). So I did something like that:
__declspec(dllimport) PDWORD W32pServiceTable; but while linking i got
error: unresolved symbol.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
–
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer