HOW Win32 Apps Are Made in C

preview_player
Показать описание
VLOG 160 - This is the 3rd instalment of the series where we build the same application on different platforms, using different technologies. Today, we do the toughest one - the Win32 app from scratch in C using just the Windows API.
Рекомендации по теме
Комментарии
Автор

I had spent hours trying to find out what all this stuff was for, and only now that I've seen this am I beginning to understand what's going on. Even long time developers don't seem to know how to explain this well, so it's nice to finally have an explanation.

eyesyt
Автор

This is awesome. Thank you so much, Jason.

oleksijm
Автор

Clear, logical and to the point! Excellent! Thank you.

_r-a-f_
Автор

Thanks for sharing this was really helpful!

WilliamBrumble
Автор

Thank you very much. Very helpful and beautifully explained !

pwlegolas
Автор

18:51 this part is very wrong. First off input.c_str() returns a constant for a reason. Which means that you can't modify what it returns. That is why you had to explicitly cast it to char*. (In other words, C++ lets you do stupid things.) But most importantly, when you created your input std::string it had size 0. So you can't just pipe an empty string into GetWindowText. What you did there is a buffer overflow. It works because it uses whatever memory was available after your 0-length string was created.

The correct way is to call GetWindowTextLength to get the length of text, then allocate it in std::string and then call GetWindowText on the allocated string as &input[0].

sentdc
Автор

This is gold. 🤩
Hate myself did not watch this video earlier.

arthurchia
Автор

needed more detailed video of using windows api

antirat
Автор

as a very beginner that was very complicated for me, but you explain it as even i can understand ( not 100% coz im a beginner ) thank you, no matter i couldn't understand 100% but now i know what's really happen under GUI frameworks like winForm, i always feel like when working with winform i have jump to the middle of road and and there is more something before that, now i know what's happening and now i can start with winform mind freely knowing why we use framework. Thank You

slasankautube
Автор

I was reading documentation of what window procedures are and why are they used, and I just couldn't wrap my head around it at all. This video immediately made me understand how it works, windows sends your window a message, you handle that message in the procedure, that's it.

PzMcQunn
Автор

Sometimes I don’t understand what’s the point of Microsoft creating documentation for their win api when one can’t understand half the things they write in the docs lol. I wish they could write documentation as easy as you explained this video thank you 🙏

imxande
Автор

Awesome. How i would do if i want to add custom objects to office. For example buttons for activex forms or labels or forms in itslef?

atallpa
Автор

Why do the controls (button, text input) have a 90's style?

QueeeeenZ
Автор

How to use visual style on these windows? I remember back in VB6 days there was a manifest file

theloststarbounder
Автор

You are literally like a teacher i wish i could be your student

ramsey
Автор

Why you not show how to make Widows app using win32 api without visual studio

astongoldsmith