Re: COM question
- From: "John Spaith [MS]" <jspaith@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 30 May 2007 10:58:21 -0700
You've managed to stretch my knowledge of COM to the breaking point. But I
think what may be happening here is that CE doesn't have the universal
marshaller (all versions) and so it can't marshall this type automatically.
I *believe* if you put this into an IDL file and rely on the MIDL generated
proxy/stub routines it should be able to work for you.
http://www.codeproject.com/netcf/WindowsCE_DCOM.asp has a good article on
this.
Also note in CE3 we don't have the idisproxy.lib, which we added CE4 so that
Visual Basic could communicate remotely to CE device. I don't think it
should be an impact here but a heads up. idisproxy is brought in
automatically whenever you have SYSGEN_DCOM and oleautomation.
--
John Spaith
Senior Software Design Engineer
Windows CE Networking
Microsoft Corporation
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. © 2007 Microsoft Corporation. All rights
reserved.
"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:%23jKiNFvnHHA.3968@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I'm doing some work with a COM object which is running on Windows CE
devices and which is used, via DCOM, from other devices, PCs, generally,
on the network. Most of what I'm doing works, but the object has a method
that returns an IEnumString interface pointer to the caller and that
doesn't work. There is an Interfaces entry for it in the registry on the
device, so it seems like it should be OK. Is there a known limitation on
marshaling that interface or something? Might I have left something out
of the OS that would affect this (it's a DCOM build, headless).
To this point, I've only found the problem on CE3 devices, but will test
4.2 and 5.0 soon.
Thanks,
Paul T.
.
- References:
- COM question
- From: Paul G. Tobey [eMVP]
- COM question
- Prev by Date: Re: remote performance monitor problem
- Next by Date: Re: VS / PB 6 Always crashes on device boot using KITL / KdStub
- Previous by thread: COM question
- Next by thread: OALKitlInitRegistry never called???
- Index(es):
Relevant Pages
|