Announcement

Collapse
No announcement yet.

Byte copying

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Byte copying

    Hi,

    I have a small doubt. I have a byte pointer named *pByteString which points to the variable ByteString[100]. I want to byte copy a string into this array using byte pointer. I used mem_Copy() in the following way. But it did n't copy anything.

    pByteString := str_Byte(ByteString);
    to(OutputStr); print("HelloWorld');
    mem_Copy(OutputStr,(pCaseDetails+0),10);

    How can i correct this code...please help me.....

    Thanks
    RHS

  • #2


    There's too many inconsistencies in what you have said/posted to figure out what you are really trying to do.

    Can you post a small 'working' example?
    Mark

    Comment

    Working...
    X