Myles Penlington asks:

> Subject: [DUG]: How to detect if a DLL/BPL is already loaded?

> I can think of several other ways to achieve this. I just don't want
> to write any code to achieve it - is is there a Win32 api call that
> can achieve this?

Just use the GetModuleHandle call to try and get the hamdle to the DLL/DPL.
Check the Win32 API dcos for more information.

Cheers, Max.

---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to