mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-22 10:01:33 +02:00
* change resourcestream.handle from thandle to TPFResourceHGlobal, since it is
a pointer, and handle is a 32-bit integer on 64-bit *nix. git-svn-id: trunk@19042 -
This commit is contained in:
parent
daa27f636d
commit
47af891513
@ -934,7 +934,7 @@ type
|
||||
TResourceStream = class(TCustomMemoryStream)
|
||||
private
|
||||
Res: TFPResourceHandle;
|
||||
Handle: THandle;
|
||||
Handle: TFPResourceHGLOBAL;
|
||||
procedure Initialize(Instance: THandle; Name, ResType: PWideChar; NameIsID: Boolean);
|
||||
public
|
||||
constructor Create(Instance: THandle; const ResName: WideString; ResType: PWideChar);
|
||||
@ -945,7 +945,7 @@ type
|
||||
TResourceStream = class(TCustomMemoryStream)
|
||||
private
|
||||
Res: TFPResourceHandle;
|
||||
Handle: THandle;
|
||||
Handle: TFPResourceHGLOBAL;
|
||||
procedure Initialize(Instance: THandle; Name, ResType: PChar; NameIsID: Boolean);
|
||||
public
|
||||
constructor Create(Instance: THandle; const ResName: string; ResType: PChar);
|
||||
|
Loading…
Reference in New Issue
Block a user