学习 win32 API 值得吗? [英] Is Learning the win32 API Worthwhile?

查看:34
本文介绍了学习 win32 API 值得吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我确信有人会专门问这个问题,但据我所知,没有人问过这个问题(有一个关于 学习 win32 但这并不包括是否值得这样做).

I was certain that somebody would have specifically asked this question, but from what I can see no-one has (there's been a question about learning win32 but that doesn't cover whether it's worthwhile doing so).

我对深入了解我使用的所有系统非常感兴趣(我主要用 C# 编程,至少是专业的),所以我想知道,很简单 - 学习 win32 是否值得,还是太过分了?我是在浪费时间吗?我获得的知识值得付出努力吗?

I am very interested in gaining a deeper understanding of all the systems I use (I mostly program in C#, at least professionally), so I wondered, very simply - is learning win32 worthwhile, or is it overkill? Am I wasting my time? Is the knowledge I'd gain worth the effort?

StackOverflow 上的类似/相关问题:

Similar / related questions on StackOverflow:

学习还有意义吗低级 WinAPI 编程?
Win32 编程与现代专业人士的相关性如何?

推荐答案

如果您计划在未来进行 Windows 开发,那么了解 Win32 在最低级别的工作原理肯定是无价的.它让您深入了解 Windows、消息和 GDI 等在您达到 .NET 级别时隐藏的内容.

Having a working knowledge of how Win32 works at the lowest level will certainly be invaluable if you are planning on doing Windows development in the future. It gives you a level of insight into things like Windows, Messaging and GDI that are hidden by the time you get to the level of .NET.

我不建议您尝试使用 Win32 编写所有应用程序,但我认为任何 Windows 开发人员都会从使用 C/C++ 编写简单的 Win32 应用程序中受益.

I wouldn't recommend you try and use Win32 for writing all your applications, but I feel that any Windows developer would benefit from writing a simple Win32 application using C/C++.

这对于 WPF 等对 Win32 依赖较少的事物来说不太正确,但只要了解 Win32 的工作原理将有助于您理解或欣赏 WPF 中的一些设计决策.

This is less true for things like WPF where there is less dependency on Win32, but just knowing how Win32 works will help you understand or appreciate some of the design decisions in WPF.

这篇关于学习 win32 API 值得吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆