PBNI and SharedObjectRegister
- New
- Issue
- PBNI
-
yakov werde
- PowerBuilder
- Friday, 5 December 2025 04:42 PM UTC
o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"
stroked="f">
<v:stroke joinstyle="miter"/>
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0"/>
<v:f eqn="sum @0 1 0"/>
<v:f eqn="sum 0 0 @1"/>
<v:f eqn="prod @2 1 2"/>
<v:f eqn="prod @3 21600 pixelWidth"/>
<v:f eqn="prod @3 21600 pixelHeight"/>
<v:f eqn="sum @0 0 1"/>
<v:f eqn="prod @6 1 2"/>
<v:f eqn="prod @7 21600 pixelWidth"/>
<v:f eqn="sum @8 21600 0"/>
<v:f eqn="prod @7 21600 pixelHeight"/>
<v:f eqn="sum @10 21600 0"/>
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"/>
<o:lock v:ext="edit" aspectratio="t"/>
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style='width:216.75pt;
height:132pt'>
<v:imagedata src="file:///C:/Users/ywerde/AppData/Local/Temp/2/msohtmlclip1/01/clip_image001.png"
o:href="cid:image001.png@01DC65D6.CA751630"/>
Hi fellow PB Professionals
We're migrating some UO code from EXE to PBNI invoked via IIS endpoint
The legacy code uses SharedObject API to maintain state across inter UO calls
When deployed to a PB UO facade call that is invoked via PBNI (that instantiates and passes calls through to implementation UOs we implemented the SharedObjectRegister call.
When the interface class is Created vin a PB app object EXE. All works as expected
When the interface class is instantiated via PBNI (from C++ EXE test harness APP) SharedObjectRegister fails with this return code

It seems to me like a flaw or unsupported feature in PBNI?
Anyone have a similar experience?
Yakov
Intertech.us
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.