Win API or other?
-
i wanna ask, what is the best of windows programming for C++ now? is it still using win API or is there any better one than Win API?
-
i wanna ask, what is the best of windows programming for C++ now? is it still using win API or is there any better one than Win API?
It's always up to you and the kind of the task you are going to solve. For a usual GUI application I always choose the MFC. It saves me a lot of time comparing wit the plain Win32 API. However there is a lot of tasks that are not covered by MFC. So I just write some plain Win32 code or sometimes just simple C-runtime one.
-
i wanna ask, what is the best of windows programming for C++ now? is it still using win API or is there any better one than Win API?
For quick utilities, MFC is still a good way to go. For a large application, check out Qt.
-
i wanna ask, what is the best of windows programming for C++ now? is it still using win API or is there any better one than Win API?
WIN32 API any framework including MFC just adds another layer of abstraction and the issue that the frameworks itself often becomes incompatible with newer windows versions. There is already a growing list of bugs with MFC and Windows 10. Conceptually if you want a C++ objectification of the Win32 API then an old framework called Win32++ is still around it does nothing other than take the standard Win32 API into objects it doesn't mess around with the message system like MFC and is completely opensource. It also doesn't have the problems with .NET integration that MFC has. C++ Win32 Framework for Beginners[^] Last revision 8.6 was done nov 2018 Win32++ download | SourceForge.net[^][^] Win32++ - Browse /Win32++/Version 8.6.0 at SourceForge.net[^] Probably worth adding that if you are interested in the cutting edge windows area of WSL (Windows subsystem running linux) you can throw a X server on a Windows 10 64 bit box and start working out how to encapsulate linux GUI. You can guess where MS is going with this (MS hasn't announced any frameworks but some public test ones have appeared GitHub - kpocza/LoWe: Linux on Windows extender[^]) :-) One company has already hit the WSL space hard https://www.whitewaterfoundry.com/[^]
In vino veritas