From: Matt Arnold [marnold@motu.com]
Sent: Tuesday, January 18, 2000 2:58 PM
To: ntdev@atria.com
Subject: Re: [ntdev] _declspec( dllexport ) and _declspec( dllimport )

From: Maxim S. Shatskih
Sent: Tuesday, January 18, 2000 5:44 AM

>
>
> It is 100% impossible for call a usermode DLL from the kernel-mode driver.
> Write a kernel-mode DLL (EXPORT_DRIVER) instead.

It certainly true that WDM/NT kernel-mode environment offers no built-in
facility for calling user-mode code directly or linking to user-mode DLLs
implicitly or explicitly.

However, before flatly claiming that this sort of thing is "impossible", you
may want to first read OSR's excellent NT Insider article, "Understanding
and Using Execution Context in NT Drivers"
(http://www.osr.com/insider/1996/context/context.htm).  Specifically, see
the section titled "Take It To The Limit".


Regards,

Matt Arnold
Professional Music Products
Mark of the Unicorn, Inc.
http://www.motu.com

To obtain my real address, please replace "biteme" with "motu".  My use of a
fake address is an anti-spam tactic.  Sorry for the inconvenience.



 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[ To unsubscribe, send email to ntdev-request@atria.com with body
UNSUBSCRIBE (the subject is ignored). ]
