R
R
Roman Belinsky2015-03-28 21:13:02
Programming
Roman Belinsky, 2015-03-28 21:13:02

How to successfully learn WinAPI?

Good evening, I've been learning WinAPI for a month now, it's still like a stranger) And in general, what is it for? Where is it applied? Is it just possible to just write everything in C++ or not? Maybe someone knows him well and writes something on it, tell me literature or something else. To get into it normally. The month just went by.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
index0h, 2015-03-28
@belinskiy

I hear a ringing, I don’t know where it is))
> And in general, what is it for?
But especially for nothing. If you are writing a desktop application, it can save you a man-year of work (or maybe more), nothing in general.
> Where is it applied?
Everything that is written under Windows - directly or indirectly uses it.
> It's just that you can just write everything in C++ or not?
Of course you can)) For example, your own implementation of the window manager will undoubtedly be better than the native one for each OS.
> prompt literature or something else.
What's wrong with the official manual?
> Month just went nowhere.
Learn WinAPI in a month... It's possible, in the same way as C++ in 21 days. You will need an elixir of youth and a time machine.

T
tugo, 2015-03-29
@tugo

Why was it necessary to study WinAPI, if it is not clear why it is needed?
If you have a task that can be optimally solved only using WinAPI, then it's a different matter. And it will be better to study - because you really need to.
If the task is just to write a window application without problems - take a developed GUI library. For the C++ language, this is Qt (only not MFC, it has already died).

V
Vladimir Martyanov, 2015-03-28
@vilgeforce

Take your applications "written in C++" and rewrite them in WinAPI. You test work on bare WinXP in a virtual machine, compare portability and exactingness to libraries. Then you compare the size and understand why WinAPI is needed. At the same time, learn those parts of WinAPI that you need.
Just keep in mind that it's hard to write a good GUI on WinAPI, the only negative.

V
Vladislav Shcherbakov, 2015-03-29
@vlad007700

Literature:
Windows via Richter's C ++
From the third chapter, the study of WinAPI begins
there. True, there are not just pluses, but Visual C ++
Here is a link just in case :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question