|
-
Oct 21st, 2000, 02:34 PM
#1
Thread Starter
Hyperactive Member
Hi,
Can I detect what version of windows is running before declaring an API, so that my program can be compatible with all the versions of windows.
-
Oct 21st, 2000, 02:59 PM
#2
transcendental analytic
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Oct 21st, 2000, 03:01 PM
#3
Addicted Member
I think this doesn't matter, because without declaring API you cannot determine which version of Windows are you running.
And I also think that all windows versions (95/98/ME/2000) have the same function for determining their version.
But on the other hand - maybe I'm wrong.
Zvonko Bostjancic
Ilirska Bistrica, Slovenia
[email protected]
Using VS6 Professional with SP3
Programming mostly in VB and I've started to learn VC++ & MFC
-
Oct 21st, 2000, 05:39 PM
#4
transcendental analytic
Zvonko, thats what i thought first but it doesn't matter, since only the api calls will cause the errors, so if you have the select cases in the right place it won't be a problem.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
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
|