Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,492 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
broker dll ExitInstance() function not called from zorro. #476703
03/25/19 01:36
03/25/19 01:36
Joined: Oct 2018
Posts: 96
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 96
I am now developing custom broker dll.
I found a problem that zorro not call ExitInstance() of dll when stop trading.
the broker dll may not be unplugged properly. So cannot restart trade again.
I found another broker dll also have same problem.
I think this may be fixed.
I tested zorro s 2.03 on windows 10 x64.

Last edited by 7th_zorro; 03/25/19 01:40.
Re: broker dll ExitInstance() function not called from zorro. [Re: 7th_zorro] #476704
03/25/19 01:39
03/25/19 01:39
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
It is the plugin writer’s responsibility to clean up memory between login calls. So this is a problem with the plugin in question.

Re: broker dll ExitInstance() function not called from zorro. [Re: AndrewAMD] #476705
03/25/19 01:45
03/25/19 01:45
Joined: Oct 2018
Posts: 96
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 96
I clean up memory when BrokerLogin with Name is null (Logout request).
The problem is when I restart trade again, BrokerLogin function not be called.

Re: broker dll ExitInstance() function not called from zorro. [Re: 7th_zorro] #476706
03/25/19 01:52
03/25/19 01:52
Joined: Feb 2017
Posts: 1,729
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,729
Chicago
Hmm, actually I think I had this issue too. So sometimes I have to hit the Trade button multiple times or let time pass, then it’s back to normal.


Moderated by  Petra 

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