Amazon.com Review
Dan Appleman's Win32 API Puzzle Book and Tutorial for Visual Basic Programmers provides 32 challenging programming "puzzles" that will test the skills of any intermediate or advanced Visual Basic programmer.
The problems start simply enough, with puzzles that look at the basics of Win32 API C API calls, such as retrieving error messages and graphics. However, the book quickly approaches tougher terrain, offering a series of problems on the Windows Registry. Other problem topics include programming with Remote Access Services (RAS), networked drives, and the DEVMODE structure (for polling printers and other devices). Finally, the toughest problems involve ActiveX programming and cover how to work with Global Universal Identifiers (GUIDs) and drag-and-drop file operations.
The back of the book contains hints for each puzzle, as well as complete solutions and comments. The author provides a tutorial on various aspects of VB Win32 C API programming, including C to VB data types, parameter passing (by value and by pointer) and some excellent material on how the call stack works for Windows DLLs. Two final sections discuss the Win32 Service API (for starting and stopping Win32 services) and how to access the Windows NT Event Log.
In all, this book provides expert knowledge on getting the most out of VB Win32 C API calls in a format that is always challenging and often entertaining. --Richard Dragan
Product Description
</p>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.</p> <p><i>Dan Appleman's Win32 API Puzzle Book and Tutorials for Visual BasicProgrammers</i> 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 almost&emdash;but don't quite&emdash;work. 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 awake&emdash;in 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.</p>
<p>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, <i>Visual Basic Programmer's Guide to the Win32 API</i>, that learning advanced technology can (and should) be fun. </p>
See all Editorial Reviews