I don't know COM, but it looks like I'm about to learn it. Is it
possible to make an interprocess call to the IReplNotify instance
stored in my service provider to call OnItemNotify(). Has anyone out
there attempted this and can you explain how to do so?

Re: Interprocess access to IReplNotify by John

John
Fri Oct 20 10:44:01 CDT 2006

No, this isn't possible on Windows Mobile. Windows Mobile COM only supports
in-proc calls (out-of-proc COM is available only on certain general embedded
releases, reason it's not on WM is that it would add like 500KB to the ROM
size). To get at this whatever you're trying to do, whoever implemented the
other process will have had to have created some other interprocess
communication mechanism like windows msgs, shared memory, etc... which they
may or may not have done.

--
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.

<godfatherofsoul@yahoo.com> wrote in message
news:1161357928.100707.139410@m7g2000cwm.googlegroups.com...
>I don't know COM, but it looks like I'm about to learn it. Is it
> possible to make an interprocess call to the IReplNotify instance
> stored in my service provider to call OnItemNotify(). Has anyone out
> there attempted this and can you explain how to do so?
>



Re: Interprocess access to IReplNotify by John

John
Fri Oct 20 13:56:32 CDT 2006

FYI, I've been asked this enough I've tried to cleanup the answer to this
and related questions a bit --
http://blogs.msdn.com/cenet/archive/2006/10/20/windows-mobile-does-not-support-out-of-process-com.aspx

--
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.

"John Spaith [MS]" <jspaith@ONLINE.microsoft.com> wrote in message
news:Ozl$R6F9GHA.1188@TK2MSFTNGP05.phx.gbl...
> No, this isn't possible on Windows Mobile. Windows Mobile COM only
> supports in-proc calls (out-of-proc COM is available only on certain
> general embedded releases, reason it's not on WM is that it would add like
> 500KB to the ROM size). To get at this whatever you're trying to do,
> whoever implemented the other process will have had to have created some
> other interprocess communication mechanism like windows msgs, shared
> memory, etc... which they may or may not have done.
>
> --
> 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.
>
> <godfatherofsoul@yahoo.com> wrote in message
> news:1161357928.100707.139410@m7g2000cwm.googlegroups.com...
>>I don't know COM, but it looks like I'm about to learn it. Is it
>> possible to make an interprocess call to the IReplNotify instance
>> stored in my service provider to call OnItemNotify(). Has anyone out
>> there attempted this and can you explain how to do so?
>>
>
>



Re: Interprocess access to IReplNotify by godfatherofsoul

godfatherofsoul
Fri Oct 20 14:30:15 CDT 2006

John Spaith [MS] wrote:
> No, this isn't possible on Windows Mobile. Windows Mobile COM only supports
> in-proc calls (out-of-proc COM is available only on certain general embedded
> releases, reason it's not on WM is that it would add like 500KB to the ROM
> size). To get at this whatever you're trying to do, whoever implemented the
> other process will have had to have created some other interprocess
> communication mechanism like windows msgs, shared memory, etc... which they
> may or may not have done.
>
> --
> John Spaith
> Development Lead, Windows CE
> Microsoft Corporation
>
> Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.
>

Thanks for the reply. Just making sure we're on the same page, but I'm
trying to do this from the desktop-side ActiveSync service provider.
It's handed an IReplNotify object by the ActiveSync service manager. I
want to access that object locally, just from a different process (all
on the desktop). I've played around with SyncMon.EXE in the mobile
SDK, and I see calls to the COM interface calls being dumped by this
app.

Again, I'm a total COM noob so I'm not sure I'm reading this right.


Re: Interprocess access to IReplNotify by John

John
Thu Oct 26 19:49:40 CDT 2006

Oh - sorry, I misread what you're trying to do. I'm out of my element with
activesync&destkop side so I'm afraid I can't help much. If you don't get
help here, you may try posting with a different subject or check out
http://support.microsoft.com/ -- again, wish I could be of more help to you
here.

--
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.

>
> Thanks for the reply. Just making sure we're on the same page, but I'm
> trying to do this from the desktop-side ActiveSync service provider.
> It's handed an IReplNotify object by the ActiveSync service manager. I
> want to access that object locally, just from a different process (all
> on the desktop). I've played around with SyncMon.EXE in the mobile
> SDK, and I see calls to the COM interface calls being dumped by this
> app.
>
> Again, I'm a total COM noob so I'm not sure I'm reading this right.
>