PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: WinFBE 1.4.7 on GitHub (August 23, 2017)  (Read 168 times)

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8090
  • Windows 10
    • PlanetSquires Software
WinFBE 1.4.7 on GitHub (August 23, 2017)
« on: August 23, 2017, 04:45:30 PM »

Version 1.4.7 (August 23, 2017)
- Changed: Replaced FB's OPEN PIPE with WinAPI in order to prevent console window on screen during compiling.

Version 1.4.6 (August 23, 2017)
- Changed: "Save Declares File" now defaults to *.bi file extension rather than *.bas.
- Changed: Converted compiling process from batch file to Pipe in order to better handle international languages.

https://github.com/PaulSquires/WinFBE/releases
« Last Edit: August 23, 2017, 10:31:44 PM by TechSupport »
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2735
    • Josť Roca Software
Re: WinFBE 1.4.6 on GitHub (August 23, 2017)
« Reply #1 on: August 23, 2017, 05:37:57 PM »

Why opens an additional console, that closes before the program is run, even when you compile it as GUI?

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8090
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.4.6 on GitHub (August 23, 2017)
« Reply #2 on: August 23, 2017, 07:42:14 PM »

That must be because of FB's OPEN PIPE command. I am noticing that now. Strange that I didn't notice earlier today that shell window open when compiling. I will switch the code over to my WinAPI version of OPEN PIPE and see if the shell window pops up also. I will post new package hopefully tonight.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8090
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.4.6 on GitHub (August 23, 2017)
« Reply #3 on: August 23, 2017, 10:18:06 PM »

Looks like FB's OPEN PIPE command displays a console window which is annoying when compiling. I have re-coded the OPEN PIPE functionality using pure WinAPI and set the CreateProcess creation flag to CREATE_NO_WINDOW in order to hide the window. It seems to work well.

Once I know it is working then I will clean up the compile source code file by removing all of the old code that used the batch file approach as well as the code of the FB version of OPEN PIPE.

Version 1.4.7 (August 23, 2017)
- Changed: Replaced FB's OPEN PIPE with WinAPI in order to prevent console window on screen during compiling.

https://github.com/PaulSquires/WinFBE/releases
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Josť Roca

  • FireFly3 Registered User
  • Master FireFly Member
  • *
  • Posts: 2735
    • Josť Roca Software
Re: WinFBE 1.4.7 on GitHub (August 23, 2017)
« Reply #4 on: August 24, 2017, 04:33:02 AM »

That must be because of FB's OPEN PIPE command. I am noticing that now. Strange that I didn't notice earlier today that shell window open when compiling. I will switch the code over to my WinAPI version of OPEN PIPE and see if the shell window pops up also. I will post new package hopefully tonight.


Works fine now. Thanks very much.

Paul Squires

  • Administrator
  • Master FireFly Member
  • *****
  • Posts: 8090
  • Windows 10
    • PlanetSquires Software
Re: WinFBE 1.4.7 on GitHub (August 23, 2017)
« Reply #5 on: August 24, 2017, 08:39:18 AM »

Thanks Jose, on the FB forum post it looks like I forgot to wrap the FBC path in quotes before creating the process and pipe. I need to look at that and fix it.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor