+ 1

How do i learn win API with c++ ?

How do i learn win API with c++ ? Because the tutorial on msdn are going from abv my head i can't even understand what is hinstance and stuff so far i just understood winmain function :(

18th Aug 2018, 2:43 PM
Kanishk Mewal
Kanishk Mewal - avatar
3 odpowiedzi
+ 2
The Windows API is a very big mess (hence the UWP attempt). This is the best tutorial I found: http://www.winprog.org/tutorial/ It's a bit outdated, but all examples, should still compile on the newest Windows 10 version. Some pointers: get used to new type notations, LPSTR (long pointer string) instead of char* INSTANCE instead of void*/struct whatever*, UINT instead of unsigned integer etc. Also, get used to copy pasting code. Get used to code working when executed at a particular location and not working at a different location. Basically, get used to a lot of trail and error.
18th Aug 2018, 2:57 PM
Vlad Serbu
Vlad Serbu - avatar
19th Aug 2018, 2:58 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar
+ 1
thx guys! though i still can't understand a bit but still ty for response
19th Aug 2018, 4:11 AM
Kanishk Mewal
Kanishk Mewal - avatar