Search My Blog

Friday, April 28, 2023

PowerBuilder 2022 - TCP/IP Socket Example

 ** Hot News **

TCP/IP Programming

Updated Socket Application Example for PowerBuilder 2022!


        Software Tool & Die Inc. today are very pleased to announce a brand new MS-Windows Socket (2022) example application built with the latest STD Integrated Framework (2023R1). This latest release of the Socket application is also built using the latest Appeon PowerBuilder 2022 IDE and should also work with the upcoming PowerBuilder 2022 R2 Beta test version as well.

Client Application - Ready to send DW object & buffers
 
         The STD Socket example application demonstrates a significant enhancement to the the PB developer's toolbox! The Socket example showcases the TCP/IP features in the STD Integrated Framework and more importantly returns the power of Distributed PowerBuilder back to the application developer. The TCP/IP socket support in the STD Frameworks is based on the work by Tom Cervenka's Sockets objects (written in pure PB, dating back to the PowerSoft days) that utilizes MS-Windows socket API's for FTP'ing files between servers and/or peer-to-peer communications.

Server Application - Receiving DWO and buffers from sender
    In addition, the updated STD Socket example will also now work with PowerServer 2019 as well when deployed as a Web Application! 

Actual Web deployed Socket App talking to its Native PB counter-part!

Watch the video!


    You can download the updated STD Socket example application from the STD Framework's website by clicking here to get more productive in peer-to-peer communications with PowerBuilder! Note that an"Archive" sub-folder has also been added to this location as well. This folder contains previous versions of the socket example application for older PB releases!

 
Enjoy!


Regards ... Chris

Wednesday, April 5, 2023

PowerBuilder 2022 - DDE Example Updated!

 Hot News!

PowerBuilder DDE Example Application

Built using the STD Framework!

        Software Tool & Die Inc. are very pleased today to announce an updated example application that demonstrate a fully working Dynamic Data Exchange (DDE) Client and Server application! This latest release of the DDE Client/Server applications are are all written in the latest PowerBuilder 2022 version and are also using the latest STD Integrated Framework (2023R1)  ...


    In the updated release, the DDE Demo Applications include the following changes:

  • Built using PB2022 build 1892
  • Using STD Integrated Framework  v2023.2.0.326
  • Updated to support the PB2022 Theme feature
  • Now includes  Client & Server App logging auto delete at EOJ
  • Incorporates MS-Windows notification utility built from PB 2022
  • Deployment examples in 32 & 64bit and M-Code / P-Code
  • Tested the DDE code on W10 version 22H2 build 19045.2788
  • Tested the DDEcode on W11 version 22H2 build 22621.1413
  • PowerClient or PowerServer 2022 deployment ready as well!

Actual DDE Client and DDE Server in action exchanging various messages & data!
 

    The deployed EXE's for the DDE Client and DDE Server are also included in the DDE Example Applications download. You can run either the Client or Server in mixed modes. For example a 32 bit client and a 64 bit server (or vise versa), a P-Code client and an M-Code server (or vise versa), or any combination of the various DDE EXE's built from the STD Framework. The DDE features will work with any combination of the above EXE's. So this feature is just another tool in the PBToolBox that PB Developers can use to accomplish inter-application communication!

  You can download the new STD Framework DDE Demo App for PB2022 build 1892, as follows:

DDE Demo AppDownload 

STD Framework:  Download  (latest OrderEntry Demo App that uses the framework!)

Note: Older DDE examples and STD Frameworks are available in their respective "Archive" sub-folders found in the above links.

   Enjoy ... please let me know what you think & if you have any feature suggestions that you might like me to add for future releases! 

Alert:  Ticket # 10034 has been opened for the 64 bit execution mode. It does not work in PB 2022 whereas it does work OK in PB 2021. I suspect that the problem lies in PB 2022's use of the  VC++ 2019 compiler whereas PB 2021 uses VC++ 2010 compiler to build the PB runtime.

Regards ... Chris