Results 1 to 6 of 6

Thread: Bundled exe and command line

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

    Bundled exe and command line

    Roberto,

    in case of a bundled exe is executed, I think you have to pass CommandLine to createprocessex otherwise it will not be possible to use command line with scripts.

    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

  2. #2

    Re: Bundled exe and command line

    Yes, you are right but command line is out o may hands now, I'm focusing on compression and how automatically adding minimal modules.

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

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

    Re: Bundled exe and command line

    Roberto,

    current thinBundle have "Command line" text box in order to add fixed command line when script inside bundled exe is executed.
    I think command line should be dynamic and not specified during bundling.

    When bundled exe is executed, main runtime should take full command line and pass to thinbasic main script during CreateProcessEx.
    So if bundled exe is executed as:

    MyBundledExe.exe MyCommand1 MyCommand2
    
    CreateProcessEx should be something like:

    thinBasic.exe MyMainScript.tBasic MyCommand1 MyCommand2
    
    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

  4. #4

    Re: Bundled exe and command line

    Perhaps it should be already done as you say, sorry may be it does not work properly!
    http://www.thinbasic.com

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

    Re: Bundled exe and command line

    OK, thanks Roberto.
    I will check and get you back
    Ciao
    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

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

    Re: Bundled exe and command line

    Roberto,

    seems working fine now. Both fixed and dynamic command line parameters are handled.
    This feature will be present in next release.

    Thanks
    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

Similar Threads

  1. CAD command line
    By Petr Schreiber in forum Real world situations and solutions using thinBasic
    Replies: 3
    Last Post: 13-10-2007, 21:03

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
  •