Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 32

Thread: Can thinbundle create a console exe?

  1. #21

    Re: Can thinbundle create a console exe?

    NP, thnaks for looking into this.

  2. #22

    Re: Can thinbundle create a console exe?

    Ok, while I'm checking on my side.
    Mike, actually I don't understand why the old thinairb.dll doesnt work!

    Ciao,
    Roberto
    http://www.thinbasic.com

  3. #23

    Re: Can thinbundle create a console exe?

    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
    Attached Files Attached Files
    http://www.thinbasic.com

  4. #24

    Re: Can thinbundle create a console exe?

    Sorry Roberto, still no output.

  5. #25

    Re: Can thinbundle create a console exe?

    Mike,

    have the script that you 'bundled' the .tbasicc extension?

    Ciao,
    Roberto
    http://www.thinbasic.com

  6. #26

    Re: Can thinbundle create a console exe?

    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:
    Line 1
    Line 2
    Line 3
    Line 4
    Line 5
    Line 6
    Line 7
    Line 8
    Line 9
    Line 10
    But I got same results with the bundled executable version of the script:
    pipe1.exe >test.txt
    Please see the attached file.

    Ciao,
    Roberto
    Attached Files Attached Files
    http://www.thinbasic.com

  7. #27

    Re: Can thinbundle create a console exe?

    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.

  8. #28
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10

    Re: Can thinbundle create a console exe?

    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
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

  9. #29

    Re: Can thinbundle create a console exe?

    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

  10. #30

    Re: Can thinbundle create a console exe?

    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
    http://www.thinbasic.com

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. How to create a new SDK?
    By Michael Hartlef in forum Turbo Delphi language SDK development
    Replies: 2
    Last Post: 30-11-2008, 13:46

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •