Thread: small question
View Single Post
  #2  
Old 12-12-2004, 10:29
TQN TQN is offline
VIP
 
Join Date: Apr 2003
Location: Vietnam
Posts: 358
Rept. Given: 143
Rept. Rcvd 24 Times in 13 Posts
Thanks Given: 196
Thanks Rcvd at 168 Times in 51 Posts
TQN Reputation: 24
Delphi string can be a short string, long string or a PChar type (null terminated). In your case, I guess it is a short string or a long string. If they are, the dword preceding will contain the length of string. So you need change it from 14 to 15 (0E to 0F). The Delphi long string need a null char (00) at the end of string content.
Regards,
TQN
Reply With Quote