Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (blaurock), 750 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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: 94
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 94
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,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
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: 94
7
7th_zorro Offline OP
Junior Member
7th_zorro  Offline OP
Junior Member
7

Joined: Oct 2018
Posts: 94
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,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
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