Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Calls to custom built C++ DLLs results in error inside IDE – PB Docs 2022 – PowerBuilder Library

Calls to custom built C++ DLLs results in error inside IDE – PB Docs 2022

Calls to custom built C++ DLLs results in error inside
IDE

Symptom

  • In PowerBuilder, when trying to call an external function from
    a custom built DLL in the IDE environment, the following error
    returns:

  • The same application works when you run as an application
    executable.

Environment

  • PowerBuilder

Reproducing the Issue

In the PowerBuilder IDE environment, run a testcase using the
custom built C++ DLL

Cause

  • Conflict in base address used by PowerBuilder DLL
    (sybcsi_openssl29.dll) and the custom c++ DLL.

  • The sybcsi_openssl29.dll is only loaded in the PowerBuilder
    IDE environment.   It is not loaded when running an application
    executable.

Solution

Recompile the custom c++ DLL to use a fixed address that will not
conflict with 0000000002FE0000.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x