Is the single wxWidgets MSW application binary compatible with Win2K, XP, Vista and 7?

wxWdgets is a cross-platform library that includes support for all major versions of Windows, but I can not find anywhere in the wxWidgets documentation that talks about portability of a single assembly of the wxWidgets MSW (windows) library through different versions of Windows. Assuming my main application just uses vanilla C ++ (and possibly the smallest common win32 apis denominator available on all platforms), with the exception of wx functions, it will link statically with one version of the wxWidgets library, creating a binary file that will work through Win2K, XP, Vista and Windows 7? Will this library be built on win2K (the "least functional" platform?), Or will its creation on XP also work? Any tips or pointers would be appreciated!

+3
source share
2 answers

You can create an application on any desired version of the OS, this does not affect the compatibility of applications with different versions of Windows. You can even compile Windows applications on another OS.

Important is the choice of API calls that the application accesses. Any functions related to load time must be present in the OS, and libraries or API functions that are delayed do not affect compatibility if the application handles errors gracefully.

wxWidgets 2.8 , , Windows 2000 ( Windows 9X, -Unicode- ), , Windows 2000 (, , XP). , , , Windows 2000 (, PNG).

, . , Visual ++ C , . , , wxWidgets, , .

+4

, wx XP - 7 ( , 95, Unicode MSLU, ( ), , , , ). wxWidgets , DLL Windows, , .. GetProcAddress(), .

+1

Source: https://habr.com/ru/post/1733147/


All Articles