Unmanaged code calling managed code via COM?

S

Steve

In the Windows world of the full .NET framework, I can have a .NET assembly,
create a type library from it, register it and then call into the managed
..NET assembly from unmanaged code via COM. That doesn't seem to be so easy in
the Compact Framework.

I've read that it is because the runtime callable wrapper is not supported
in CF. Are there other ways around this limitation?
 
C

Chris Tacke, MVP

Not really. The CF has no EE Hosting support, so there's no way for native
code to spin it up and then load a managed assembly. The only work-around
is to launch a managed EXE that loads the assembly by proxy, then use IPC to
ship data between your app and it.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 

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