Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ProcessId and ThreadId
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
ProcessId and ThreadId
Miscellaneous
Thread ID:
00568380
Message ID:
00568380
Views:
56
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().


Thanks

Costas
Next
Reply
Map
View

Click here to load this message in the networking platform