Calling .NET Compact Framework DLL from a Native C/C++ Application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to call methods in a .NET compact framework DLL from a native
C/C++ non-compact framework coded application (using Visual Embedded C++ 4.0)?

Basically, we want to create a .NET compact framework DLL that contains
ADO.NET methods and call these methods from an ordinary natively coded C/C++
style application.

Thanks in advance....
 
I not sure if I was clear that this question was for the Windows CE 4.2
Compact Framework.

So it will not work with Windows CE 4.2 version of the Compact Framework,
correct?
 
You could start a .NET app as a hidden application and use window messages
to communicate between them. This is how most people use Java and C#
together.
 
No, you were clear. It can't be done. Hosting managed assemblies in
unmanaged code isn't an available option in CF 1.0

-Chris
 
Thanks for the creative solution.


Malcolm Hall - WiFiFoFum.org said:
You could start a .NET app as a hidden application and use window messages
to communicate between them. This is how most people use Java and C#
together.
 
Ok, thanks for confirming that.


Chris Tacke said:
No, you were clear. It can't be done. Hosting managed assemblies in
unmanaged code isn't an available option in CF 1.0

-Chris
 
Back
Top