Here's my guess:
Open the resource
extract the DLL to DISK
use LoadModule and getProcAddress to bind to the function
Or just ship the DLL WITH the EXE!! I doubt you can run it directly from
the RES file...
N
Alistair George wrote:
>
> Hi. I know how to put Icons, wav and so on into RES files, but have no info
> on putting a dll there as well.
> I want to include an external dll as below into my compiled resource. Can
> anyone advise how to do this, and access it?
> Tks,
> Alistair+
>
> function player_new; external 'xaudio.dll';
>
> ---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz