- Roland Smith
- PowerBuilder
- Wednesday, 2 February 2022 12:24 AM UTC
I have a C++ application that runs code in a PB 2019-R3 object. Works great in 32bit. In 64bit I am getting an abort in PBSHR when closing the session.
The PB object has an instance string array that the C++ code needs to access. I found in 64Bit that AcquireArrayItemValue works as expected but then later when it releases the session, PBSHR aborts.
IPB_Value* ipv;
pbarray pbArgValues;
pblong dim[1]{};
ipv = session->AcquireArrayItemValue(pbArgValues, dim);
// cleanup
session->Release(); <--- aborts here
FreeLibrary(hInst);
The abort info:
Faulting module name: PBSHR.dll, version: 19.2.0.2728, time stamp: 0x6100faa9
Exception code: 0xc0000005
Fault offset: 0x0000000000177b1f
My question is 64bit PBNI supported?
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.