Tech Articles


"Haunted" Apps - How to Avoid Ghost (Unresponsive) Windows


Are any of the windows in your PowerBuilder applications “haunted” by ghosts?

In the Windows operating system, the term “ghosting” is used to describe how the Desktop Window Manager visually intervenes on a user’s behalf whenever Windows believes the active, or "top-level" application window has become unresponsive. This article describes how Windows determines if a window should be ghosted and how the appearance of a window changes when it becomes ghosted. The article will also examine the common causes of an unresponsive PowerBuilder window and discuss some options for detecting, recovering from and even preventing windows with long-running processes from being ghosted.

Let’s start where most things begin… at the beginning – with an overview of the role of messages and message queues in an event-driven operating system.

Read more

DataWindow - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to DataWindows for your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

UI Modernization - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to UI Modernization of your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

API Enablement - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to API Enablement of your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

Free Utilities - Code Samples from CodeXchange


In this article you will find a list of Code Samples related to Free Utilities for your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.

 

Read more

Interfacing PB Applications with the Windows API - Part 4


This tutorial has discussed how to interface traditional, Windows-hosted PowerBuilder 32-bit and 64-bit applications with the Windows Application Programming Interface (API), also known as the WinAPI. In the first three parts, the groundwork was laid to make you more knowledgeable and comfortable coding External Function Declarations (EFD's) and understanding the nuances of how information is exchanged between PB and Windows API functions. Part four contains a list of coding tips and techniques and mapping tables to help you with the translation between many common WinAPI datatypes and the standard PB datatypes. It also describes a free PB sample application and non-visual user object that can dynamically determine the memory size and layout of a structure in either 32-bit or 64-bit environments.

* * * Part four content has been revised and expanded from the original version * * *

Read more

Interfacing PB Applications with the Windows API - Part 3


This tutorial discusses how to interface traditional, Windows-hosted PowerBuilder 32-bit and 64-bit applications with the Windows Application Programming Interface (API), also known as the WinAPI. Much of the information presented here also applies to interfacing with DLL’s created in-house or by third-party vendors, because the interface mechanism in PB is the same. The focus, however, will be on interfacing to the WinAPI.

* * * Part three content has been revised and expanded from the original version * * *

Read more

Find Articles by Tag

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