all groups > dotnet compact framework > may 2004 >
You're in the

dotnet compact framework

group:

Bridge between eVC++ and .NET Framework



Re: Bridge between eVC++ and .NET Framework Chris Tacke, eMVP
5/10/2004 5:10:22 PM
dotnet compact framework: There is no way to directly call managed code from unmanaged code. Some
sort of cross-process communication (like Windows messages or a socket )
would be the only way.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


[quoted text, click to view]

Bridge between eVC++ and .NET Framework Ricardo Veloso
5/10/2004 10:07:20 PM
I'm working first time in eVC++ while my partner is working in C# .NET. He
created some methods to access SQL CE Server, and I wrote an Today Screen
Application. I need to call those methods, to get data to show in Today
Screen Item.

I saw some articles talking about COM interop, but always between .NET and
Visual C++, not embedded VC++. My teacher said, maybe the only way is using
sockets.

It is possible to do that? If it is, how. Or, if is possible more than one,
how (or what) is the easiest way to do that. My project ends at 28th May,
so thats why the hurry.

Thanx a lot
Ricardo Veloso
Portugal

Re: Bridge between eVC++ and .NET Framework Alex Yakhnin [MVP]
5/11/2004 10:30:14 AM

Take alook at this article on MSDN:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/html/TodayScrn.asp?frame=true

--
Alex Yakhnin .NET CF MVP
www.intelliprog.com | www.opennetcf.org

[quoted text, click to view]

Re: Bridge between eVC++ and .NET Framework Ricardo Veloso
5/13/2004 10:30:48 AM
Hi again, just one more question about this subject.
It is possible to use COM interop to resolve this proble, or make a DLL in
..NET Compact Framework and then import in eVC++ aplication(the inverse is
possible)?

Or the use of sockes like you refer is a better or the only way to do this.

Cheers
Ricardo Veloso


[quoted text, click to view]

AddThis Social Bookmark Button