What is the format to export some standard interface/API i..

G

Guest

Guest
Archived from groups: microsoft.public.win32.programmer.kernel,microsoft.public.windowsnt.misc,microsoft.public.vb.winapi,microsoft.public.vc.atl,microsoft.public.vc.mfcole (More info?)

Hi,
I want a exe application to run as a NT service, what is the format
that this service can export some standard interface/API?

If other applications want to call functions in a .exe NT service,
what type of communications can I use, passing value or IPC or RPC or
winsock?

Anybody can guide or point me to appropriate resource is very
appreciated.


jzhang
 
G

Guest

Guest
Archived from groups: microsoft.public.win32.programmer.kernel,microsoft.public.windowsnt.misc,microsoft.public.vb.winapi,microsoft.public.vc.atl,microsoft.public.vc.mfcole (More info?)

RPC or COM (which would most likely use RPC under the covers) is the way to
go. Start with an IDL file and go from there.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"jzhang" <james.zhang@primonics.com> wrote in message
news:4e353109.0406151224.c3a5556@posting.google.com...
> Hi,
> I want a exe application to run as a NT service, what is the format
> that this service can export some standard interface/API?
>
> If other applications want to call functions in a .exe NT service,
> what type of communications can I use, passing value or IPC or RPC or
> winsock?
>
> Anybody can guide or point me to appropriate resource is very
> appreciated.
>
>
> jzhang