Re: Using COM OutProc server on WinCE
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 Oct 2006 09:42:45 -0700
Windows CE 5.0 (general embedded) actually does have an out-of-proc COM
Server (you'd need SYSGEN_DCOM, see
http://blogs.msdn.com/cenet/archive/2005/04/27/412600.aspx about adding
components to a CE device). You're right though on WM5 you wouldn't have
out of proc COM, so best not to mess with it.
I have a blog about different IPC mechanisms on CE -
http://blogs.msdn.com/cenet/archive/2005/07/13/438424.aspx. In this case,
if you have a clear differentiation between a client & server piece to this
(eg part A always calls part B), then you could potentially move the server
part into services.exe where you can create a special fcn to receive calls
like this, this is in fact how we on CE port RPC servers -> CE. White paper
on services at http://blogs.msdn.com/cenet/archive/2004/12/15/316007.aspx.
(My long-term goal is to be able to answer any newsgroup questions via blog
links :)).
For your case, have you considered a bigger rearchitecture and putting both
the executables into one giant executable so you can just use in-proc COM?
This would be easiest, though don't know if architecture lends itself to
that or no.
--
John Spaith
Development Lead, Windows CE
Microsoft Corporation
Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.
"aguliani" <aguliani@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D67B002C-0452-4B25-A002-EB9044A99924@xxxxxxxxxxxxxxxx
I have an application that uses COM OutProc server and I have to port it to
WinCE 5.0 and WinMobile 5.0 and I found out that COM outproc server is not
supported on WinCE 5.0.
One option for me is to remove COM and implement my own RPC server and
client but this might take so is there any way to make existing code work
on
winCE. I am also using Monikers in my code.
aguliani
.
- Follow-Ups:
- Re: Using COM OutProc server on WinCE
- From: aguliani
- Re: Using COM OutProc server on WinCE
- Prev by Date: Capture Phone Number in WM5
- Next by Date: Re: Suggested Project Type for Building ISAPI Extensions for WinCE in
- Previous by thread: Capture Phone Number in WM5
- Next by thread: Re: Using COM OutProc server on WinCE
- Index(es):
Relevant Pages
|