Bridge between eVC++ and .NET Framework

  • Thread starter Thread starter Ricardo Veloso
  • Start date Start date
R

Ricardo Veloso

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