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: 201
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: Amarildo Ribeiro, Henk van der Veer
8 Guest(s)

Currently Browsing this Page: Amarildo Ribeiro
1 Guest(s)

Top Posters:

ulrich-merkel: 1710

Iain Sharp: 623

Theo Neeskens: 345

gianni: 264

rogerw: 232

istiller: 201

lalitpct: 197

Knut: 179

-GHAN-: 171

Arjen van Vliet: 170

Member Stats:

Guest Posters: 3

Members: 7038

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2058

Posts: 8862

Newest Members:

Arabellaquife, ArthurEffit, RubenKip, MarinaGOVunse, Olpbtsj, Richardglums, Hellbladequife, RobertCab, Kcrdhlq, Kennethsherm

Administrators: admin: 23, Adrian Gosbell: 286, diseli: 836, Bob Maier: 3, Nico Peereboom: 65, Michael Rabone: 4, richiet: 406, JanCees: 28