Re: How to launch a user-mode COM server from Kernel mode driver

Wouldn’t it be easier to write a very simple service application that opens
the driver and sends an IOCTL to it that completes when the driver would
like the com server to start. The service would then start the com server.
Better yet, why not have the com server start automatically via the usual
mechanisms, and have it load and start the driver if it is not already
started?

Mark Roddy
Windows 2000/NT Consultant
Hollis Technology Solutions
www.hollistech.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of George Blat
Sent: Wednesday, January 10, 2001 5:52 PM
To: NT Developers Interest List
Subject: [ntdev] Re: How to launch a user-mode COM server from Kernel
mode driver

There is a call ZwOpenProcess() documented in Gary Nebett book.
There are some
examples that I believe can be adapted to kernel mode. Once started the
process itself
can initialize the COM environment.

George Blat

At 02:42 PM 1/10/01, you wrote:
>Hi All,
>I’ve been developing a kernel mode driver which start a user-mode COM
>server when the driver is loaded and share the data between the
driver and
>the COM server!
>
>Does anybody have any idea about this?
>
>Any suggestion is appriciated!
>
>Thanks!
>
>Eric
>
>—
>You are currently subscribed to ntdev as: xxxxx@brd.com
>To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>

George Blat
BRD Corp
8016 188th SW, Edmonds, WA 98026

phone: 425-775-7475
fax: 781-998-5940
mailto:xxxxx@brd.com
http://www.brd.com


You are currently subscribed to ntdev as: xxxxx@wattanuck.mv.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com