General information
Category:
COM/DCOM and OLE Automation
Hi!
If your server is out-of-process (EXE) then try to set instancing to "Single Use". "Multi Use" instancing means that other applications can use the same instance of your object and will share the same thread of execution.
>Does anyone know why ThreadId is the same for all the instances of a multithreaded object? I can see why ProcessId is the same, but I would think that ThreadId would be different for each instance. If not then how does VFP or the OS track each thread's object properties? There must be some unique handle.
>
>The object is compiled as Multithreaded/MultiUse OLEPUBLIC. I then display the Application.ThreadId for each instance after I do a createObject().
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only