If you own source code put it in debug. Other than that the only thing I can think of is to try some of the other commands like save, update just to see if they do anything. You might even want to run ttstpcreatdll on the session to see what it includes - might see something you can try.
My latest mantra - make sure you have latest stpapi patches and the latest session object. If on LN then please explore the option of using DAL2 functionality.
systems provided free by Baan Board
Play the Google game and help Baanboard get better rankings. Do your part. Click here
to find how.