Click here to Skip to main content
16,015,697 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Using MFC with windows form Pin
Mark Salsbery11-Nov-07 6:47
Mark Salsbery11-Nov-07 6:47 
QuestionRe: Using MFC with windows form [modified] Pin
minihotto11-Nov-07 7:32
minihotto11-Nov-07 7:32 
Questionknowing the file's name Pin
tzumer11-Nov-07 1:45
tzumer11-Nov-07 1:45 
AnswerRe: knowing the file's name Pin
George L. Jackson11-Nov-07 2:59
George L. Jackson11-Nov-07 2:59 
AnswerRe: knowing the file's name Pin
Hamid_RT11-Nov-07 3:51
Hamid_RT11-Nov-07 3:51 
AnswerRe: knowing the file's name Pin
Jude Deng13-Nov-07 16:37
Jude Deng13-Nov-07 16:37 
Questionvalue -vs- ref class and NULL -vs- nullptr Pin
devvvy11-Nov-07 0:03
devvvy11-Nov-07 0:03 
AnswerRe: value -vs- ref class and NULL -vs- nullptr Pin
George L. Jackson11-Nov-07 2:48
George L. Jackson11-Nov-07 2:48 
devvvy wrote:
QUESTION 2: How can you init to NULL as you did in MFC?


If your code is compiled with /clr, you can use nullptr in the initialization of native pointers, managed handles, and managed interior pointers. You can use NULL with native pointers. However, the usage of NULL can be an issue where it can be interpreted as an integer.

devvvy wrote:
QUESTION 1: I thought gcnew is only for "ref classes"!?


Using gcnew on a value type will create a boxed value type that is placed on the managed heap.








"We make a living by what we get, we make a life by what we give." --Winston Churchill

GeneralRe: value -vs- ref class and NULL -vs- nullptr Pin
devvvy11-Nov-07 4:48
devvvy11-Nov-07 4:48 
GeneralRe: value -vs- ref class and NULL -vs- nullptr [modified] Pin
George L. Jackson11-Nov-07 5:54
George L. Jackson11-Nov-07 5:54 
GeneralRe: value -vs- ref class and NULL -vs- nullptr Pin
devvvy11-Nov-07 13:26
devvvy11-Nov-07 13:26 
GeneralRe: value -vs- ref class and NULL -vs- nullptr Pin
George L. Jackson11-Nov-07 14:52
George L. Jackson11-Nov-07 14:52 
GeneralRe: value -vs- ref class and NULL -vs- nullptr Pin
George L. Jackson11-Nov-07 14:55
George L. Jackson11-Nov-07 14:55 
GeneralRe: value -vs- ref class and NULL -vs- nullptr Pin
devvvy11-Nov-07 16:27
devvvy11-Nov-07 16:27 
QuestionHow to define WaitCallback arguments? Pin
AlwaysStudent10-Nov-07 17:48
AlwaysStudent10-Nov-07 17:48 
AnswerRe: How to define WaitCallback arguments? Pin
Luc Pattyn10-Nov-07 18:30
sitebuilderLuc Pattyn10-Nov-07 18:30 
AnswerRe: How to define WaitCallback arguments? Pin
George L. Jackson11-Nov-07 3:22
George L. Jackson11-Nov-07 3:22 
GeneralRe: How to define WaitCallback arguments? Pin
AlwaysStudent11-Nov-07 20:41
AlwaysStudent11-Nov-07 20:41 
Questionconnecting 2 combo boxes Pin
Miss_F10-Nov-07 5:53
Miss_F10-Nov-07 5:53 
AnswerRe: connecting 2 combo boxes Pin
Mark Salsbery10-Nov-07 6:03
Mark Salsbery10-Nov-07 6:03 
AnswerRe: connecting 2 combo boxes Pin
Hamid_RT11-Nov-07 4:01
Hamid_RT11-Nov-07 4:01 
GeneralRe: connecting 2 combo boxes Pin
Miss_F11-Nov-07 17:46
Miss_F11-Nov-07 17:46 
GeneralRe: connecting 2 combo boxes Pin
Hamid_RT11-Nov-07 18:07
Hamid_RT11-Nov-07 18:07 
QuestionCan't find Excel Interop assembly Pin
BuckBrown9-Nov-07 8:29
BuckBrown9-Nov-07 8:29 
AnswerRe: Can't find Excel Interop assembly Pin
dtr19-Nov-07 11:52
dtr19-Nov-07 11:52 

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.