Hi Gordon,
I think you should be able to at least do a proof-of-concept there.
If that works out then we could definitely fold your changes back into NetTalk.
The simplest approach I think would be to store the address of the object in the session queue.
ie create a SetSessionObject, which just takes the address of the object and stores it (as a number) in the session queue.
Then GetSessionObject does the reverse.
Don't worry about the DeleteObject for now - that's easy enough to add once you've got the basics working.
You also shouldn't then need to edit any of the Q structures, so that makes it easier.
You can edit netweb.inc and netweb.clw directly to add the two methods described above.
The key potential problems are;
a) passing an "object" without knowing which object you are passing. Ditto returning. I suspect you'll need to work with ADDRESS to make this generic.
b) getting the syntax right for calling SetSessionObject, and GetSessionObject.
but both I think are achievable.
Keep me posted.
cheers
Bruce