Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Aug : How to get library handle from procedure(function) address?
| Subject: | How to get library handle from procedure(function) address? |
| Posted by: | "Iv Kozhuharov" (dum..@newsgroups.borland.com) |
| Date: | Tue, 9 Aug 2005 19:19:00 |
Hi,
A need some help with retrieving the full path and filename for the module
(DLL) file from exported function name.
I mean this:
If I have a function MyFunction that is exported from MyOwn.dll, I need to
get full path and file name of MyOwn.dll, either library is loaded
dynamically by LoadLibrary or Static loaded by definition "function
MyFunction; external 'MyOwn.DLL';". So I need something like
Function ReturnLibraryPathAndName(FunctionAddressPointer:Pointer):String;
How to get library handle from procedure(function) address?
Thank you,
Iv