browse: forums | FAQ
Connecting Tech Pros Worldwide

Hey there! Do you need C# / C Sharp help?

Get answers from our community of C# / C Sharp experts on BYTES! It's free.

efficient data type to transfer data from managed to unmanaged

GeRmIc
Guest
 
Posts: n/a
#1: Nov 16 '05
Hi,

I am trying to pass a string of values seperated by a : (ex:
ABC:12:R50:XY10) from a C# code to C code.

What is the best format that I could sent the data so that I could parse it
and retreive the data easily in the C code. Now, I am passing it as a String
from C# but really getting stuck parsing in from C.

Guess, a char* data type would be more easy to parse in C.

Comments & Advice Pls,



Eric Tsai
Guest
 
Posts: n/a
#2: Nov 16 '05

re: efficient data type to transfer data from managed to unmanaged


See if this helps:
http://support.microsoft.com/?kbid=311259

"GeRmIc" wrote:
[color=blue]
> Hi,
>
> I am trying to pass a string of values seperated by a : (ex:
> ABC:12:R50:XY10) from a C# code to C code.
>
> What is the best format that I could sent the data so that I could parse it
> and retreive the data easily in the C code. Now, I am passing it as a String
> from C# but really getting stuck parsing in from C.
>
> Guess, a char* data type would be more easy to parse in C.
>
> Comments & Advice Pls,[/color]
Closed Thread