Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5166

Re: Dynamic DLL access

From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Dynamic DLL access
Date 2013-04-27 14:51 +0200
Message-ID <au1vu0Fr4cpU1@mid.individual.net> (permalink)
References <klg4ng$r1h$1@dont-email.me>

Show all headers | View raw


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.

Wolfgang

-- 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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