broker dll ExitInstance() function not called from zorro.

Posted By: 7th_zorro

broker dll ExitInstance() function not called from zorro. - 03/25/19 01:36

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.
Posted By: AndrewAMD

Re: broker dll ExitInstance() function not called from zorro. - 03/25/19 01:39

It is the plugin writer’s responsibility to clean up memory between login calls. So this is a problem with the plugin in question.
Posted By: 7th_zorro

Re: broker dll ExitInstance() function not called from zorro. - 03/25/19 01:45

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.
Posted By: AndrewAMD

Re: broker dll ExitInstance() function not called from zorro. - 03/25/19 01:52

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.
© 2024 lite-C Forums