Gamestudio Links
Zorro Links
Newest Posts
Help with sorting data array
by Petra. 05/18/22 12:14
C++ scripts
by Grant. 05/18/22 11:33
How to use dataFromCSV
by AndrewAMD. 05/16/22 16:43
MT4, handling requote issues
by Grant. 05/15/22 00:04
Lapsa's very own thread
by Lapsa. 05/14/22 22:59
My new game Corridor Sigma
by 3run. 05/12/22 20:06
AUM Magazine
Latest Screens
DEAD TASTE
Tactics of World War I
Hecknex World
Scheherazade's Journey
Who's Online Now
7 registered members (degenerate_762, Petra, Grant, HamzaAhmed, Quad, 3run, 1 invisible), 171 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Abdou, quandr, SGB1962, QuadraQuant, IcairDap
18781 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Broker or Zorro Messages? [Re: DdlV] #485906
05/05/22 17:15
05/05/22 17:15
Joined: Jul 2000
Posts: 27,777
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,777
Frankfurt
You cannot open a file while another app is just writing into it. But you can open it while Zorro is not writing, for instance when you click Stop and the Messagebox pops up.

Re: Broker or Zorro Messages? [Re: DdlV] #485908
05/05/22 19:22
05/05/22 19:22
Joined: Jun 2013
Posts: 1,580
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,580
Thanks @jcl.

Yes, I understand write locks. However, it seems *diag.txt is _always_ locked - as compared to log files which seem to be copy-able any time.

I will try the Stop trick.

Thanks.

Re: Broker or Zorro Messages? [Re: DdlV] #485912
05/09/22 04:21
05/09/22 04:21
Joined: Jun 2013
Posts: 1,580
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,580
@jcl,

Tried the Stop trick - didn't work - tried with both prompt windows open - Zorro still has diag.txt locked.

Any other ideas?

Thanks.

Re: Broker or Zorro Messages? [Re: DdlV] #485914
05/09/22 11:22
05/09/22 11:22
Joined: Jul 2000
Posts: 27,777
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,777
Frankfurt
It's clear that the diag.txt file is often locked because Zorro writes all the time into it. But it should not be locked when nothing is written. I'll inquire what may be the reason, and wil then get back to you.

Update: The diag file indeed remains locked during the whole session for speed reasons. So you must really stop the session for reading it, then restart the session. I've put reading it with the stop trick on our todo list. It will be implemented in the next beta.

Re: Broker or Zorro Messages? [Re: DdlV] #485916
05/09/22 19:09
05/09/22 19:09
Joined: Jun 2013
Posts: 1,580
D
DdlV Offline OP
Serious User
DdlV  Offline OP
Serious User
D

Joined: Jun 2013
Posts: 1,580
Thanks @jcl.

I don't suppose this qualifies as a "critical bug"? laugh (Even though it's been a quite annoying issue since the beginning...) I'll keep looking...

Thanks.

Page 2 of 2 1 2

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