Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (OptimusPrime, AndrewAMD), 14,580 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
DLL Search order #136062
06/12/07 23:04
06/12/07 23:04
Joined: Apr 2007
Posts: 4
New Mexico, USA
R
Radly Offline OP
Guest
Radly  Offline OP
Guest
R

Joined: Apr 2007
Posts: 4
New Mexico, USA
We implement part of our game logic with C++ DLLs, some of which provide entry points that are defined with the DLLFUNC statement in the script. I'm looking for documentation that tells what search order Acknex uses to find what it needs for satisfying those DLLFUNC statements. I thought I understood it until a DLL was loaded by surprise, from a location I didn't expect to be searched.


AKA Daryl Lee Game programmer wannabe
Re: DLL Search order [Re: Radly] #136063
06/13/07 05:36
06/13/07 05:36
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
The engine searches first in the DLLs in its plugins folder (normally acknex_plugins), and then in the DLLs explicitely loaded by dll_open(). If you use dll_open(), take care that you don't have a different DLL with the same function names in the plugins folder.

Re: DLL Search order [Re: jcl] #136064
06/13/07 22:25
06/13/07 22:25
Joined: Apr 2007
Posts: 4
New Mexico, USA
R
Radly Offline OP
Guest
Radly  Offline OP
Guest
R

Joined: Apr 2007
Posts: 4
New Mexico, USA
And in the standalone case (no acknex_plugns) wouldn't it search in the executable's folder only?


AKA Daryl Lee Game programmer wannabe
Re: DLL Search order [Re: Radly] #136065
06/14/07 06:13
06/14/07 06:13
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Unless you gave a different folder through PLUGINS_DIR.


Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1