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


Groups > comp.lang.clipper.visual-objects > #13254 > unrolled thread

Path to DLLs

Started byFred Killet <killet@killetsoft.de>
First post2021-02-26 08:36 +0100
Last post2021-03-05 05:56 -0800
Articles 9 — 4 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Path to DLLs Fred Killet <killet@killetsoft.de> - 2021-02-26 08:36 +0100
    Re: Path to DLLs Fred Killet <killet@killetsoft.de> - 2021-02-28 09:51 +0100
      Re: Path to DLLs Phil McGuinness <sherlocksoftware@gmail.com> - 2021-02-28 01:12 -0800
        Re: Path to DLLs Fred Killet <killet@killetsoft.de> - 2021-02-28 13:54 +0100
    Re: Path to DLLs Fred Killet <killet@killetsoft.de> - 2021-03-01 18:13 +0100
      Re: Path to DLLs "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2021-03-01 22:44 +0100
        Re: Path to DLLs Fred Killet <killet@killetsoft.de> - 2021-03-04 17:18 +0100
          Re: Path to DLLs dlzc <dlzc1@cox.net> - 2021-03-04 08:53 -0800
            Re: Path to DLLs Phil McGuinness <sherlocksoftware@gmail.com> - 2021-03-05 05:56 -0800

#13254 — Path to DLLs

FromFred Killet <killet@killetsoft.de>
Date2021-02-26 08:36 +0100
SubjectPath to DLLs
Message-ID<s1a8dr$bhm$1@gwaiyur.mb-net.net>
Hello,

I use VO28 SP4. Is it possible to set for a specific program the path to 
  the needed DLLs?  I don't mean finding them using the environment 
variable "PATH".
Background: At program start the program should find its DLLs in any 
directory.

Kind regards, Fred

[toc] | [next] | [standalone]


#13260

FromFred Killet <killet@killetsoft.de>
Date2021-02-28 09:51 +0100
Message-ID<s1fli6$uqk$1@gwaiyur.mb-net.net>
In reply to#13254
Am 26.02.2021 um 08:36 schrieb Fred Killet:
> Hello,
> 
> I use VO28 SP4. Is it possible to set for a specific program the path to 
>   the needed DLLs?  I don't mean finding them using the environment 
> variable "PATH".
> Background: At program start the program should find its DLLs in any 
> directory.
> 
> Kind regards, Fred


Has somebody an idea?

[toc] | [prev] | [next] | [standalone]


#13261

FromPhil McGuinness <sherlocksoftware@gmail.com>
Date2021-02-28 01:12 -0800
Message-ID<8225ae6c-b043-4ea6-8045-efb9c51f01ddn@googlegroups.com>
In reply to#13260
snip[  I use VO28 SP4. Is it possible to set for a specific program the path to the needed DLLs? I don't mean finding them using the environment 
  variable "PATH".   Background: At program start the program should find its DLLs in any  directory.  ]
snip[  Has somebody an idea? ]

Note: The PATH is checked last..........

Fred

When you execute an application that depends on one or more DLLs, the Windows loader tries to load each needed DLL into memory (after first checking to see that it is not already loaded).  
The loader will search the following locations, in order:

1. The current drive and directory 
2. The main Windows directory and its SYSTEM subdirectory 
3. The directory that contains the module requesting the DLL (it may be the application or another DLL making the request) 
4. All directories specified in the PATH environment variable. 
 
If the DLL cannot be found in any of these locations, the loading process of the application is terminated and an error message displayed.

Phil
----

[toc] | [prev] | [next] | [standalone]


#13262

FromFred Killet <killet@killetsoft.de>
Date2021-02-28 13:54 +0100
Message-ID<s1g3qp$rpe$1@gwaiyur.mb-net.net>
In reply to#13261
> Fred
> 
> When you execute an application that depends on one or more DLLs, the Windows loader tries to load each needed DLL into memory (after first checking to see that it is not already loaded).
> The loader will search the following locations, in order:
> 
> 1. The current drive and directory
> 2. The main Windows directory and its SYSTEM subdirectory
> 3. The directory that contains the module requesting the DLL (it may be the application or another DLL making the request)
> 4. All directories specified in the PATH environment variable.
>   
> If the DLL cannot be found in any of these locations, the loading process of the application is terminated and an error message displayed.
> 
> Phil

Thank you for yoour explanation, Phil!

[toc] | [prev] | [next] | [standalone]


#13263

FromFred Killet <killet@killetsoft.de>
Date2021-03-01 18:13 +0100
Message-ID<s1j7bu$vvi$1@gwaiyur.mb-net.net>
In reply to#13254
Is it possible to influence some settings for an EXE created with VO28 
by means of a <app>.EXE.CONFIG file?

[toc] | [prev] | [next] | [standalone]


#13267

From"Urs Eggmann" <Urs.Eggmann@shinternet.ch>
Date2021-03-01 22:44 +0100
Message-ID<ia55isFakq7U1@mid.individual.net>
In reply to#13263
Hi Fred,

Why not write some settings in a INI-File with the IniFile class from Ivo
Wessel and read it in the start()?

Another possibility is the bStream Class from Joachim Bieler to convert
something in a binary string, save it in a file and read it  at start?
http://www.votools.com/german/tools/vo_libraries.htm

Or do I misunderstand the question?

Beste Grüsse
Urs


"Fred Killet" <killet@killetsoft.de> schrieb im Newsbeitrag
news:s1j7bu$vvi$1@gwaiyur.mb-net.net...
> Is it possible to influence some settings for an EXE created with VO28 by
> means of a <app>.EXE.CONFIG file?

[toc] | [prev] | [next] | [standalone]


#13275

FromFred Killet <killet@killetsoft.de>
Date2021-03-04 17:18 +0100
Message-ID<s1r19e$893$1@gwaiyur.mb-net.net>
In reply to#13267
Am 01.03.2021 um 22:44 schrieb Urs Eggmann:
> Hi Fred,
> 
> Or do I misunderstand the question?
> 
> Beste Grüsse
> Urs
> 
> "Fred Killet" <killet@killetsoft.de> schrieb im Newsbeitrag
> news:s1j7bu$vvi$1@gwaiyur.mb-net.net...
>> Is it possible to influence some settings for an EXE created with VO28 by
>> means of a <app>.EXE.CONFIG file?

Hi Urs,
What I mean is to tell the ready compiled and linked EXE the path to the 
needed VO28 DLLs. In this case I do not like to set the Environment 
variable PATH.

Gruß, Fred

[toc] | [prev] | [next] | [standalone]


#13276

Fromdlzc <dlzc1@cox.net>
Date2021-03-04 08:53 -0800
Message-ID<c758eadf-c7fa-49d4-8655-d082a66ef8e8n@googlegroups.com>
In reply to#13275
Hello Fred Killet:

On Thursday, March 4, 2021 at 9:18:56 AM UTC-7, Fred Killet wrote:
...
> Hi Urs, 
> What I mean is to tell the ready compiled and linked EXE the path to the 
> needed VO28 DLLs. In this case I do not like to set the Environment 
> variable PATH. 

They have told you what works in Windoze.  You don't have to use / change PATH.  You can put the DLLs where the EXE resides (I think), in the working directory for the EXE as it runs, or some other destination in the PATH that you did not have to set.

It is so much easier to ride the horse in the direction it is going.

David A. Smith

[toc] | [prev] | [next] | [standalone]


#13281

FromPhil McGuinness <sherlocksoftware@gmail.com>
Date2021-03-05 05:56 -0800
Message-ID<abf49692-9c81-4b12-ad67-e9cd47509430n@googlegroups.com>
In reply to#13276
........ ride the horse in the direction it is going. 

<bg>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web