How to use C++ in project Net Compact Framework

Hi all,

I am new with Net Compact Framework.Cos i always use evc++.
Hope that i don't make some stupid question.

Now i need the graphic ( with button, colors, everything like that ).
In vs2005 beta 2,for vc++ it supports only MFC.So it's not interesting
like in win32 where we can use Qt.

So my question is that:
can i use c# with net compact framework to make an interface graphic user,
and use C++ for the other? Cos in C++ project i can use C with keyword,
extern "C", it exist with extern "cplusplus+" or extern "C" in project C#?

Thank for reply.

Julien T

[596 byte] By [JulienT] at [2008-2-2]
# 1
Julien,

You can call from C# into a C dll via the PInvoke mechansim. Here is a link to our the appropriate section in our FAQ to get you started.

http://msdn.microsoft.com/smartclient/community/cffaq/default.aspx#l2ztcl5c

Tim Gerken
Microsoft .NET Compact Framework team

This post is provided "AS IS" and confers no rights.

timg_msft at 2007-9-8 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...