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


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

Re: Dynamic DLL access

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Wolfgang Riedmann" <wriedmann@gmail.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Dynamic DLL access
Date Sat, 27 Apr 2013 14:51:13 +0200
Lines 25
Message-ID <au1vu0Fr4cpU1@mid.individual.net> (permalink)
References <klg4ng$r1h$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
X-Trace individual.net KLzJzfW/kuFLV1HJmcAaXQnn7OwyQFYdsXsglWwTSeRI0Y3Uw=
Cancel-Lock sha1:eCX0cc7/2BIfrbbSuW2SQkJD+FM=
User-Agent XanaNews/1.18.1.6
Xref csiph.com comp.lang.clipper.visual-objects:5166

Show key headers only | 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