- Steven Sheridan
- PowerBuilder
- Friday, 1 July 2022 05:11 PM UTC
Recently we upgraded to Powerbuilder 2019 R3 version from an older SAP-supported PB. We have found an issue with the external call function which looks like is now cutting off the first 2 characters we get back from it.
We make a call to a C++ Dll cal example -> function long fc_findfirst(string filespec, REF str_finddata fileinfo) LIBRARY "PB2CShared.dll" alias for "fc_findfirst;Ansi"
When we get back the fileinfo it is cutting off the first 2 characters of the file name. This is creating issues in our PB program.
Using the same C++ DLL with the older PB works fine. The structure of the code did not change on PB or the C++ side. The only change for this call was upgrading powerbuilder.
I am not sure how to fix this issue? Does the new PB support a different way to compile the code to make this work or setting?
the application is build with the pcode just like the older version of PB. it is a 32 bit application just like the older version of PB.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.