Hi
I would very much like to use some .Net components in my unmanaged code application which is written in C++ for Smartphone.
I'm aware that for C# and VB there is a compiler option that lets you mix managed/unmanaged code and that this compiler switch isn't available for C++ SP unmanaged code.
Is there any other way for me to circumvent this problem
My application is written in C and is wrapped with the standard VS2005 C++ SP wizard project. It works great except that I would like to use some .Net componenets like file browser dialog etc.
What solutions are available for me I would rather not have to rewrite my application wrapper in C# but if that's the only way to go i guess....
Many thanks,
Martin Malek

Using .Net from within unmanaged C++ Smartphone Application
robdken
NETCF does not support hosting so you can not. It should be simple enough to write your own unmanaged file browser dialog or use 3rd party.
Dietz
Yes, you'll be able to P/Invoke into native DLLs including your own. MSDN has several articles on that.
Bennie9425
What if I write my application wrapper in C# Will I still be able to call my unmanaged C code from it
C# would let me use .Net components but can I mix it with unmanaged C code
Many thanks,
Martin Malek