the handle is invalid message you are getting because DrvEnablePdev
couldn’t be called or didn’t fill the structures (devinfo,gdiinfo)
structures properly,etc.
thanks
vipin
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Robins, Scott
Sent: Thursday, July 29, 2004 5:41 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Linking user level dll with kernel mode driver.
I managed to link kernel entry points into a usermode printer driver.
When installing (or attempting to print) I got a message box (don’t know
from whom) that said “The handle is invalid”. That’s as useful a
message as can be expected I think.
ScottR
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Asa Yeamans
Sent: Wednesday, July 28, 2004 4:13 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Linking user level dll with kernel mode driver.
just out of sheer, morbid curiosity, what would happen if a win32
usermode program, tried
to use an export from NTOSKRNL.exe. would it even link or would link
whine about something???
asa
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Gary G. Little
Sent: Wednesday, July 28, 2004 1:49 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] Linking user level dll with kernel mode driver.
Sheesh … you only link KERNEL with KERNEL. You CANNOT link KERNEL with
USER. You do NOT link USER libs into KERNEL components and you do NOT
link KERNEL libs into USER components.
During what part of Device Driver 101 did you two go to the toilette?
–
Gary G. Little
Seagate Technologies, LLC
“yatindra vaishnav” wrote in message
news:xxxxx@ntdev…
Hi,
no need to put dlls just libs are enuff. but why do you need these
wiered things?
luck,
yogi
>From: “A.Ilamparithi”
>Reply-To: “Windows System Software Devs Interest List”
>To: “Windows System Software Devs Interest List”
>Subject: [ntdev] Linking user level dll with kernel mode driver.
>Date: Thu, 22 Jul 2004 22:16:31 -0700
>
>Hi,
>
>How to link a user level library in the kernel mode driver?
>
>I had placed all the Dlls and the lib files in the LIB includes path.
>(DDK_LIB_PATH).
>
>I also tried with TARGETLIBS.
>
>But, Iam always getting Linker Error. LNK2001.(unresolved external
symbol).
>
>Thanks in Advance,
>
>Regs,
>A.Ilamparithi.
>Senior Software Engineer,
>QualSoft India.
>Bangalore,
>India.
>
>
>
>
>
>
>
>
>
>—
>Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
_____
Arrange your love marriage. On Shaadi.com.
http:
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@rivin.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@usa.xerox.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to xxxxx@lists.osr.com</http:>