is there a difference between 32bit APIcalls on a 64bit machine instead of a 32bit machine ? Official statement on Alyce API book is to make 32bit API calls. Is something different with that API calls on a 64bit computer ? Let us say the applicattion is assembled on a 32bit machine and someone wants to run it on a 64bit machine which is supported by microsoft 64bit. Let us say the user has nothing to do with programming and only bought a new computer from store and get the app from a download. Are 32bit APIs calls up to date ? I don't know exactly so i make this post.
Post by Chris Iverson on Dec 7, 2019 19:22:56 GMT -5
From the point of view of the executing application, no, there is no difference. The API will behave the same whether it's executing on a 32-bit Windows OS or in the 32-bit compatibility subsystem on a 64-bit Windows OS.
There are obviously implementation differences in how that behavior is achieved, but the actual behavior and results the program sees SHOULD be identical.
An application that runs properly and successfully on 32-bit Windows should also do do on a 64-bit Windows that has 32-bit compatibility installed.
That does bring up the question of "what if 32-bit compatibility isn't installed?", but for the purposes of this question, that scenario is VERY highly unlikely.
32-bit compatibility can only be removed through an explicit command on later versions of Windows Server, and it can't be removed at all on consumer versions of Windows. It's not something that one of your users is going to stumble in to by accident, confused.