Will .EXE files created on windows run on any other windows platforms? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Will .EXE files created on windows run on any other windows platforms?

I am currently coding an application which uses windows sockets , win32 API and some standard c functions. Finally after compiling the code into exe on my desktop, windows 10x32 bit, I doubt whether it will work on my old laptop which uses windows 7x32bit. Also the CPU and CPU speeds are totally different from each other. The only similarly is the architecture that is x86. So will my exe created on windows 10 32bit run on my old laptop which runs windows 7 32 bit with different CPU specs?

30th Jul 2022, 6:40 PM
[B.S.] BITTU
[B.S.] BITTU - avatar
5 Answers
+ 2
With the Windows API, formerly called the Win32 API, you can develop applications that run successfully on all versions of Windows while taking advantage of the features and capabilities unique to each version. The Specs won't affect anything besides performance depending on how hungry your app is.
30th Jul 2022, 8:21 PM
Chris Coder
Chris Coder - avatar
+ 1
Chris Coder this is an extra bit of knowledge I needed. I searched online but the results appeared to be too much confusing. You made it crystal clear to me by jumping to the conclusion without any rubbish talks
31st Jul 2022, 2:56 AM
[B.S.] BITTU
[B.S.] BITTU - avatar
0
you can actually try to run it and see...
30th Jul 2022, 8:22 PM
Patrick
Patrick - avatar
0
Patrick well yes I could have done that but before, wanted some recommendations from the experienced dudes
31st Jul 2022, 2:42 AM
[B.S.] BITTU
[B.S.] BITTU - avatar
0
that's fair enough it's just my approach, kinda empirical)
31st Jul 2022, 12:48 PM
Patrick
Patrick - avatar