Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2008 Mar : How to convert this in C to a TByteDynArray

www.cryer.info
Managed Newsgroup Archive

How to convert this in C to a TByteDynArray

Subject:How to convert this in C to a TByteDynArray
Posted by:"Darryl Strickland" (stricd..@gmail.com)
Date:Mon, 3 Mar 2008 15:11:06

I need to send Hex values to a C DLL file as a Byte Array.  So how would I
store the example below in a TByteDynArray?

unsigned char sampleString[35] =
{
0x53, 0x65, 0x63, 0x75, 0x72, 0x65, 0x20, 0x53, 0x65, 0x72, 0x76, 0x69,
0x63, 0x65,     0x73, 0x20, 0x43, 0x6F, 0x72, 0x70, 0x20, 0x2D, 0x20, 0x53,
0x48, 0x41, 0x50, 0x45, 0x20, 0x4C, 0x69, 0x6E, 0x78, 0x21, 0x00} ;


Thanks

Darryl

Replies:

www.cryer.info
Managed Newsgroup Archive