+ 3

Windows API, C++

I am learning how to use Windows API with C++ (not C). I started to read Windows' doc but I would like a course about it to make sure I understand (I think it's one of the worst API to learn... 😑) If you know some good websites...

12th Aug 2017, 9:44 PM
Jojo
8 Réponses
12th Aug 2017, 11:16 PM
jay
jay - avatar
13th Aug 2017, 12:48 PM
Karl T.
Karl T. - avatar
+ 4
https://docs.microsoft.com/en-gb/cpp/windows/walkthrough-creating-windows-desktop-applications-cpp
12th Aug 2017, 11:14 PM
jay
jay - avatar
+ 3
It's a massive API. Tutorials would depend on what exactly you want to use the API for
12th Aug 2017, 10:06 PM
aklex
aklex - avatar
+ 2
This is my most recent public code with a Windows API call; it's a small bit so if the surrounding code is a bore I can try to separate it. https://code.sololearn.com/cyt3z1m2z69Q/?ref=app line 43 I include windows.h line 60-63 I call the API (to get the file size) then clean up* * very important when calling into the API...clean up everything you allocate. You should also be error-checking. I omit it here because I didn't think it had utility for anyone.
13th Aug 2017, 1:57 AM
Kirk Schafer
Kirk Schafer - avatar
+ 1
Of course it is... I would like an introduction, only an introduction, I think I'll be able to learn lonely after
12th Aug 2017, 10:08 PM
Jojo
+ 1
@Jay I knew the first link (Microsoft) I started to read (very well-documented) But I didn't know the second one. It looks cool thanks ! I kept looking for other introductions and I found these links: In C++ http://bob.developpez.com/tutapiwin/ In C/C++: https://openclassrooms.com/courses/apprentissage-de-l-api-windows As I'm French, they are in french but I think you can change to spannish or english (only on OpenClassrooms)
13th Aug 2017, 8:27 AM
Jojo
+ 1
It looks very detailed and rich I'm going to read it ! Thank you
13th Aug 2017, 2:11 PM
Jojo