Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getwindowthreadprocessid
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00813312
Message ID:
00813318
Views:
19
>I am utlizando this function so that it returns me I number it of the
>PID, but this so this returning one I number negative. What this
>making of missed? If they alguem will be able to help, I am thankful
>me.
>
>Declare INTEGER GetWindowThreadProcessId IN win32api INTEGER hwnd, INTEGER @lpdwProcessId
>
>test_thread_id = GetWindowThreadProcessId(test_hwnd, @test_pid)
>where
>
>since ja I am thankful

Just a note, that API function has a return value of a Double Word.
Meaning the type cast is incorrect if you get negatives which could cause you some problems.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Reply
Map
View

Click here to load this message in the networking platform