mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-07 10:20:23 +02:00
* fixed resource streams for 64 bit systems
git-svn-id: trunk@1158 -
This commit is contained in:
parent
eb57d588fd
commit
95b995fe27
@ -777,7 +777,7 @@ constructor TResourceStream.Create(Instance: THandle; const ResName: string; Res
|
||||
constructor TResourceStream.CreateFromID(Instance: THandle; ResID: Integer; ResType: PChar);
|
||||
begin
|
||||
inherited create;
|
||||
Initialize(Instance,pchar(ResID),ResType);
|
||||
Initialize(Instance,pchar(PtrInt(ResID)),ResType);
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user