Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
4 registered members (AndrewAMD, fogman, Grant, juanex), 972 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Output to stdout #374791
06/21/11 18:26
06/21/11 18:26
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Hey,

It would be a great addition (at least for me) if all diagnostic events of Gamestudio (ALL information written to the acklog.txt) could also be emitted to the stdout.
The standard output could be redirected by an external program and allow a better analysis of error messages..

A simple printf() with any file-access to the acknex.txt shouldn't be such a problem, at least i hope so laugh

Thank you very much in advance,
Timo

Re: Output to stdout [Re: TechMuc] #374835
06/21/11 21:47
06/21/11 21:47
Joined: Mar 2002
Posts: 1,774
Magdeburg
F
FlorianP Offline
Serious User
FlorianP  Offline
Serious User
F

Joined: Mar 2002
Posts: 1,774
Magdeburg
Amen!


I <3 LINQ
Re: Output to stdout [Re: FlorianP] #376877
07/07/11 09:27
07/07/11 09:27
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
dum di dum laugh

Re: Output to stdout [Re: TechMuc] #376881
07/07/11 10:28
07/07/11 10:28
Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
Quad Online
Senior Expert
Quad  Online
Senior Expert

Joined: Oct 2007
Posts: 5,209
İstanbul, Turkey
i have this: http://www.quadraxas.com/33-acknex-exe-with-console/

but this acknex.exe version is not able to publish to exe. you could use it as acknex_debug.exe
---

edit: this is of course for use to print your own messages, log messages are still printed to acklog

Last edited by Quad; 07/07/11 10:30.

3333333333
Re: Output to stdout [Re: Quad] #378134
07/20/11 02:56
07/20/11 02:56
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
aaand next bump....you can also write that you do not want to implement it (or maybe add it as a kind of startup option? eg. -print instead of -diag).. but just an answer would be nice!

Re: Output to stdout [Re: TechMuc] #378158
07/20/11 09:19
07/20/11 09:19
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
Ok, ok, we'll implement a stdout channel. It was already asked for some time ago, at least it's on my list since a couple of months.

Re: Output to stdout [Re: jcl] #378194
07/20/11 16:17
07/20/11 16:17
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
can't you use GetStdHandle and WriteFile?

Re: Output to stdout [Re: Joey] #378200
07/20/11 16:59
07/20/11 16:59
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
wuhuuu, won ;-)

@Joey: Yes this is what i intend to do.. But of course it is not possible, as long as the process does not emit anything to the stdout handle wink So thats exactly what i was asking for

I could hook the fopen and fwrite functions, but hey come on..I do not want to slow down such basic functions.. And additionally i'm not too sure if jcl would be happy if i kind of "hack" those functions and change the way the engine behaves..

Re: Output to stdout [Re: TechMuc] #378206
07/20/11 17:53
07/20/11 17:53
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
ah I see...


Moderated by  aztec, Spirit 

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