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
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,055 guests, and 7 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
Page 2 of 2 1 2
Re: dll_open and c-Lite [Re: FBL] #176058
01/07/08 10:13
01/07/08 10:13
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Can someone send me a project where a DLL works in the PLUGINDIR, but does not work with dll_open? I'll look into this. At the moment I can not confirm a problem with dll_open.

Re: dll_open and c-Lite [Re: jcl] #176059
01/08/08 18:11
01/08/08 18:11
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I'll send you a sample project in a few days. I'm pretty much under time pressure currently, sorry.

Re: dll_open and c-Lite [Re: FBL] #176060
01/22/08 22:35
01/22/08 22:35
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Did you recieve my email concerning the Wiimote library?

----------------

I haven't had time yet to put together a simple example showing the necessity of a WDL file, but it's on my list.

Re: dll_open and c-Lite [Re: FBL] #176061
01/23/08 09:02
01/23/08 09:02
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Yes. I'm late with answering emails, but I'll respond today or tomorrow.

Re: dll_open and c-Lite [Re: jcl] #176062
02/01/08 15:56
02/01/08 15:56
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
I'm late as well, but I've finished a small demonstration for the dll_open() related problem.

Find the files here: http://www.firoball.de/upload/tracker_debug.zip

Start tracker.c
First it should show a dialog with some number (it's the DLL handle - the proof that you're right about dll_open finding the DLL). Then it should show the state of your Wiimote (not necessary to connect it for reproducing this problem - it only reports either "found" or "not found")

If you rename tracker.wdl to something different and try the same thing again, Acknex will crash.
I added a comment to the functions which are called from the DLL to give you some overview which is what.

Hope that helps to narrow down the problem.

Re: dll_open and c-Lite [Re: FBL] #176063
02/04/08 11:49
02/04/08 11:49
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Thanks for the example! Yes, there's indeed a bug - his DLL is not properly opened by dll_open. This will be fixed. We'll probably replace dll_open anyway by a pragma definition. Until then, don't use dll_open but keep the DLL in the plugindir.

Re: dll_open and c-Lite [Re: jcl] #176064
02/11/08 14:35
02/11/08 14:35
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
but....

pragma_ ... does not allow us to load/reload DLLs at runtime

Re: dll_open and c-Lite [Re: FBL] #176065
02/11/08 16:03
02/11/08 16:03
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
Sure you can load them at runtime, but with DefineApi() or LoadLibrary(), not with the pragma method. Look here:

http://manual.conitec.net/litec_api.htm

Re: dll_open and c-Lite [Re: jcl] #176066
02/11/08 16:09
02/11/08 16:09
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Oh this works for custom dlls as well? I thought it only was for Windows API stuff....

Re: dll_open and c-Lite [Re: FBL] #176067
02/12/08 10:28
02/12/08 10:28
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
No, DefineApi() or LoadLibrary() work with all Win32 DLLs, including engine plugins.

Page 2 of 2 1 2

Moderated by  jcl, Nems, Spirit, 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