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

Managed C++/CLI

 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
George L. Jackson23-May-06 1:57
George L. Jackson23-May-06 1:57 
GeneralRe: Overriding void Dispose(bool disposing) in C++/CLI? Pin
Dave Doknjas23-May-06 12:31
Dave Doknjas23-May-06 12:31 
QuestionMixing native and managed code Pin
Saurabh.Garg19-May-06 18:44
Saurabh.Garg19-May-06 18:44 
AnswerRe: Mixing native and managed code Pin
georgeraafat23-May-06 12:50
georgeraafat23-May-06 12:50 
QuestionSerialization Issue with Int32 Pin
jmlstele19-May-06 9:51
jmlstele19-May-06 9:51 
AnswerRe: Serialization Issue with Int32 Pin
georgeraafat23-May-06 13:17
georgeraafat23-May-06 13:17 
GeneralRe: Serialization Issue with Int32 Pin
jmlstele29-May-06 1:22
jmlstele29-May-06 1:22 
QuestionUndocumented problem with for each Pin
jmlsteele19-May-06 9:14
jmlsteele19-May-06 9:14 
Code is self explanitory. Adding braces around the for each block fixes it, but this shouldn't be required. Unless of course you can point me to something that says this is expected behaviour.

Jody Steele
-----CODE START-----
using namespace System;
using namespace System::Collections;

int main(array<System::String ^> ^args)
{
//Define a test array
ArrayList test;

//Populate it with some data
test.Add(3);
test.Add(4);
test.Add(13);
test.Add(42);

//Works as expected: WriteLine not called
if (false)
Console::WriteLine("Test");

//Works as expected: for not entered
if (false)
for(int i=0;i<test.Count;i++) {
Console::Write("for ");
Console::WriteLine(test[i]);
}

//UNEXPECTED: for each loop is entered!
if (false)
for each (int i in test) {
Console::Write("for each ");
Console::WriteLine(i);
}

}
-----CODE END-----
GeneralRe: Undocumented problem with for each Pin
jmlstele19-May-06 9:18
jmlstele19-May-06 9:18 
AnswerRe: Undocumented problem with for each Pin
Nish Nishant19-May-06 10:10
sitebuilderNish Nishant19-May-06 10:10 
QuestionIs it possible to write a parser which will find.... Pin
SasikumarRenjith19-May-06 1:23
SasikumarRenjith19-May-06 1:23 
AnswerRe: Is it possible to write a parser which will find.... Pin
Cedric Moonen19-May-06 3:54
Cedric Moonen19-May-06 3:54 
QuestionHow do I Convert Struct to ByteArray in .net 2005 Pin
ShayD118-May-06 6:32
ShayD118-May-06 6:32 
AnswerRe: How do I Convert Struct to ByteArray in .net 2005 Pin
2bee 18-May-06 11:37
2bee 18-May-06 11:37 
Questionporting managed c++ from vs2003 to vs2005 Pin
Hohenloher16-May-06 21:50
Hohenloher16-May-06 21:50 
AnswerRe: porting managed c++ from vs2003 to vs2005 Pin
George L. Jackson17-May-06 4:43
George L. Jackson17-May-06 4:43 
GeneralRe: porting managed c++ from vs2003 to vs2005 Pin
Hohenloher17-May-06 21:38
Hohenloher17-May-06 21:38 
GeneralRe: porting managed c++ from vs2003 to vs2005 Pin
George L. Jackson18-May-06 0:34
George L. Jackson18-May-06 0:34 
GeneralRe: porting managed c++ from vs2003 to vs2005 Pin
Nemanja Trifunovic18-May-06 6:31
Nemanja Trifunovic18-May-06 6:31 
AnswerRe: porting managed c++ from vs2003 to vs2005 Pin
George L. Jackson18-May-06 11:02
George L. Jackson18-May-06 11:02 
QuestionGeneration of Class Diagrams Pin
madhusri16-May-06 5:37
madhusri16-May-06 5:37 
GeneralRe: Generation of Class Diagrams Pin
George L. Jackson17-May-06 10:43
George L. Jackson17-May-06 10:43 
QuestionSkins for MFC applications Pin
AryaSoft15-May-06 10:01
AryaSoft15-May-06 10:01 
AnswerRe: Skins for MFC applications Pin
Maximilien15-May-06 10:45
Maximilien15-May-06 10:45 
QuestionUsing unmanaged DLL functions/struct in C# Pin
__makaveli__15-May-06 2:34
__makaveli__15-May-06 2:34 

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.