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?
"Not supported: PBNI SDK for developing 64-bit PowerBuilder extensions"
which i take it as talking about extension to the ide.
"But for runtime, you can still package and distribute the 64-bit extension libraries with your 64-bit applications."
64 bit PBNI is supported for runtime as how that is written.
i'd rather have more/better functionality in the datawindow before a better ide is worked on.