Hi group
Excuse my ignorace please, I´ve seen some posts that insure vc++.net
can use freely native code, my ask is what are the limitations of this
procedure.
Please, avoid any comment about MFC. I myself have no experience at all
about this, I ve only used many many times C# pinvoke.
thanks very much in advance, Carlos.
Jialiang Ge [MSFT] - 07 May 2008 09:40 GMT
Hello Carlos,
Did you mean C++/CLI by "vc++.net"? If that, the MSDN article
http://msdn.microsoft.com/en-us/library/aa730837(VS.80).aspx lists some
points we should pay attention to. See the section "Mix Types Safely and
Correctly" and "Take Advantage of C++ Interop".
Regards,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
cal - 08 May 2008 22:25 GMT
nice article, thanks Jialiang.
> Hello Carlos,
>
[quoted text clipped - 16 lines]
> This posting is provided "AS IS" with no warranties, and confers no rights.
> =================================================
xcal - 09 May 2008 00:36 GMT
by the way, C++/CLI and "vc++.net" are not the same thing ?
> nice article, thanks Jialiang.
>
[quoted text clipped - 19 lines]
> rights.
> > =================================================
Jialiang Ge [MSFT] - 09 May 2008 06:32 GMT
Hello xcal
There are two names here:
1. Managed C++ or Managed Extension for C++
This appears in .NET framework 1.1. When using VS2003, you will see it.
http://msdn.microsoft.com/en-us/library/a6431ht5(VS.71).aspx
2. C++/CLI
C++/CLI emerges from .NET 2.0.
The two are completely different. And there is a tool from Microsoft for
the conversion:
VC++ 2003 Managed Extensions to VC++2005 C++/CLI Conversion Tool
http://www.microsoft.com/downloads/details.aspx?FamilyID=A3581805-1AF2-4C34-
9D0E-6029CC078441&displaylang=en
Thus, when "Visual C++.NET" is mentioned, I need to know whether you meant
Managed C++ or C++/CLI.
Regards,
Jialiang Ge (jialge@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================