|
-
March 13th, 2002, 01:11 PM
#1
CPU Detection (16 or 32 bit)
I'm trying to write a program that will determine whether or not the system a person is using is a 16-bit or 32-bit system (I only want people running a 32-bit system to be able to use the program). Unfortunately, using Borland's built-in _osmajor and _osminor variables will not work because the user could defeat this by running SETVER. I read some earlier posts regarding looking at the size of ints or void*'s, however this will not work because it's compile-time dependent. Does anyone have any way of determing the version number or processor type (16/32 bit) that is fraudproof? Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|