How to get DLL path in BPL?? Get link Facebook X Pinterest Email Other Apps - May 23, 2018 How to get DLL path in BPL??abc.DLL are build with package1.bpl. How to get the path of abc.DLL in package1.bpl? Get link Facebook X Pinterest Email Other Apps Comments David HoyleMay 24, 2018 at 4:47 AMUse GetModuleName() passing the hInstance of the DLL and you will get the dll name and path.ReplyDeleteRepliesReplyDavid HeffernanMay 24, 2018 at 6:32 AMDavid Hoyle That's if you have the module handle. GetModuleHandle('abc.dll') does that. And the function you mention is GetModuleFileName.ReplyDeleteRepliesReplyDavid HoyleMay 24, 2018 at 6:34 AMThank David Heffernan. Tried to remember off the top of my head as I'm not near any dev tools.ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
Use GetModuleName() passing the hInstance of the DLL and you will get the dll name and path.
ReplyDeleteDavid Hoyle That's if you have the module handle. GetModuleHandle('abc.dll') does that. And the function you mention is GetModuleFileName.
ReplyDeleteThank David Heffernan. Tried to remember off the top of my head as I'm not near any dev tools.
ReplyDelete