Question:
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 ?
Answer:
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.