Unmanaged code calling managed code via COM?

  • Thread starter Thread starter Steve
  • Start date Start date
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?
 
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
 
Back
Top