简介
The key to accessing the power of every operating system is its application programming interface (API). Visual Basic can access only part of the Windows API without special help. To write the most powerful possible programs, VB programmers need to work with all of the API. The big problem for VB programmers in trying to do so is that all of the available documentation on the Windows API is written for C++ programmers. In other words, the directions for using the API is written in a language that VB programmers don't understand. "Dan Appleman's Win32 API Puzzle Book and Tutorials for Visual BasicProgrammers" shows VB programmers how to turbocharge Visual Basic by teaching them how to understand Microsoft's documentation to control the entire Windows API. Appleman's unique puzzle format includes 32 sample programs that almostbut don't quitework. Each puzzle has a solution with an in-depth explanation of the problem, why it occurs, and why the solution works. By avoiding the usual dry "lecture" style so common in technical books, this guide will keep you awakein fact, some of the puzzles may keep you awake nights searching for a solution. And when you've finished, you'll have an understanding of the technology that will qualify you as a true API guru. With a writing style that combines technical competence, humor, and a bit of "attitude," Appleman proves once again in this long-awaited complement to his previous bestseller, "Visual Basic Programmer's Guide to the Win32 API," that learning advanced technology can (and should) be fun.
目录
Preface p. vii
Introduction Shall We Play a Game? p. 1
Part I The Puzzles p. 11
Section 1 In the Beginning p. 13
Puzzle 1 Where, oh, Where Is That API Call? p. 15
Puzzle 2 The Last Error p. 16
Puzzle 3 Poly Want a Cracker? p. 18
Puzzle 4 It's All in the Name p. 20
Puzzle 5 Finding the Executable Name p. 21
Puzzle 6 ICON Fix This One p. 24
Puzzle 7 Supercharged Graphics p. 28
Puzzle 8 Playing Leapfrog p. 33
Section 2 Feeling Comfortable? p. 39
Puzzle 9 Translating DEVMODE p. 41
Puzzle 10 Environmentally Speaking p. 47
Puzzle 11 Registry Games p. 49
Puzzle 12 Registry Games, Part 2 p. 53
Puzzle 13 Registry Games, Part 3 p. 57
Puzzle 14 Registry Games, Part 4 p. 62
Puzzle 15 What Time Zone Is It? p. 65
Puzzle 16 Serially Speaking p. 69
Section 3 In the Groove p. 73
Puzzle 17 The DEVMODE Is in the Details p. 75
Puzzle 18 DT, Phone Home p. 78
Puzzle 19 The RASDIALPARAMS Structure p. 83
Puzzle 20 Making Connections p. 87
Puzzle 21 What Is That Mapped Drive? Part 1 p. 94
Puzzle 22 What Is That Mapped Drive? Part 2 p. 97
Puzzle 13 There Is a Question in There Somewhere p. 100
Puzzle 24 Callback That String p. 110
Section 4 OLE Smoke! p. 113
Puzzle 25 Universal Identifiers p. 115
Puzzle 26 Universal Identifiers, Part 2 p. 117
Puzzle 27 Universal Identifiers, Part 3 p. 121
Puzzle 28 Drawing OLE Objects p. 124
Section 5 Rocket Science p. 131
Puzzle 29 What Do You Do When It Mega Hurts? p. 132
Puzzle 30 File Operations p. 133
Puzzle 31 File Operations, Part 2 p. 140
Puzzle 32 Animating Rectangles p. 144
Part II The Solutions p. 147
Part III The Tutorials p. 277
Tutorial 1 Finding Functions p. 279
Tutorial 2 Memory, Where It all Begins p. 286
Tutorial 3 A Bool and Its Bitfields Are Soon Parted p. 298
Tutorial 4 How DLL Calls Work: Inside a Stack Frame p. 316
Tutorial 5 The ByVal Keyword: The Solution to 90 Percent of all API Problems p. 329
Tutorial 6 C+- Variables Meet Visual Basic p. 344
Tutorial 7 Classes, Structures, and User-Defined Types p. 359
Tutorial 8 Porting C Header Files p. 370
Tutorial 9 Inside A DLL File: Exploring the DumpInfo Program p. 377
Tutorial 10 A Case Study: The Service API p. 395
Tutorial 11 A Case Study: Reading the Event Log p. 425
Appendixes p. 435
Appendix A Hints p. 435
Appendix B Frequently Asked Questions p. 442
Appendix C APIGID32.DLL Library p. 455
Index p. 461
Introduction Shall We Play a Game? p. 1
Part I The Puzzles p. 11
Section 1 In the Beginning p. 13
Puzzle 1 Where, oh, Where Is That API Call? p. 15
Puzzle 2 The Last Error p. 16
Puzzle 3 Poly Want a Cracker? p. 18
Puzzle 4 It's All in the Name p. 20
Puzzle 5 Finding the Executable Name p. 21
Puzzle 6 ICON Fix This One p. 24
Puzzle 7 Supercharged Graphics p. 28
Puzzle 8 Playing Leapfrog p. 33
Section 2 Feeling Comfortable? p. 39
Puzzle 9 Translating DEVMODE p. 41
Puzzle 10 Environmentally Speaking p. 47
Puzzle 11 Registry Games p. 49
Puzzle 12 Registry Games, Part 2 p. 53
Puzzle 13 Registry Games, Part 3 p. 57
Puzzle 14 Registry Games, Part 4 p. 62
Puzzle 15 What Time Zone Is It? p. 65
Puzzle 16 Serially Speaking p. 69
Section 3 In the Groove p. 73
Puzzle 17 The DEVMODE Is in the Details p. 75
Puzzle 18 DT, Phone Home p. 78
Puzzle 19 The RASDIALPARAMS Structure p. 83
Puzzle 20 Making Connections p. 87
Puzzle 21 What Is That Mapped Drive? Part 1 p. 94
Puzzle 22 What Is That Mapped Drive? Part 2 p. 97
Puzzle 13 There Is a Question in There Somewhere p. 100
Puzzle 24 Callback That String p. 110
Section 4 OLE Smoke! p. 113
Puzzle 25 Universal Identifiers p. 115
Puzzle 26 Universal Identifiers, Part 2 p. 117
Puzzle 27 Universal Identifiers, Part 3 p. 121
Puzzle 28 Drawing OLE Objects p. 124
Section 5 Rocket Science p. 131
Puzzle 29 What Do You Do When It Mega Hurts? p. 132
Puzzle 30 File Operations p. 133
Puzzle 31 File Operations, Part 2 p. 140
Puzzle 32 Animating Rectangles p. 144
Part II The Solutions p. 147
Part III The Tutorials p. 277
Tutorial 1 Finding Functions p. 279
Tutorial 2 Memory, Where It all Begins p. 286
Tutorial 3 A Bool and Its Bitfields Are Soon Parted p. 298
Tutorial 4 How DLL Calls Work: Inside a Stack Frame p. 316
Tutorial 5 The ByVal Keyword: The Solution to 90 Percent of all API Problems p. 329
Tutorial 6 C+- Variables Meet Visual Basic p. 344
Tutorial 7 Classes, Structures, and User-Defined Types p. 359
Tutorial 8 Porting C Header Files p. 370
Tutorial 9 Inside A DLL File: Exploring the DumpInfo Program p. 377
Tutorial 10 A Case Study: The Service API p. 395
Tutorial 11 A Case Study: Reading the Event Log p. 425
Appendixes p. 435
Appendix A Hints p. 435
Appendix B Frequently Asked Questions p. 442
Appendix C APIGID32.DLL Library p. 455
Index p. 461
- 名称
- 类型
- 大小
光盘服务联系方式: 020-38250260 客服QQ:4006604884
云图客服:
用户发送的提问,这种方式就需要有位在线客服来回答用户的问题,这种 就属于对话式的,问题是这种提问是否需要用户登录才能提问
Video Player
×
Audio Player
×
pdf Player
×
亲爱的云图用户,
光盘内的文件都可以直接点击浏览哦
无需下载,在线查阅资料!