Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2006 Sep : 1st char of res-string is strange

www.cryer.info
Managed Newsgroup Archive

1st char of res-string is strange

Subject:1st char of res-string is strange
Posted by:"John Schmidt" (j.schmi..@npkelektro.com)
Date:Fri, 22 Sep 2006 08:15:53

Hi,

I'm getting strings from a string table on following way:

SetString(s, Buffer, LoadString (HResDLL, 0, Buffer, SizeOf(Buffer)));

where Buffer is an array[0..1023] of Char and s is a string. I red here th
1st string of the table. The 1st character is everytime a "?" and I need to
strip it by Delete(s, 1, 1). Is this normal?

The resource file linked to the DLL has been created by Resource Builder
2.0.

Regards,
John

Replies:

www.cryer.info
Managed Newsgroup Archive