Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect Vista 32 or 64 bit with OS() ?
Message
 
 
To
05/11/2007 13:08:40
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01266757
Message ID:
01266934
Views:
18
>>First make sure that you're running under WInXP or later, or WIn2k3 server or later. The IsWow64Process on MSDN http://msdn2.microsoft.com/en-us/library/ms684139.aspx
>>
>>DECLARE Long GetCurrentProcess IN WIN32API
>>DECLARE Long IsWow64Process IN WIN32API Long hProcess, Long @ Wow64Process
>>lnIsWow64Process = 0
>>llIs64BitOS = .F.
>>IF IsWow64Process( GetCurrentProcess(), @lnIsWow64Process) <> 0
>>	llIs64BitOS = (lnIsWow64Process <> 0)
>>ENDIF	
>>? llIs64BitOS
>>
>
>Thanks a lot! :)

You're welcome.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform