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

Managed C++/CLI

 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 8:58
jspano18-Jul-03 8:58 
GeneralRe: debug managed and unmanaged code Pin
leppie18-Jul-03 13:13
leppie18-Jul-03 13:13 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 15:56
jspano18-Jul-03 15:56 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 16:41
jspano18-Jul-03 16:41 
GeneralRe: debug managed and unmanaged code Pin
jspano18-Jul-03 8:56
jspano18-Jul-03 8:56 
GeneralRe: debug managed and unmanaged code Pin
Nathan Blomquist21-Jul-03 1:58
Nathan Blomquist21-Jul-03 1:58 
GeneralRe: debug managed and unmanaged code Pin
jspano21-Jul-03 2:05
jspano21-Jul-03 2:05 
QuestionHow To Efficiently Copy Int32 to unsigned char __gc [] Pin
T R B16-Jul-03 5:56
T R B16-Jul-03 5:56 
I'm writing data to the network and I'm having trouble doing a task that would be very simple in unmanaged C++: write an Int32 to the stream. The NetworkStream class takes a byte array as a parameter in Write(). I'm not sure how to efficiently convert an Int32 to a byte array. Sure, I could use division a squeeze out a byte at a time, but that's hardly efficient. Any ideas on how to copy the 4 bytes that are an integer into an unsigned char __gc []?

Thanks in advance,

Tim
AnswerRe: How To Efficiently Copy Int32 to unsigned char __gc [] Pin
Italo Silveira16-Jul-03 7:00
Italo Silveira16-Jul-03 7:00 
GeneralRe: How To Efficiently Copy Int32 to unsigned char __gc [] Pin
T R B16-Jul-03 7:05
T R B16-Jul-03 7:05 
GeneralStoring a static dictionary of class instances Pin
Jeremy Osner15-Jul-03 5:36
Jeremy Osner15-Jul-03 5:36 
GeneralRe: Typos Pin
Jeremy Osner15-Jul-03 6:19
Jeremy Osner15-Jul-03 6:19 
GeneralRe: Storing a static dictionary of class instances Pin
Jeremy Osner15-Jul-03 6:34
Jeremy Osner15-Jul-03 6:34 
GeneralRule of Three for Managed C++ Pin
mond_m15-Jul-03 4:54
sussmond_m15-Jul-03 4:54 
GeneralRe: Rule of Three for Managed C++ Pin
Tom Archer18-Jul-03 7:38
Tom Archer18-Jul-03 7:38 
Generaldate class problem Pin
Forever8214-Jul-03 21:55
Forever8214-Jul-03 21:55 
QuestionHOW TO MAKE A SIMPLE C SOLUTION Pin
eggie513-Jul-03 14:50
eggie513-Jul-03 14:50 
AnswerRe: HOW TO MAKE A SIMPLE C SOLUTION Pin
leppie14-Jul-03 7:22
leppie14-Jul-03 7:22 
GeneralRe: HOW TO MAKE A SIMPLE C SOLUTION Pin
eggie514-Jul-03 10:17
eggie514-Jul-03 10:17 
GeneralRe: HOW TO MAKE A SIMPLE C SOLUTION Pin
John M. Drescher15-Jul-03 5:02
John M. Drescher15-Jul-03 5:02 
GeneralManaged DLL with unmanaged MFC application Pin
stub11-Jul-03 5:17
stub11-Jul-03 5:17 
GeneralRe: Managed DLL with unmanaged MFC application Pin
Nathan Blomquist11-Jul-03 5:31
Nathan Blomquist11-Jul-03 5:31 
GeneralRe: Managed DLL with unmanaged MFC application Pin
Heath Stewart11-Jul-03 5:51
protectorHeath Stewart11-Jul-03 5:51 
GeneralRe: Managed DLL with unmanaged MFC application Pin
rahtrow11-Jul-03 8:31
rahtrow11-Jul-03 8:31 
GeneralManaged strings and buffers to nonmanaged Pin
jspano10-Jul-03 7:58
jspano10-Jul-03 7:58 

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.