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

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....
 
G

Guest

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?
 
M

Malcolm Hall - WiFiFoFum.org

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.
 
C

Chris Tacke, eMVP

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
 
G

Guest

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.
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top