Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, Ayumi, AndrewAMD), 1,092 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
DLL loads when published but not in SED ? #380423
08/17/11 15:04
08/17/11 15:04
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline OP
Serious User
darkinferno  Offline OP
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
What could cause a dll to load when published but not when ran from SED ?

I'm trying to get FMOD working on A7

Re: DLL loads when published but not in SED ? [Re: darkinferno] #380424
08/17/11 15:18
08/17/11 15:18
Joined: Jul 2008
Posts: 894
T
TechMuc Offline
User
TechMuc  Offline
User
T

Joined: Jul 2008
Posts: 894
the dll should be in the acknex_plugins folder, in your game folder, or in any folder defined via PRAGMA_PLUGIN.

When running from SED i would suggest you to put it into the acknex_plugins folder, this will work for 100% (ofc only if the dll itself loads correctly).

Re: DLL loads when published but not in SED ? [Re: TechMuc] #380428
08/17/11 15:43
08/17/11 15:43
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
TechMuc, it doesn't load for dark even if he place dll in acknex_plugins, but it works for me if I simply place dll in projects folder... this is really strange.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: DLL loads when published but not in SED ? [Re: 3run] #380431
08/17/11 17:30
08/17/11 17:30
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline OP
Serious User
darkinferno  Offline OP
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
as 3run says, its in all folders, i tried pragma_plugin also, nothng works, but as soon as i compile and start with the exe... its fine

[EDIT]
btw, this is the fmod dll for A7

Re: DLL loads when published but not in SED ? [Re: darkinferno] #380432
08/17/11 17:40
08/17/11 17:40
Joined: Jul 2008
Posts: 894
T
TechMuc Offline
User
TechMuc  Offline
User
T

Joined: Jul 2008
Posts: 894
most probably the loading of the dll fails.. do you have the source of the dll? if you try to debug into the DllMain method and check if it's called (if it is, at least the engine trys to load the dll wink ).

happy birthday btw

Last edited by TechMuc; 08/17/11 17:40.
Re: DLL loads when published but not in SED ? [Re: TechMuc] #380433
08/17/11 17:50
08/17/11 17:50
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline OP
Serious User
darkinferno  Offline OP
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
well no i dont, i think it was created by heelX who seems to no longer care much for maintaining it i guess but it works for 3run and other users, same GS version, soo.. i'm at a loss ...

Re: DLL loads when published but not in SED ? [Re: darkinferno] #380439
08/17/11 18:54
08/17/11 18:54
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
If you have plugins in your acknex_plugins folder, those plugins will be loaded when starting through SED but not when starting the published .exe. So maybe another plugin makes problems in combination with the fmod.dll, a plugin that is only loaded when the engine is started through SED. But because this plugin isn't used it's not included to the published project and thus the fmod.dll works in this case.


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: DLL loads when published but not in SED ? [Re: Dark_samurai] #380446
08/17/11 19:58
08/17/11 19:58
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline OP
Serious User
darkinferno  Offline OP
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)
removed all except the needed FMOD dlls and.... still failed, this is really strange though

Re: DLL loads when published but not in SED ? [Re: darkinferno] #380449
08/17/11 20:28
08/17/11 20:28
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
maybe you need to install a dependency. like vcredist. run dependency walker on the wrapper dll.


3333333333
Re: DLL loads when published but not in SED ? [Re: Quad] #380475
08/18/11 07:50
08/18/11 07:50
Joined: May 2009
Posts: 1,816
at my pc (duh)
darkinferno Offline OP
Serious User
darkinferno  Offline OP
Serious User

Joined: May 2009
Posts: 1,816
at my pc (duh)

Last edited by darkinferno; 08/18/11 08:24. Reason: fixed links
Page 1 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | 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