Search My Blog

Thursday, May 29, 2025

Multi-Threading Example - 2025 R1 Released!

** Hot News Item **

PowerBuilder 2025 - Multi-threading Example!


    Software Tool & Die Inc. (STD) are pleased to announce the release of an updated STD Integrated Framework MultiThread example application that utilizes the framework to implement Application multi-threading! The multi-threading feature inside PowerBuilder has been around since PB version 5.0 when the Distributed PB feature was first introduced. However, it is not a well documented and known feature of the development tool. The STD Multi-threading example goes even further by allowing applications to utilize the vast resources of Integrated framework while taking multi-threading to a much higher functional level. The framework allows the PB developer to easily implement multi-threading and be a lot more productive at the same time!
 
    The updated Multi-threading example application now utilizes the latest STD Integrated Framework (version 2025.1.0.436) and that supports the new Appeon PowerBuilder 2025 GA release (build 3683).
 
Improvements in this release include:
  • Migration App code from PB 2022 R3 build 3356 to PB 2025 GA build 3683
  • Migration of the STD Framework from 2024R2 to 2025 R1
  • Better performance due to PB now compiled using VC++ 2022
  • Supports all the themes now included in the PB 2025 GA release!
  • Added support for the new DisplayMenuAsRibbonBar feature of PB 2025
  • Can toggle the RibbonBar feature ON or OFF in the App's INI file as follows ...
    •  RibbonBar_Mode=Y/N
  • Added support for the new TabbedView MDI Sheet look & feel 
  • Can toggle the TabbedView ON/OFF and also change its Look & Feel in the INI file as follows...
    •  [TabbedView]
      Mode=Y/N
      FaceName = "Tahoma"
      ShowCloseButton =Y
      ShowContextMenu=Y
      ShowIcon=Y
      ShowSeparator=Y
      ShowPowerTips=Y
      ShowText=Y
      TextSize=-8 
  • Tested the Multi-threading code on W10 version 22H2 build 19045.4529
  • Tested the Multi-threading code on W11 version 24H2 build 26100.4061
  • Tested both M-Code, P-Code, Native & PowerClient deployments with both 32 & 64 bit EXE's!
Note: The STD Framework is the only PB framework in existence that is both thread aware and multi-thread safe!
  
MultiThread App's new Look & Feel in PB 2025


MultiThread example using frameworks resource tracking!

    The Integrated framework allows each thread to be monitored by the frameworks performance dialogue, write to the O/S Console, log a message in the main tread's application log, share DBMS access, send messages back & forth between threads or between the main thread and its sub-threads, introspect the O/S, etc - just to name a few interesting aspects. Messages may also now be written to the MS-Windows Event Log and MS-Windows Debug logs as well from each sub-thread!

MultiThread example writing to the App's log file

  The latest STD multi-threaded PowerBuilder example application can now be downloaded from the SourceForge website. Please click here to download!

    For a complete PowerPoint presentation on how Multi-Threading in Appeon PowerBuilder works, please click here to download this PPT presentation.
 
Enjoy!

Regards ... Chris

No comments:

Post a Comment