C++/CLI vs MCPP

  • Thread starter Thread starter Boni
  • Start date Start date
B

Boni

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
 
Boni said:
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.
 
Ioannis Vranos said:
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
 
Gustavo said:
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."


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.
 
Back
Top