Yes, you can.
No, you can not since NETCF does not support hosting.

Signature
Best regards,
Ilya
This posting is provided "AS IS" with no warranties, and confers no rights.
*** Want to find answers instantly? Here's how... ***
1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactfra
mework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
> You can expose .NET components to a COM automation server in .NET, right?
> Can you do the same in the compact framework on a Pocket PC device?
>
> Timothy Dean
Timothy Dean - 08 Dec 2006 00:40 GMT
Is there is good way to write a function in .NET (using the compact
framework) and call it from C++? Could a C++ application be extended by
writing components in .NET on the device and communicating both ways?
Thanks.
Timothy Dean
> Yes, you can.
>
[quoted text clipped - 4 lines]
>>
>> Timothy Dean
<ctacke/> - 08 Dec 2006 02:25 GMT
There really is no good way to do it. You could use IPC (MessageWindow,
MessageQueue, Events) to communicate with a running managed process, but
there's no way to get the managed code running inside your own process
without hosting support.

Signature
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
> Is there is good way to write a function in .NET (using the compact
> framework) and call it from C++? Could a C++ application be extended by
[quoted text clipped - 12 lines]
>>>
>>> Timothy Dean