using a managed .net DLL in C++ unmanaged project with VS2005

Hi there

I am writing a native cpp aplication for smart device using vs2005.

I also want to add to this projects some managed .net controls from the WindowsCE.windos.Forms namespace.

How can i do it

I am thinking of wrappering the control in an mixed (manage\ unmanaged)dll but every CPP project that i opened has not familier with the .net namespaces even after adding a direct reference.

Please help.

Thanks

Yossi.



Answer this question

using a managed .net DLL in C++ unmanaged project with VS2005

  • vic07

    You can not do that as hosting is not supported by NETCF. That is, there’s no way native application can use managed DLL.



  • using a managed .net DLL in C++ unmanaged project with VS2005