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

Managed C++/CLI

 
GeneralRe: Visual C++ 2005 Express Edition SP1 Pin
Epi14-Mar-07 3:51
Epi14-Mar-07 3:51 
Questioncrossing thread boundary Pin
aljodav4-Mar-07 11:35
aljodav4-Mar-07 11:35 
AnswerRe: crossing thread boundary Pin
User 5838524-Mar-07 13:44
User 5838524-Mar-07 13:44 
QuestionWhat is wrong with this ? ? ? Pin
Zealous_Me4-Mar-07 9:43
Zealous_Me4-Mar-07 9:43 
AnswerRe: What is wrong with this ? ? ? Pin
Newbie004-Mar-07 10:06
Newbie004-Mar-07 10:06 
AnswerRe: What is wrong with this ? ? ? [modified] Pin
prasad_som4-Mar-07 16:56
prasad_som4-Mar-07 16:56 
AnswerRe: What is wrong with this ? ? ? Pin
toxcct5-Mar-07 5:18
toxcct5-Mar-07 5:18 
QuestionStrings......Okay this is probably well known, but.... Pin
Giles4-Mar-07 4:37
Giles4-Mar-07 4:37 
Whats the easiest way to convert from System::String to std::string?

With value types it easy.

double a = 0.1;
System::Double b = a
double c = *reinterpret_cast<double^>(b);

For the time being I've just been using CStrings.....

System::String^ managed_string = "Hello World";
CString str = managed_string;
std::string std_string = str;

Not exactly slick though!!!

Just trying to get an idea of what it the most efficient way, and then I'll probably just create a macro for it.





"Je pense, donc je mange." - Rene Descartes 1689 - Just before his mother put his tea on the table.

Shameless Plug - Distributed Database Transactions in .NET using COM+

AnswerRe: Strings......Okay this is probably well known, but.... Pin
Newbie004-Mar-07 5:08
Newbie004-Mar-07 5:08 
GeneralRe: Strings......Okay this is probably well known, but.... Pin
Giles4-Mar-07 5:13
Giles4-Mar-07 5:13 
QuestionI need help about multithreading in TCPListener ... Pin
Nonreturn1-Mar-07 16:49
Nonreturn1-Mar-07 16:49 
AnswerRe: I need help about multithreading in TCPListener ... Pin
led mike2-Mar-07 6:01
led mike2-Mar-07 6:01 
GeneralRe: I need help about multithreading in TCPListener ... Pin
Nonreturn5-Mar-07 14:09
Nonreturn5-Mar-07 14:09 
GeneralRe: I need help about multithreading in TCPListener ... Pin
led mike6-Mar-07 4:28
led mike6-Mar-07 4:28 
Questionsomethings wrong Pin
Kiethnt1-Mar-07 16:34
Kiethnt1-Mar-07 16:34 
GeneralRe: somethings wrong Pin
prasad_som1-Mar-07 17:14
prasad_som1-Mar-07 17:14 
Questioncomplete Pin
Kiethnt1-Mar-07 16:22
Kiethnt1-Mar-07 16:22 
GeneralRe: complete Pin
prasad_som1-Mar-07 17:11
prasad_som1-Mar-07 17:11 
QuestionHelp Pin
Spartan161-Mar-07 9:54
Spartan161-Mar-07 9:54 
AnswerRe: Help Pin
Newbie001-Mar-07 11:11
Newbie001-Mar-07 11:11 
AnswerRe: Help Pin
Mark Salsbery1-Mar-07 11:32
Mark Salsbery1-Mar-07 11:32 
AnswerRe: Help Pin
led mike1-Mar-07 11:41
led mike1-Mar-07 11:41 
AnswerRe: Help Pin
Christian Graus1-Mar-07 13:03
protectorChristian Graus1-Mar-07 13:03 
GeneralRe: Help Pin
Spartan162-Mar-07 6:32
Spartan162-Mar-07 6:32 
QuestionRead from file into array Pin
JBAK_CP1-Mar-07 2:33
JBAK_CP1-Mar-07 2:33 

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.