Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NT Gurus and Setting Priority From Visual Foxpro
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00252651
Message ID:
00254805
Views:
32
>Just a quick question for those of us who are Internet challenged. In VFP 6.0 SP3 we have the _VFP.ThreadID property. Do you have any idea why this value doesn't match that which GetCurrentThread() returns. GetCurrentThreadID() returns the same value, but as I understand it, GetCurrentThread() returns a pseudo-handle to the thread. I guess what I'm asking is why would the pseudo-handle work where the real one wouldn't?

The Thread ID is kind of like the ProcessID - it's something you can use to
retrieve a real handle to the thread. The ID is something you'll see in
a debugger and something you can store with your application. The handle
is the actual physical aspect that controls the thread or process.

IDs are sequentially numbered and easy to read. Handles are large numbers
that the system generates uniquely.

Standard Windows API fare I guess...

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform