Skip to content

TResourceStream.CreateFromID

Creates a new instance of a resource stream with a resource.

Declaration

Source position: classesh.inc line 1729

public 
constructor CreateFromID(Instance: TFPResourceHMODULE; ResID: Integer; 
                        ResType: PAnsiChar);

constructor CreateFromID(Instance: TFPResourceHMODULE; ResID: Integer; 
                        ResType: PWideChar);

Description

The resource is loaded from the loaded module (identified by the handle Instance), identifier ResID and type ResType.