 |
| GetProcessVersion points at target OS |
User rating: 0/10 (0 votes) | | |
|
 |
 |
 |
DECLARE INTEGER GetCurrentProcessId IN kernel32
DECLARE INTEGER GetProcessVersion IN kernel32;
INTEGER ProcessId
#DEFINE _FFFF 0x0000ffff
#DEFINE FFFF_ 0xffff0000
LOCAL lnProcId, lnProcVer
* can be replaced with 0, specifying the current process
lnProcId = GetCurrentProcessId()
lnProcVer = GetProcessVersion (lnProcId)
? "Process Id:", lnProcId
? "Process Version:", lnProcVer
|
 |
User rating: 0/10 (0 votes) | | | 411 bytes Created: 2001-10-25 20:13:07 Modified: 2005-12-27 10:35:57 Visits in 7 days: 66 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
Under VFP3 this function returns value 196618 (decimal), that means 0x0003000a -- major version 3, and minor version 10.
VFP6 returns 262144 -- major version 4, and minor version 0. So does Delphi 5.
From that I could suppose that VFP was designed primarily for Windows 3.1x, most evidently. Nevertheless I don"t insist on this idea, just because VB6 -- the dearest child of Bill G. -- returns 0 (z-z-z-zero!).
That is why the only conclusion I come to is that Microsoft does not care much of this function. |
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|