Sreach order for DLLs | Uniface 9 | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
Sreach order for DLLs
06 Dec 2017
11:45 am
Avatar
istiller
Member
Forum Posts: 235
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi freaks

Does anyone know the “search order” of DLLs, defined in ASN-File and by signature?

Following (two) constellation:

 

A C-Signature  “MYDLL_SIG” is defined in UnifAce with dll name “mydll”
The ASN-Files contains to places, where the DLL is referered (okay, not good but it could happen)

Case 1
  [user_3gl]
  \\server\path_a\mydll.dll
  ;via include
  [user_3gl]
  \\server\path_b\mydll.dll

Case 2
  ;via include
  [user_3gl]
  \\server\path_b\mydll.dll
  ;back in primary ASN
  [user_3gl]
  \\server\path_a\mydll.dll

In the application shell execute trigger, there is a simple

  debug
  $01=””
  newinstance “MYDLL_SIG”,$01

Now I do monitor the access to the DLLs by procmon.

  Case 1: Allways the DLL under path_a is loaded

  Case 2: The startup of UnifAce loads from path_a but the newinstance is loading from path_b

So why is there a difference?
Does anyone know the logic behind this?

Ingo
PS: We did “correct” this one by modifing the ASN-files, but strange it is anyway 🙂

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online: Adrian Gosbell, Lauterbach, tommyb42
17 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1762

Iain Sharp: 648

Theo Neeskens: 353

gianni: 297

rogerw: 251

istiller: 235

Knut: 201

lalitpct: 197

Arjen van Vliet: 175

sochaz: 173

Member Stats:

Guest Posters: 3

Members: 8444

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2161

Posts: 9344

Newest Members:

briancoleman@aurion.com, kevinmckeever@aurion.com, WarrenNob, brigittebr18, agrohimcsh, englewtat, AbbalibaJor, HanhitCholo, RobertEdumb, lenorajr69

Administrators: admin: 23, Adrian Gosbell: 303, diseli: 935, Bob Maier: 3, Nico Peereboom: 75, Michael Rabone: 4, richiet: 406, JanCees: 28