TIvoryResFileBase::LoadFromDll

Loads an object from a resource of a DLL or an EXE file.

Form 1:

void __fastcall LoadFromDll(const String resname, const String dllname);

Form 2:

void __fastcall LoadFromDll(int resid, const String dllname);

Description

Use LoadFromDll to load an object from a resource specified by resname or resid. The resource will be read from the DLL or EXE file speficied by dllname. You can also use the DllName and ResourceName properties to load an object from a resource.

Back to TIvoryResFileBase