Check OS 
Author Message
 Check OS

What is the code to check which operating system is running.  I have an app
that needs to run on a MAC and WIN95.  If it's a MAC, however I need it to
perform MAC type functions and of coarse if WIN OS a 95 function.  Can thi
sbe done?

Thanks

John



Mon, 17 Jul 2000 03:00:00 GMT  
 Check OS

Hello John,

Windows and Macintosh executables are NOT binary code compatible.  You can't
run a program compiled for Intel/Win95 on a Macintosh without emulation (in
which case, you would not need to make Mac specific API calls, in fact, you
couldn't) and vice versa.

So, you should know at compile time which OS your are targeting and you can
make the decision then.  Also, you should be aware that VB can't create
programs that run on the Macintosh.  You are stuck with Win95 or NT.

I hope this helps,

Larry R. Tubbs Jr., MCPS, MCSD
Silverleaf Resorts Inc, NYSE: SVR

Quote:

>What is the code to check which operating system is running.  I have an app
>that needs to run on a MAC and WIN95.  If it's a MAC, however I need it to
>perform MAC type functions and of coarse if WIN OS a 95 function.  Can thi
>sbe done?

>Thanks

>John



Tue, 18 Jul 2000 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Checking OS version

2. Check OS type or User name

3. Check OS

4. Diff between Pocket PC OS / Handled PC OS/ Embedded NT OS

5. Check for OS

6. How to check the language of the OS

7. Check whether the OS is 16 bit or 32 bit

8. Check for 32-bit vs. 16-bit OS

9. How to check for WinME or Win2000 OS

10. how can I check for the version of the OS using VBS

11. OS Check with VBScript

12. Check Version of OS ?

 

 
Powered by phpBB® Forum Software