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

Managed C++/CLI

 
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 
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 
Hi,

I'm hoping this is a really simple one but it's got me stumped.

I'm new to managed C++ so forgive me if it's a stupid question.

I have class library written in C# that contains a dialog. I am trying to instantiate the dialogs class, set a boolean property to true and the call the dialog ShowDialog method.

Here's the code:

String ^caseId = "ABC12345678";

Dialogs::TestDialog ^testDialog = gcnew Dialogs::TestDialog(caseId);

testDialog->LoadFlag = true;

testDialog->ShowDialog();


If I comment out the property set every thing works fine:

String ^caseId = "ABC12345678";

Dialogs::TestDialog ^testDialog = gcnew Dialogs::TestDialog(caseId);

//testDialog->LoadFlag = true;

testDialog->ShowDialog();


The exception I get is presented only at runtime and before the breakpoint I placed at the function entry point is hit and only when I have it set to the debug session to break on all exceptions:

Microsoft C++ exception: [rethrow] at memory location 0x00000000..


Can anyone help ?

Thanks,
Andy.
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 
QuestionTwo problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
regnwald16-Feb-09 18:19
regnwald16-Feb-09 18:19 
AnswerRe: Two problems - (a) HOW TO: pointer to an EXISTING user-defined type (b)HOW: lost form design window Pin
N a v a n e e t h16-Feb-09 19:43
N a v a n e e t h16-Feb-09 19:43 

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.