Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

COM support in WinCE with Visual Studio 2003???

0 views
Skip to first unread message

Steve

unread,
Jul 11, 2005, 11:00:28 AM7/11/05
to

I am trying to develop a windows ce application using visual studio 2003. I
have a third party com object which I am trying to incorporate into the
project, but I am having troubles with referencing the object and various
other things. I have tried referencing the same object in a windows app dev
environment, with no troubles, which leads me to think that COM objects arent
supported in Windows CE.NET. Is this the case or am I missing something?

Thanks

Steve

Paul G. Tobey [eMVP]

unread,
Jul 11, 2005, 12:41:57 PM7/11/05
to
That's not going to work. The .NET Compact Framework, which I assume, since
you are using VS.NET 2003, is what you are targeting, either with VB.NET or
C#, doesn't really have any COM support. So, it's not the OS, but the
program run-time environment, that is stopping you. If you must use this
control, switch to C/C++ and use eMbedded Visual C++ 3 or 4, depending on
the OS in the target device, and you should be good to go.

Paul T.

"Steve" <St...@discussions.microsoft.com> wrote in message
news:508EC2BD-9533-49EE...@microsoft.com...

Steve

unread,
Jul 12, 2005, 4:54:02 AM7/12/05
to

The vendor says they also do a java client, would this be any easier for me
to implement? What about if I were to use Windows Mobile2003 instead?

Thanks

Paul G. Tobey [eMVP]

unread,
Jul 12, 2005, 11:58:54 AM7/12/05
to
Either of those is going to be a problem. There is no Java run-time in your
Windows CE device. So, in the Java case, you have to find a suitable
run-time with which their Java code is compatible, and install it on every
target device.

If they have a COM object for this, just writing your code in C++ seems like
the best solution to me.

Paul T.

"Steve" <St...@discussions.microsoft.com> wrote in message

news:13902388-D353-4005...@microsoft.com...

Steve Maillet (eMVP)

unread,
Jul 12, 2005, 8:08:47 PM7/12/05
to
Also note that CF V2.0 (coming out in Nov with VS 2005) has COM interop
support. So you may be able to use that. There is currently a Beta Go Live
license available for that so you could develop and release a beta of your
product before the final release in Nov.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com


0 new messages