Tech Articles


Stand Alone Compiler Enhancements in PowerBuilder 2017 R3


In an article on the enhancements that were added to the stand alone compiler in R2, I remarked on an issue on how file version information was handled in the initial release, and which was still a problem in R2.  Fortunately, R3 corrects that issue.

In R3, there are now two additional command line arguments.

  • /vn  Sets the product version information in the "Executable version used by installer" section
  • /fvn  Sets the file version information in the "Executable version used by installer" section

Since the compiler no longer attempts to use the /fv argument for the numeric only file version information in the "Executable version used by installer" section, it is now possible to use non-numeric values for it.  That wasn't possible earlier.

The addition of the /vn argument allows the product version in the "Executable version used by installer" section, something that wasn't possible using the command line compiler previously.

Summary

There was another issue with the initial and R2 versions of the stand alone compiler that I didn't cover in my prior article.  Those versions of the compiler could crash on very large project with an "Application Not Responding" error.  I believe this was because the compiler, even though is was running as a command line executable, was still operating on a UI thread.  When it was compiling a very large project, it could end up not refreshing the UI thread frequently enough, and Windows would eventually mark it as a non-responding app.  That was corrected in a post R2 bug fix which is incorporated in the R3 release.

With that, and these changes to correct the file version issues, 2017 R3 has addressed all the known issues with the compiler that I'm aware of.

 

 

Comments (0)
There are no comments posted here yet

Find Articles by Tag

Class Encoding Authorization Event Handler TortoiseGit Git OAuth Windows OS HTTPClient MessageBox Error Graph Syntax Import Jenkins Repository Encryption PowerScript (PS) NativePDF Debugger PostgreSQL Database Profile Database Table Data Export JSON Platform Debug PostgreSQL ODBC driver Resize IDE PowerServer Web RibbonBar Builder ActiveX Stored Procedure RibbonBar WinAPI Android GhostScript Web API SOAP Elevate Conference Database Table Schema C# SQL Server Branch & Merge Model Interface Service OAuth 2.0 Deployment API Oracle PFC CrypterObject OrcaScript Text DLL PowerBuilder (Appeon) Expression DataType Migration JSONGenerator Visual Studio Charts PBNI DataWindow JSON 32-bit Validation ODBC DragDrop JSON PDFlib Debugging SqlExecutor PowerServer Mobile DevOps TLS/SSL Array Import JSON Messagging SVN 64-bit XML UI Themes WebBrowser CoderObject Transaction JSONParser Database Painter Authentication PDF PowerBuilder Compiler Data Excel PowerBuilder Windows 10 Icons TreeView Menu UI Modernization Mobile Variable Linux OS SQL Source Control Database Connection OLE RESTClient SnapObjects License SDK Export Sort Web Service Proxy Event Handling SqlModelMapper Open Source .NET DataStore Design PBVM Icon Event Outlook Window PBDOM RichTextEdit Control Bug Database Application Database Object Installation External Functions TFS Configuration .NET Std Framework Azure Testing Database Table COM UI InfoMaker Filter DataWindow Script CI/CD Automated Testing REST Performance Source Code File .NET Assembly Trial SnapDevelop BLOB iOS