Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello
so let's say i wrote simple win32 api application with simple GUI .. does it work in the following version of windows {XP ,Vista,7, 8/8.1,10 (32bit & 64bit)} ?
i had little problem running it in xp version but i set it to
C++
Visual Studio 2015 - Windows XP (v140_xp)

does this option will effect my program speed ?

What I have tried:

i Tested it in Windows xp (32bit) and windows 7 (32bit) and in windows 10 (64bit)
works fine
Posted
Updated 25-Dec-16 7:32am

There is theoretically no difference. But this assumes that all systems use identical hardware.

There may be differences when changing the project CPU settings (minimum supported CPU) and there are differences between 32 and 64-bit builds. But these are negligible.

Setting the minimum supported Windows version with VisualStudio affects the API functions that can be used. When choosing XP, all API functions introduced with Vista or later can't be used directly by your program. They can only be used with "late binding" after checking the Windows version.
 
Share this answer
 
Comments
Afzaal Ahmad Zeeshan 25-Dec-16 14:01pm    
5ed.
Normally the problem point of actual Windows versions is Windows XP (32 bit). If it works on that, everything should be fine. The speed isnt a real issue because the difference are very small. The best optimization is to minize the drawing process, reloading app resource (like bitmaps) and the use of system resources like file or registry access.

The inner problem of an app is the use of system resources like drivers, dll or access rights. That isnt affected with an simple UI, but watch out and always test the app.
 
Share this answer
 
Comments
Afzaal Ahmad Zeeshan 25-Dec-16 14:01pm    
5ed.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900