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

Managed C++/CLI

 
GeneralRe: Howto Return vector from a function Pin
lafleon8-Dec-06 12:51
lafleon8-Dec-06 12:51 
QuestionContext sensitive keywords and mixed mode programming Pin
User 5838526-Dec-06 12:47
User 5838526-Dec-06 12:47 
GeneralRe: Context sensitive keywords and mixed mode programming Pin
George L. Jackson6-Dec-06 13:43
George L. Jackson6-Dec-06 13:43 
AnswerRe: Context sensitive keywords and mixed mode programming Pin
George L. Jackson6-Dec-06 13:51
George L. Jackson6-Dec-06 13:51 
GeneralRe: Context sensitive keywords and mixed mode programming Pin
User 5838526-Dec-06 13:57
User 5838526-Dec-06 13:57 
GeneralRe: Context sensitive keywords and mixed mode programming [modified] Pin
George L. Jackson6-Dec-06 14:28
George L. Jackson6-Dec-06 14:28 
GeneralRe: Context sensitive keywords and mixed mode programming Pin
User 5838526-Dec-06 16:37
User 5838526-Dec-06 16:37 
QuestionCopying data from unmanaged to managed Pin
kristmun6-Dec-06 3:48
kristmun6-Dec-06 3:48 
Hi,
I am trying to copy data from a structure
<br />
typedef struct OctetString {<br />
    unsigned int   length;<br />
    unsigned char  *value;<br />
} OctetString;<br />

I have only managed to copy the value using a for-loop and an ArrayList
<br />
OctetString* data;<br />
ArrayList^ bits = gcnew ArrayList();<br />
for(unsigned int i=0;i<data->length;i++)<br />
{<br />
  bits->Add((char)*data->value);<br />
  data->value++;<br />
}<br />

My question is: Is there a better way to copy the data into the ArrayList, and is
there a more suitable structure than a ArryList to handle binary data of different lengths?

/krissi
AnswerRe: Copying data from unmanaged to managed Pin
Nish Nishant6-Dec-06 4:58
sitebuilderNish Nishant6-Dec-06 4:58 
AnswerRe: Copying data from unmanaged to managed Pin
led mike6-Dec-06 6:29
led mike6-Dec-06 6:29 
GeneralRe: Copying data from unmanaged to managed Pin
kristmun8-Dec-06 4:51
kristmun8-Dec-06 4:51 
Questionstd not recognized Pin
Anil_vvs5-Dec-06 23:12
Anil_vvs5-Dec-06 23:12 
AnswerRe: std not recognized Pin
Christian Graus5-Dec-06 23:23
protectorChristian Graus5-Dec-06 23:23 
GeneralRe: std not recognized Pin
Anil_vvs5-Dec-06 23:56
Anil_vvs5-Dec-06 23:56 
GeneralRe: std not recognized Pin
Nish Nishant6-Dec-06 5:00
sitebuilderNish Nishant6-Dec-06 5:00 
GeneralRe: std not recognized Pin
Christian Graus6-Dec-06 8:34
protectorChristian Graus6-Dec-06 8:34 
GeneralRe: std not recognized Pin
Anil_vvs6-Dec-06 17:18
Anil_vvs6-Dec-06 17:18 
GeneralRe: std not recognized Pin
Christian Graus6-Dec-06 17:27
protectorChristian Graus6-Dec-06 17:27 
GeneralRe: std not recognized Pin
Anil_vvs6-Dec-06 17:55
Anil_vvs6-Dec-06 17:55 
GeneralRe: std not recognized Pin
Christian Graus6-Dec-06 18:01
protectorChristian Graus6-Dec-06 18:01 
GeneralRe: std not recognized Pin
Anil_vvs6-Dec-06 18:52
Anil_vvs6-Dec-06 18:52 
QuestionHelp with converting GMT time to AEDT time in c++ Pin
dusty1435-Dec-06 17:49
dusty1435-Dec-06 17:49 
AnswerRe: Help with converting GMT time to AEDT time in c++ Pin
User 5838525-Dec-06 18:41
User 5838525-Dec-06 18:41 
Questionmemory & handle increase when using IXMLDOMDocument::load(), Pin
neerajkchauhan4-Dec-06 17:18
neerajkchauhan4-Dec-06 17:18 
AnswerRe: memory & handle increase when using IXMLDOMDocument::load(), Pin
George L. Jackson4-Dec-06 23:37
George L. Jackson4-Dec-06 23:37 

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.