Re: How to load DLL from a specific folder




"Andy" <andy@xxxxxxxxxx> skrev i en meddelelse
news:433cbd86@xxxxxxxxxxxxxxxxxxxxxxxxx
> I have a .pas wrapper for a C++ dll. Currently, it is compiled into the
> application where it would bombed out without the presence of the dll. How
> do I make my application load the dll from a specific folder in my code?
And
> how do I use my .pas wrapper in this particular case?

You will have to use use dynamic loading of the dll. With LoadLibrary you
can specift exact path of the dll.
For examples search google groups for
LoadLibrary GetProcAddress FreeLibrary
--
Finn Tolderlund


.



Relevant Pages

  • How to load DLL from a specific folder
    ... I have a .pas wrapper for a C++ dll. ... application where it would bombed out without the presence of the dll. ... Prev by Date: ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Desktop Icon Creating- without WSH
    ... In fact my startup form has code to detect user's Windows and system ... and also it can check for the presence of this particular dll. ... I would rename the DLL and keep it in App.Path ...
    (microsoft.public.vb.winapi)
  • Re: COM/DLLs
    ... You can use dependency walker to check for presence of DllRegisterServer function in dll. ... Registration Command). ...
    (microsoft.public.windowsxp.embedded)
  • Re: COM/DLLs
    ... >> You can use dependency walker to check for presence of DllRegisterServer function in dll. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Presence Awareness in SharePoint
    ... Brian wrote: ... for presence to work MS Office 2003 ... Multiple versions of that dll cause presence to function improperly. ... Madhur Ahuja ...
    (microsoft.public.sharepoint.portalserver)