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 / Languages / Managed C++ / May 2005

Tip: Looking for answers? Try searching our database.

C++/CLI vs MCPP

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Boni - 25 May 2005 10:05 GMT
Dear All,
we have a big project with C# and MCPP mixed assemblies. Is MCPP still
supported in VS2005? Do we have to change something in MCPP?
With best regards,
Boni
Ioannis Vranos - 25 May 2005 11:18 GMT
> Dear All,
> we have a big project with C# and MCPP mixed assemblies. Is MCPP still
> supported in VS2005? Do we have to change something in MCPP?
> With best regards,

You will be able to compile C++ code using managed extensions with /clr:oldsyntax in VC++
2005.
Gustavo L. Fabro - 25 May 2005 13:12 GMT
>> Dear All,
>> we have a big project with C# and MCPP mixed assemblies. Is MCPP still
[quoted text clipped - 3 lines]
> You will be able to compile C++ code using managed extensions with
> /clr:oldsyntax in VC++ 2005.

Yes. But it's good to point out that you won't be able to create any new
user interface using "Windows Forms" on the same project, unless you remove
the /clr:oldsyntax switch. At least it's what's happening under the beta2
version:

"CLR Components cannot be added to a project using old syntax C++. Please
convert the project to use the new syntax."

Fabro
Ioannis Vranos - 25 May 2005 14:01 GMT
> Yes. But it's good to point out that you won't be able to create any new
> user interface using "Windows Forms" on the same project, unless you remove
[quoted text clipped - 3 lines]
> "CLR Components cannot be added to a project using old syntax C++. Please
> convert the project to use the new syntax."

Yes. One could also wrap the old code and compile it to a managed .NET 2 dll with
/clr:oldsyntax and use that dll in C++/CLI source code.

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.