Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #5169
| From | Malcolm G <malcolm-news2012delete@delete.jobstream.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Dynamic DLL access |
| References | <klg4ng$r1h$1@dont-email.me> <au1vu0Fr4cpU1@mid.individual.net> |
| Message-ID | <04qft.81051$z82.44236@fx07.fr7> (permalink) |
| Organization | virginmedia.com |
| Date | 2013-04-29 09:21 +0100 |
On 27/04/2013 13:51, Wolfgang Riedmann wrote: > Hi Kai, > >> Is there any possibility to get this working in VO as well? I tried >> adding >> >> _DLL FUNCTION _SetDllDirectory(lpPathName AS STRING) AS LOGIC >> PASCAL:KERNEL32.SetDllDirectoryA >> >> to my DLL, but every addition of a _DLL FUNCTION that references a >> DLL that is not in the same directory as the DLL that has >> _SetDllDirectory in it, results in an DllNotFoundException being >> thrown. > > in VO, the DLL must not be in the same directory as the executable, but > must be found in the path. > > I'm using many C dlls referenced with _dll function statements, and > normally, on deployment, I keep them in the same directory as the > executable. > On my development machine, they are never in the executable directory. From memory there are 3 important components the exe path the current path the current windows environment PATH MS docs on the search order http://msdn.microsoft.com/en-us/library/windows/desktop/ms682586%28v=vs.85%29.aspx
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Dynamic DLL access Kai Michael Poppe <kmpams@gmail.com> - 2013-04-27 09:11 +0000
Re: Dynamic DLL access "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-27 14:51 +0200
Re: Dynamic DLL access Kai Michael Poppe <kmpams@gmail.com> - 2013-04-27 16:13 +0000
Re: Dynamic DLL access "Wolfgang Riedmann" <wriedmann@gmail.com> - 2013-04-27 22:19 +0200
Re: Dynamic DLL access Malcolm G <malcolm-news2012delete@delete.jobstream.com> - 2013-04-29 09:21 +0100
Re: Dynamic DLL access Mathias <mathias.hakansson@consultec.se> - 2013-04-29 02:03 -0700
csiph-web