mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-06 18:38:33 +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);
|
constructor TResourceStream.CreateFromID(Instance: THandle; ResID: Integer; ResType: PChar);
|
||||||
begin
|
begin
|
||||||
inherited create;
|
inherited create;
|
||||||
Initialize(Instance,pchar(ResID),ResType);
|
Initialize(Instance,pchar(PtrInt(ResID)),ResType);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user