How should I learn to use the Windows API with Python?

前端 未结 12 1211
迷失自我
迷失自我 2020-12-07 10:52

I have very little experience building software for Windows, and zero experience using the Windows API, but I\'m reasonably familiar with Python. How should I go about learn

12条回答
  •  醉酒成梦
    2020-12-07 11:26

    About 4 years ago I set out to truly understand the Windows API. I was coding in C# at the time, but I felt like the framework was abstracting me too much from the API (which it was). So I switched to Delphi (C++ or C would have also been good choices).

    In my opinion, it is important that you start working in a language that creates native code and talks directly to the Windows API and makes you care about buffers, pointers, structures, and real constructs that Windows uses directly. C# is a great language, but not the best choice for learning the Windows API.

    Next, buy Mark Russinovich's book "Windows Internals" Amazon link. This is the 5th edition. The 6th edition is coming out April 2012 and adds info about Server 2008 R2 and Windows 7.

    And now, for the most important (and best) resource for learning Win32 API:

    Mark Russinovich's Windows Operating Systems Internals Curriculum which is offered for free.

    It is designed to be used by an instructor to teach students. I went through it and it is awesome. Full of examples, history, and detailed explanations. In my opinion, this is an ideal way to learn the Windows API.

    Mark Russinovich is a Microsoft Technical Fellow (there are only 14 at MS including the creator of C#). He used to own Winternals until he sold it to MS, he has a PhD in Computer Engineering from Carnegie Mellon, he has been a frequent presenter at Microsoft conferences (even before he worked for them), and he is crazy smart. His presentations are one of the primary reasons I attend Microsoft TechEd every year.

提交回复
热议问题