home *** CD-ROM | disk | FTP | other *** search
- : Mat Ballard <mat.ballard@molsci.csiro.au> wrote:
-
- >Every LoadStr from
- >there is also out by 16.
-
- What happens if you change the code in SysUtils as below?
-
- Theoretically, this could work.
-
- **********************
-
- function EnumStringModules(Instance: Longint; Data: Pointer): Boolean;
- {$IFDEF LINUX}
- var
- rs: TResStringRec;
- Module: HModule;
- begin
- Module := Instance;
- rs.Module := @Module;
- with PStrData(Data)^ do
- begin
- rs.Identifier := Ident + 16; // <--- Add "+16" here
- Str := LoadResString(@rs);
- Result := Str = '';
- end;
- end;
- {$ENDIF}
-
- --
- NNQ - Quoting Style in Newsgroup Postings
- http://web.infoave.net/~dcalhoun/nnq/nquote.html
-