I have written a Windows Service program in C which uses PBNI to run a
Powerbuilder userobject function.

Now I am trying to use SharedObjectRegister to launch a separate thread. The
function is returning SharedObjectCreatePBSessionError!

I haven't seen anything in the help files or a websearch that says this
won't work.