RE: Service Communication

One of the easiest methods of client/service communication is to use named
pipes. Alternatively, you could make the service a COM-server which is more
powerful but much more complex.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Bhushan Joshi [mailto:xxxxx@yahoo.com]
Sent: Wednesday, August 01, 2001 7:23 AM
To: NT Developers Interest List
Subject: [ntdev] Re: ntdev digest: July 31, 2001

I am developing the service for the nt platform ,
my problem is how to make the client application to
post a message to the service so that it can be
handled consecutively?i am using the default
getmessage method provided by the framework,
In anticipation of ur suggetions,

Bhushan


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

Hello,

Yes, Named pipes would be be nice. As another option, if you don’t want
to create a small protocol for reading/writing data over the pipe and
would like to access it directly you may also want to look into memory
mapped files. Note however you will have to synchronize reads and writes
to the memory mapped data between processes.

Named pipes or COM may give you a cleaner design, depends on your
requirement.

Also refer to “Programming Applications for Microsoft Windows, Fourth
edition” by Jeffrey Richter for more info on all these IPC methods
except com.

Regards

  • asit

-----Original Message-----
From: Paul Bunn [mailto:xxxxx@UltraBac.com]
Sent: Wednesday, August 01, 2001 8:17 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Service Communication

One of the easiest methods of client/service communication is to use
named
pipes. Alternatively, you could make the service a COM-server which is
more
powerful but much more complex.

Regards,

Paul Bunn, UltraBac.com, 425-644-6000
Microsoft MVP - WindowsNT/2000
http://www.ultrabac.com

-----Original Message-----
From: Bhushan Joshi [mailto:xxxxx@yahoo.com]
Sent: Wednesday, August 01, 2001 7:23 AM
To: NT Developers Interest List
Subject: [ntdev] Re: ntdev digest: July 31, 2001

I am developing the service for the nt platform ,
my problem is how to make the client application to
post a message to the service so that it can be
handled consecutively?i am using the default
getmessage method provided by the framework,
In anticipation of ur suggetions,

Bhushan


You are currently subscribed to ntdev as: xxxxx@greenborder.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

Using ATL and wizards embedded to the MSVC IDE it is next to trivial, though
the underlying concept is a bit hard for a novice.
I would recommend Kraig Brokschmidt’s “Inside COM” book by Microsoft Press.

In fact, going in for user mode Win32 programming without COM knowlegde is
nearly impossible in our days. Even the driver installation modules use COM
(INetCfg etc).

Max

----- Original Message -----
From: “Paul Bunn”
To: “NT Developers Interest List”
Sent: Wednesday, August 01, 2001 7:16 PM
Subject: [ntdev] RE: Service Communication

> One of the easiest methods of client/service communication is to use named
> pipes. Alternatively, you could make the service a COM-server which is
more
> powerful but much more complex.
>
> Regards,
>
> Paul Bunn, UltraBac.com, 425-644-6000
> Microsoft MVP - WindowsNT/2000
> http://www.ultrabac.com
>
>
> -----Original Message-----
> From: Bhushan Joshi [mailto:xxxxx@yahoo.com]
> Sent: Wednesday, August 01, 2001 7:23 AM
> To: NT Developers Interest List
> Subject: [ntdev] Re: ntdev digest: July 31, 2001
>
> I am developing the service for the nt platform ,
> my problem is how to make the client application to
> post a message to the service so that it can be
> handled consecutively?i am using the default
> getmessage method provided by the framework,
> In anticipation of ur suggetions,
>
> Bhushan
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.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