Global Fucntion in Datawindow fails in exe

Global Fucntion in Datawindow fails in exe

I’m working on PowerBuilder 6 under a Windows environment. I’m calling a global function in a datawindow object. This function gets called perfectly in the development environment, but it doesn’t get called in .exe. What could be the problem ?

The problem could be that your global function is only dynamically referenced in your datawindow, so when you compile to an EXE, PowerBuilder’s compiler does not see the reference to the global function and does not include it in your exe. Try creating a dummy static reference to the function in your window and recompiling your EXE.


About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist