NP, thnaks for looking into this.
Printable View
NP, thnaks for looking into this.
Ok, while I'm checking on my side.
Mike, actually I don't understand why the old thinairb.dll doesnt work!
Ciao,
Roberto
Trouble seems due to compilation's issue.
However could you please check and confirm if with the attached DLL the bundle works fine?
Thank you very much and best regards,
Roberto
Sorry Roberto, still no output.
Mike,
have the script that you 'bundled' the .tbasicc extension?
Ciao,
Roberto
Michael,
sorry but I'm not able to replicate the trouble.
I made a simple console script pipe1.tbasicc:
[code=thinbasic]uses "Console"
dim i as long
for i = 1 to 10
Console_WriteLine(" Line " + str$(i))
next [/code]
If I run it with: pipe1.tbasicc >test.txt
the test.txt file contains the followings rows:
But I got same results with the bundled executable version of the script:Quote:
Line 1
Line 2
Line 3
Line 4
Line 5
Line 6
Line 7
Line 8
Line 9
Line 10
pipe1.exe >test.txt
Please see the attached file.
Ciao,
Roberto
Hi Roberto,
sorry but i didn't find time the last to days. As soon as I can, I will check everything again.
To bad I overwrote the tb version prior to the last update.
I've tested here latest version just released and above sample.
All seems working fine as far as original script has .tbasicc estension. In this case thinBundle will create a console application and standard output chain will be integrated. If script has .tbasic extension a GUI application will be created and standard output seems broken. But this is by design.
Let us know Mike.
Ciao
Eros
Well ofcourse, the simple test you did works when you output the console into a file, but with a program like ConTEXT, it doesn't display anything anymore.
It worked before but not anymore. At least here it doesn't.
But it doesn't matter to me. It was just a test anyway.
Cheers
Michael
Michael,
if you have time it should be very interesting to understand what exactly has happened.
For me if console script works sending data to standard output that is redirect (by the OS) to a disk file it should work with any standard output redirection, maybe there are some others kind of impediments.
Ciao,
Roberto