Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 02:32
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (qin), 3,221 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 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,050
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,050
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,050
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,050
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