Click here to Skip to main content
15,889,742 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: After CLR conversion debugging is slow. Pin
Mark Salsbery27-Feb-09 6:24
Mark Salsbery27-Feb-09 6:24 
AnswerRe: After CLR conversion debugging is slow. Pin
Luc Pattyn27-Feb-09 7:02
sitebuilderLuc Pattyn27-Feb-09 7:02 
Questionifstream & ofstream manipulators equivalents in C++/CLI Pin
J_E_D_I26-Feb-09 1:19
J_E_D_I26-Feb-09 1:19 
AnswerRe: ifstream & ofstream manipulators equivalents in C++/CLI Pin
N a v a n e e t h26-Feb-09 3:42
N a v a n e e t h26-Feb-09 3:42 
GeneralRe: ifstream & ofstream manipulators equivalents in C++/CLI Pin
J_E_D_I27-Feb-09 10:03
J_E_D_I27-Feb-09 10:03 
GeneralRe: ifstream & ofstream manipulators equivalents in C++/CLI Pin
N a v a n e e t h1-Mar-09 13:25
N a v a n e e t h1-Mar-09 13:25 
QuestionWhen prefer to write managed C++ code ? Pin
Yanshof25-Feb-09 11:46
Yanshof25-Feb-09 11:46 
AnswerRe: When prefer to write managed C++ code ? Pin
Mark Salsbery25-Feb-09 14:30
Mark Salsbery25-Feb-09 14:30 
Yanshof wrote:
1 - Is not managed class is actually native ?


C++ classes that aren't managed are typically called native classes, yes.

Yanshof wrote:
2 - I don't know when to choose managed class and when to choose not managed class.


Maybe depends on where you'll use the class...
A native class is native to Microsoft Visual C++ code.
A managed class is a class that follows/implements all the rules governing
classes for the Common Language Runtime (CLR), just like the classes in the
.NET framework. That makes managed classes usable by any CLR implemented
language - C#, VB.NET, etc.

Yanshof wrote:
3 - What about virtual destructor ? is Garbage collector work like in C# in those cases ?


The garbage collector is part of the .NET framework, so yes it works the same.

Destructors/Finalizers in C++ are a little different than in C#. They are called by
the framework the same way but the language syntax is different. Read carefully:
Destructors and Finalizers in Visual C++[^]

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

AnswerRe: When prefer to write managed C++ code ? Pin
N a v a n e e t h25-Feb-09 14:40
N a v a n e e t h25-Feb-09 14:40 
QuestionBoolean property causing crash Pin
Andy____________uk24-Feb-09 1:35
Andy____________uk24-Feb-09 1:35 
GeneralRe: Boolean property causing crash Pin
Luc Pattyn24-Feb-09 1:42
sitebuilderLuc Pattyn24-Feb-09 1:42 
GeneralRe: Boolean property causing crash Pin
Andy____________uk24-Feb-09 2:01
Andy____________uk24-Feb-09 2:01 
GeneralRe: Boolean property causing crash Pin
Luc Pattyn24-Feb-09 2:33
sitebuilderLuc Pattyn24-Feb-09 2:33 
GeneralRe: Boolean property causing crash Pin
Andy____________uk24-Feb-09 3:01
Andy____________uk24-Feb-09 3:01 
QuestionConverting int to string confusion Pin
TabascoSauce23-Feb-09 15:33
TabascoSauce23-Feb-09 15:33 
GeneralRe: Converting int to string confusion Pin
Luc Pattyn23-Feb-09 16:07
sitebuilderLuc Pattyn23-Feb-09 16:07 
QuestionC++/CLI -- Where to declare pre-selected list box and radio button attributes? Pin
J_E_D_I22-Feb-09 7:53
J_E_D_I22-Feb-09 7:53 
AnswerRe: C++/CLI -- Where to declare pre-selected list box and radio button attributes? Pin
Mark Salsbery22-Feb-09 18:22
Mark Salsbery22-Feb-09 18:22 
GeneralRe: C++/CLI -- Where to declare pre-selected list box and radio button attributes? Pin
J_E_D_I23-Feb-09 9:49
J_E_D_I23-Feb-09 9:49 
QuestionAVI to BMP Frames Pin
santoshsb06121-Feb-09 8:45
santoshsb06121-Feb-09 8:45 
AnswerRe: AVI to BMP Frames Pin
Mark Salsbery22-Feb-09 18:26
Mark Salsbery22-Feb-09 18:26 
QuestionFunctions Pin
Visiolizer21-Feb-09 6:54
Visiolizer21-Feb-09 6:54 
AnswerRe: Functions Pin
Eytukan22-Feb-09 19:55
Eytukan22-Feb-09 19:55 
AnswerRe: Functions Pin
Gary R. Wheeler23-Feb-09 11:53
Gary R. Wheeler23-Feb-09 11:53 
GeneralRe: Functions Pin
Luc Pattyn23-Feb-09 12:30
sitebuilderLuc Pattyn23-Feb-09 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.