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

Managed C++/CLI

 
GeneralRe: Problem with encoding in Ms Outlook extension Pin
pawelwaw10-Sep-08 21:30
pawelwaw10-Sep-08 21:30 
QuestionWhat is stack semantics? Pin
Arman Ghazanchyan9-Sep-08 12:18
Arman Ghazanchyan9-Sep-08 12:18 
AnswerRe: What is stack semantics? Pin
Mark Salsbery9-Sep-08 13:14
Mark Salsbery9-Sep-08 13:14 
GeneralRe: What is stack semantics? Pin
Arman Ghazanchyan9-Sep-08 14:44
Arman Ghazanchyan9-Sep-08 14:44 
GeneralRe: What is stack semantics? Pin
Mark Salsbery9-Sep-08 15:44
Mark Salsbery9-Sep-08 15:44 
GeneralRe: What is stack semantics? Pin
Arman Ghazanchyan9-Sep-08 16:21
Arman Ghazanchyan9-Sep-08 16:21 
Questionguide created file.exe for vc++6.0. thanks very much Pin
aa_zz8-Sep-08 16:16
aa_zz8-Sep-08 16:16 
QuestionSome basic questions! Pin
Arman Ghazanchyan8-Sep-08 8:53
Arman Ghazanchyan8-Sep-08 8:53 
Hello to everyone, I am trying to get to know C++/CLI and I have some questions. Just to let you know I have VB.Net background and I also have taken some C++ classes some years before. I hope someone can shade a light on my questions. Here it goes:

First, what is exactly the deference between the reference class and the value class? I mean why we need to declare the “ref” or “value” classes if we pass the arguments as ref or value in VB.Net. It is a little bit confusing for me to have a type as referenced and value.

Second, what is this [int main(array<System::String ^> ^args)] line representing? My guess is that the argument is a string array and it may contain the command line for this app passed when the app starts. Is this right?
Also I have a question about “^”. What I read from MSDN the symbol “^” directs the compiler to create handle for the object in the managed garbagecollecter heap so that it can be cleaned when there are no references to this object. Is this right? And also why they are two on that line? I mean one is not enough having it in front of “args”? Is it because the string data type is an array of chars in C++ and it its self should have a handle in the heap? Is this correct?

The questions may be very simple but I tried to get the answers on MSDN and still they are confusing for me. I would appreciate for any help.
Thanks in advance,
VBDT
AnswerRe: Some basic questions! Pin
Mark Salsbery8-Sep-08 9:40
Mark Salsbery8-Sep-08 9:40 
GeneralRe: Some basic questions! Pin
Arman Ghazanchyan8-Sep-08 9:54
Arman Ghazanchyan8-Sep-08 9:54 
GeneralRe: Some basic questions! Pin
Mark Salsbery8-Sep-08 9:57
Mark Salsbery8-Sep-08 9:57 
QuestionRe: Some basic questions! Pin
Arman Ghazanchyan8-Sep-08 9:56
Arman Ghazanchyan8-Sep-08 9:56 
AnswerRe: Some basic questions! Pin
Mark Salsbery8-Sep-08 10:01
Mark Salsbery8-Sep-08 10:01 
GeneralRe: Some basic questions! Pin
Arman Ghazanchyan8-Sep-08 10:06
Arman Ghazanchyan8-Sep-08 10:06 
QuestionTurning Existing Pile of Code into DLL Pin
Oddball5-Sep-08 5:08
Oddball5-Sep-08 5:08 
AnswerRe: Turning Existing Pile of Code into DLL Pin
led mike5-Sep-08 5:20
led mike5-Sep-08 5:20 
GeneralRe: Turning Existing Pile of Code into DLL Pin
Oddball5-Sep-08 5:28
Oddball5-Sep-08 5:28 
QuestionTo Fill DataSource of my ComBobox with Paper Orientation Enumeration Pin
mikobi2-Sep-08 19:52
mikobi2-Sep-08 19:52 
QuestionRAR compression Pin
dSolariuM29-Aug-08 19:38
dSolariuM29-Aug-08 19:38 
AnswerRe: RAR compression Pin
Paul Conrad30-Aug-08 8:05
professionalPaul Conrad30-Aug-08 8:05 
QuestionUpgrading vc 2003 project to vc 2008 Pin
Robin Imrie28-Aug-08 22:24
professionalRobin Imrie28-Aug-08 22:24 
AnswerRe: Upgrading vc 2003 project to vc 2008 Pin
Mark Salsbery29-Aug-08 9:19
Mark Salsbery29-Aug-08 9:19 
Questioncliext::list strange behavior Pin
ian__lindsay27-Aug-08 3:32
ian__lindsay27-Aug-08 3:32 
AnswerRe: cliext::list strange behavior [modified] Pin
George L. Jackson28-Aug-08 9:22
George L. Jackson28-Aug-08 9:22 
QuestionPlease check code update sqlserver with VC++6.0 Pin
aa_zz25-Aug-08 15:17
aa_zz25-Aug-08 15:17 

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.