Auto-Sensing Environment

The general idea of making PFC work for both PowerBuilder and PowerServer is calling a global function to judge the application's running environment. This global function will help to judge whether to run the original PFC code or Appeon compliant code.

The global function "appeongetclienttype" is included in the Appeon Workarounds PBL. You will need to first add the appeon_workarounds.pbl library to your application and then call the appeongetclienttype global function. For detailed instructions, refer to Appeon Workarounds PBL Reference in Workarounds & APIs Guide.