您的浏览历史

Windows核心编程(第5版.英文影印版) (china-pub 全国首发) (08年度畅销榜TOP50)

促销活动
  • [本书]参加人民邮电出版社满80元赠书活动
精彩评论

基本信息

编辑推荐

Windows 程序设计颠峰之作
新版涵盖Windows Vista和Windows Server 2008最新核心特性
Windows程序员迈向卓越的必由之路

推荐阅读

内容简介回到顶部↑

书是Windows程序设计领域的名著,涵盖了Windows的最新版本Vista 以及Windows XP的最新内容。书中全面深入地介绍了Windows的各种基本要素,如进程、线程池、虚拟内存、DLL、设备I/O和SEH 等,并列举了大量应用程序,精辟地分析了要素的使用方法。
  本书适于各层次Windows编程人员阅读。

作译者回到顶部↑

本书提供作译者介绍

Jeffrey Richter全球享有盛誉的微软技术专家,著名技术咨询和培训公司Wintellect创始人之一,MSDN Magazine杂志特邀编辑。多年来,他担任微软各开发团队顾问,参与了微软的许多关键产品包括各版本Windows、Visual Studio、Microsoft Offce和.NET框架的设计和编程。他撰写了一系列著作,包括本书和《深入理解.NET》(第2版·英文版,人民邮电出版社。2008),都堪称技术图书的典范,影响了一代Windows程序员,并因此荣获微软公司杜区最高技术荣誉“微软软件传奇人物”(Software Legend)称号。
.. << 查看详细

作者: Christophe Nasarre
Christophe Nasarre是Business Objects的软件架构师和开发部门领导,该公司致力于帮助其他企业更好地专注于其主营业务,通过商业智能方案来提升决策能力和业绩。他为Addison-Wesley,APress和Microsoft Press出版的许多图书担任过技术审校,此外还是MSDN Magazine的撰稿人。.. << 查看详细

[同作者作品]
Windows via C/C++(英文原版进口)
Windows核心编程(第5版.英文影印版) (china-pub 全国首发) (08年度畅销榜TOP50)
Windows核心编程(第5版) (china-pub 首发)(09年度畅销榜TOP50)(08年度畅销榜TOP50)

目录回到顶部↑

Part I Required Reading
 1 Error Handling  
 Defining Your Own Error Codes  
  The ErrorShow Sample Application  
 2 Working with Characters and Strings  
  Character Encodings  
  ANSI and Unicode Character and String Data Types  
  Unicode and ANSI Functions in Windows  
  Unicode and ANSI Functions in the C Run-Time Library  
  Secure String Functions in the C Run-Time Library  
   Introducing the New Secure String Functions  
   How to Get More Control When Performing String Operations  
   Windows String Functions  
  Why You Should Use Unicode  
  How We Recommend Working with Characters and Strings  
  Translating Strings Between Unicode and ANSI  
   Exporting ANSI and Unicode DLL Functions  
   Determining If Text Is ANSI or Unicode  
 3 Kernel Objects  
  What Is a Kernel Object?  

前言回到顶部↑

Microsoft Windows is a complex operating system. It offers so many features and does so much that it’s impossible for any one person to fully understand the entire system. This complexity also makes it difficult for someone to decide where to start concentrating the learning effort. Well, I always like to start at the lowest level by gaining a solid understanding of the system’s basic building blocks. Once you understand the basics, it’s easy to incrementally add any higher-level aspects of the system to your knowledge. So this book focuses on Windows’ basic building blocks and the fundamental concepts that you must know when architecting and implementing software targeting the Windows operating system. In short, this book teaches the reader about various Windows features and how to access them via the C and C++ programming languages. .
Although this book does not cover some Windows concepts—such as the Component Object Model (COM)—COM is built on top of basic building blocks such as processes, threads, memory management, DLLs, thread local storage, Unicode, and so on. If you know these basic building blocks, understanding COM is just a matter of understanding how the building blocks are used. I have great sympathy for people who attempt to jump ahead in learning COM’s architecture. They have a long road ahead and are bound to have gaping holes in their knowledge, which is bound to negatively affect their code and their software development schedules.
The Microsoft .NET Framework’s common language runtime (CLR) is another technology not specifically addressed in this book. (However, it is addressed in my other book: CLR via C#, Jeffrey Richter, Microsoft Press, 2006). However, the CLR is implemented as a COM object in a dynamiclink library (DLL) that loads in a process and uses threads to execute code that manipulates Unicode strings that are managed in memory. So again, the basic building blocks presented in this book will help developers writing managed code. In addition, by way of the CLR’s Platform Invocation (P/Invoke) technology, you can call into the various Windows’ APIs presented throughout this book.
So that’s what this book is all about: the basic Windows building blocks that every Windows developer (at least in my opinion) should be intimately aware of. As each block is discussed, I also describe how the system uses these blocks and how your own applications can best take advantage of these blocks. In many chapters, I show you how to create building blocks of your own. These building blocks, typically implemented as generic functions or C++ classes, group a set of Windows building blocks together to create a whole that is much greater than the sum of its parts.
64-Bit Windows
Microsoft has been shipping 32-bit versions of Windows that support the x86 CPU architecture for many years. Today, Microsoft also offers 64-bit versions of Windows that support the x64 and IA-64 CPU architectures. Machines based on these 64-bit CPU architectures are fast gaining acceptance.
In fact, in the very near future, it is expected that all desktop and server machines will contain 64-bit CPUs. Because of this, Microsoft has stated that Windows Server 2008 will be the last 32-bit version of Windows ever! For developers, now is the time to focus on making sure your applications run correctly on 64-bit Windows. To this end, this book includes solid coverage of what you need to know to have your applications run on 64-bit Windows (as well as 32-bit Windows).
The biggest advantage your application gets from a 64-bit address space is the ability to easily manipulate large amounts of data, because your process is no longer constrained to a 2-GB usable address space. Even if your application doesn’t need all this address space, Windows itself takes advantage of the significantly larger address space (about 8 terabytes), allowing it to run faster.
Here is a quick look at what you need to know about 64-bit Windows:
■ The 64-bit Windows kernel is a port of the 32-bit Windows kernel. This means that all the details and intricacies that you’ve learned about 32-bit Windows still apply in the 64-bit world. In fact, Microsoft has modified the 32-bit Windows source code so that it can be compiled to produce a 32-bit or a 64-bit system. They have just one source-code base, so new features and bug fixes are simultaneously applied to both systems.
■ Because the kernels use the same code and underlying concepts, the Windows API is identical on both platforms. This means that you do not have to redesign or reimplement your application to work on 64-bit Windows. You can simply make slight modifications to your
source code and then rebuild.
■ For backward compatibility, 64-bit Windows can execute 32-bit applications. However, your application’s performance will improve if the application is built as a true 64-bit application.
■ Because it is so easy to port 32-bit code, there are already device drivers, tools, and applications available for 64-bit Windows. Unfortunately, Visual Studio is a native 32-bit application and Microsoft seems to be in no hurry to port it to be a native 64-bit application. However, the good news is that 32-bit Visual Studio does run quite well on 64-bit Windows; it just has a limited address space for its own data structures. And Visual Studio does allow you to debug a 64-bit application.
■ There is little new for you to learn. You’ll be happy to know that most data types remain 32 bits wide. These include ints, DWORDs, LONGs, BOOLs, and so on. In fact, you mostly just need to worry about pointers and handles, since they are now 64-bit values.
Because Microsoft offers so much information on how to modify your existing source code to be 64-bit ready, I will not go into those details in this book. However, I thought about 64-bit Windows as I wrote each chapter. Where appropriate, I have included information specific to 64-bit Windows. In addition, I have compiled and tested all the sample applications in this book for 64-bit Windows. So, if you follow the sample applications in this book and do as I’ve done, you should have no trouble creating a single source-code base that you can easily compile for 32-bit or 64-bit Windows. ..
What’s New in the Fifth Edition
In the past, this book has been titled Advanced Windows NT, Advanced Windows, and Programming Applications for Microsoft Windows. In keeping with tradition, this edition of the book has gotten a new title: Windows via C/C++. This new title indicates that the book is for C and C++ programmers wanting to understand Windows. This new edition covers more than 170 new functions and Windows features that have been introduced in Windows XP, Windows Vista, and Windows Server 2008.
Some chapters have been completely rewritten—such as Chapter 11, which explains how the new thread pool API should be used. Existing chapters have been greatly enhanced to present new features. For example, Chapter 4 now includes coverage of User Account Control and Chapter 8 now covers new synchronization mechanisms (Interlocked Singl-Linked List, Slim Reader-Writer Locks, and condition variables).
I also give much more coverage of how the C/C++ run-time library interacts with the operating system—particularly on enhancing security as well as exception handling. Last but not least, two new chapters have been added to explain how I/O operations work and to dig into the new Windows Error Reporting system that changes the way you must think about application error reporting and application recovery.

【插图】

chatu
评论交流

共有74人开贴评论  96人参与评论  67人参与打分 查看

49人
 73%
用户平均打分
我要写评论 help如何参与评论和打分
7人
 10%
3人
 4%
4人
 5%
4人
 5%

menic

专家级评论员
该会员在china-pub购买过此书 精彩书评
评价等级:  
发表于:2009-12-13 14:54:00
买了这本书的第四版,说实话就是翻译的实在是不怎么样。书的内容很是不错,如果是windows的程序员,个人觉得这系列书是桌头必备。
从这本书里,你知道的,不只是 然, 而且有很多的所以然。
您觉得呢? 送鲜花 (得0支)  扔鸡蛋 (得0个)

erway

三级评论员
精彩书评
评价等级:  
发表于:2008-7-2 9:29:00
原文出自:http://blog.joycode.com/sam1111/archive/2003/10/29/4436.aspx
最近由于工作的缘故,又翻出Jeffrey Richter的《Windows核心编程》(英文名《Programming Applications for Microsoft Windows》)这本书来读。说起我的这本书,它是我年初到上海来时带来的为数不多的几本书籍,一直被我视为唯一值得收藏的Win32编程书籍。它的作者Jeffrey Richter也一直被我视为程序员的典范,因为从这本书中每个例子都能够看出Jeffrey严谨的态度,他的每个例子程序都是经过精心选择,最能体现所示范技术特色的例子,这些例子程序的代码都是具有工业强度的代码。这一点与其他IT作家,尤其是国内的IT作家形成了鲜明的对比。

说起Jeffrey来,也相当的传奇,据说他13岁就迷上了编程(我13岁时迷上了足球),从Windows 2.03开始自学Windows编程,从Windows 3.0开始,为Windows写了系列的Developer's Guide。进入.NET时代,Jeffrey的《Applied Microsoft .NET Framework》仍然是.NET书籍中最重要的一本。如果想更多地了解Jeffrey,可以看看他的Personal Biography和Professional Biography。

Jeffrey似乎没有写Weblog,我上网搜了一下,没找到。如果你知道Jeffrey有自己的Weblog,希望能够告诉我”

回复 ( 1条评论-- 点击查看讨论 )
您觉得呢? 送鲜花 (得1支)  扔鸡蛋 (得0个)

cybertingred

一级评论员
该会员在china-pub购买过此书
评价等级:  
发表于:2009-6-5 18:53:00
内容没的说的,就是印刷很一般,现在书的纸越来越薄了,不知道是不是又怪金融危机或是出版社太小气。怕翻翻就破了。
您觉得呢? 送鲜花 (得0支)  扔鸡蛋 (得0个)

kybyw

一级评论员
该会员在china-pub购买过此书
评价等级:  
发表于:2009-1-8 16:46:00
1.一本书要写得简洁,清晰,明了,不容易.
2.影印版印刷不错.
---
这是一本好书.
您觉得呢? 送鲜花 (得0支)  扔鸡蛋 (得0个)

godbirdvista
一级评论员
该会员在china-pub购买过此书
评价等级:  
发表于:2008-12-18 10:29:00
如果把本书结合Windows Internal来看无疑会有更好的效果,如果想知道更多有关Windows开发的细节和更加深入的开发技巧,选择本书无疑是最好的选择。有了这本书以后,以前很多认为很困难的的开发任务,都可以找到解决之道啦。
您觉得呢? 送鲜花 (得0支)  扔鸡蛋 (得0个)
我要写评论
查看所有评论交流(共74条)