Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (henrybane), 1,246 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19059 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: 27,987
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

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

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,987
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 | 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