| C/C++ Data Type | PowerScript Data Type | |----------------------------|-----------------------| | int , long , DWORD | Long | | LPSTR , LPCSTR , char* | String or Ref String | | LPVOID (pointer) | Long (to store address) | | double , float | Double or Real | | bool , BOOL | Boolean | | char** (pointer to a string pointer) | Use Ref Long or custom memory management |
Consult the documentation for the external object to ensure the function you are calling actually exists and is being accessed via the correct proxy, such as an OLEObject . powerbuilder application execution error r0035
Your development machine has all the required external components registered and available. The target server likely lacks these components, has incorrect paths, or has stricter security permissions. | C/C++ Data Type | PowerScript Data Type
is a critical runtime exception that indicates an "Error calling external object function" . This error occurs when a PowerBuilder application successfully instantiates or connects to an external OLE, COM, OCX, or .NET assembly, but fails entirely during the actual execution of a specific method or function on that component. is a critical runtime exception that indicates an
Error R0035 is a runtime error that occurs when a PowerBuilder application fails to execute properly. The error message typically appears as:
is a critical runtime error that occurs when a PowerBuilder application fails to communicate with an external Object Linking and Embedding (OLE) server, a Component Object Model (COM) library, or an external Dynamic Link Library (DLL). The core error message text— "Error calling external object function" —indicates that PowerScript successfully recognized the OLE object container but failed to execute the specific method or function called within the external resource.