Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / May 2008

Tip: Looking for answers? Try searching our database.

power and limitations

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cal - 07 May 2008 02:36 GMT
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.
=================================================

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.