Wattle Software - producers of XMLwriter XML editor
 Bookstore Home | XMLwriter Home | Search | Site Map 
XML Related
 General XML
 XSLT & Stylesheets
 XHTML
 SGML
 XML DTDs
 XML Schema
Web Development
 Web Graphics
 HTML
 Dynamic HTML
Web Services
 General Web Services
 UDDI
 SOAP
 WSDL
 Programming/Scripting 
 PHP Programming
 Perl Programming
 Active Server Pages
 Java Server Pages
 JavaScript
 VBScript
 .NET Programming
 
XMLwriter
 About XMLwriter
 Download XMLwriter
 Buy XMLwriter
XML Resources
 XML Links
 XML Training
 The XML Guide
 XML Book Samples
 

Visual C++ Windows Shell Programming


By Dino Esposito
 
Image of: Visual C++ Windows Shell Programming
Pricing Details:

List Price:$39.99
You save:-- (--)
Your Price:Currently Unavailable
Buy Now

Book Details:

Format:Paperback, 673 pages.
Publisher:Apress 1998-12
ISBN:1861001843

Average Customer Rating:

4.5 4.5 out of 5 stars (10 reviews)

Editorial Reviews:

Windows 98 is the culmination of many improvements to what is now a fully-fledged, 32-bit, COM-based operating system. With suitable instruction, you can push the Windows shell to performing complex actions, and customize it using C++/ATL programs. Until now, the documentation for Windows shell programming has been poor. This book is about telling you exactly how to use the tools available, and when each tool is appropriate. There's coverage of the Windows API, the Windows Scripting Host, and shell and namespace extensions that use ATL and the shell's COM object model. Information on these topics at this level has been scarce, but the author brings them all together in this volume.

The Windows shell provides much of the look and feel of the Windows 98/Windows NT 4 desktop, and it offers many new possibilities for writing better programs. Visual C++ 6 Windows Shell Programming provides an excellent guide to understanding and programming the Windows shell, in a book filled with expert tips and useful code.

The book begins with the basics of the Windows desktop and taskbar and gives an overview of programming techniques. Besides the simpler shell C API, there are COM objects for manipulating the shell. Next the book covers file programming, such as finding and copying files, before moving on to explain how to modify shortcuts. The author presents multiple techniques for opening new programs and documents and shows how to modify the system icon tray.

Later, the book turns to Windows shell COM objects and looks at working with folders and other desktop objects. Material on the Windows Scripting Host (for batch processing) is also very useful. The author creates a sample Windows metafile (.WMF) viewer as a fuller example. The book closes with some notable material on the new Web View feature in Windows 98.

Even if you don't plan on programming extensively with the Windows shell, the material in this book can demystify what the shell is and how it operates. Reading Visual C++ 6 Windows Shell Programming can help you understand how Windows 98 and the Active Desktop really work while teaching you to be a skilled C++ Windows shell developer. --Richard Dragan


Customer Reviews:

Displaying 1 to 5 of 10 total reviews (Page 1 of 3):

4 out of 5 stars Excellent Windows Programming Instruction

The author, Dino Esposito, does excellent work in an instructional manner dealing with the customization of the Windows shell. There is an abundance of information located between the covers that will augment the comprehension the reader has about the Windows operating system as a whole. Many of the things that are in this book are available in other locations, such as MSDN and other articles available for free; however having a concentrated reference is very convenient.

Chapter 1-2: These chapters include a basic introduction to the way the Windows shell functions, and the various portions of the shell. It also introduces the Windows Application Programming Interface (API).

Chapter 3-6: Esposito explains how to work with files, including special folders, using the shell API functions SHFileOperation() and SHFileGetInfo(). Manipulating files, gathering information, and browsing for folders, it is all included. Certain Windows tasks such as working with shortcuts are explained programmatically.

Chapter 7-8: Chapter 7 introduces the concept of `invading' the shell using hooks and COM objects: using shell events or events within other processes to trigger your own events. Chapter 8 explains how to spawn processes programmatically.

Chapter 9-10: The first topic discussed deals with Windows icons, and then `invading' the Windows taskbar. This example can be used to take over any other process. Areas of the shell that are supposedly not very well known are covered; the recycling bin, formatting drives, etc.

Chapter 11-13: The Windows shell, `explorer.exe' is investigated. The author describes to the reader how explorer works, both the default actions taken and how to invoke certain behavior using the command line. Benefits and differences between using rundll() and rundll32.exe are covered; complete with examples of how to use them. Esposito spends a lot of time on scripting, first offering examples of scriptable shell objects then covering how to use the Windows Scripting Host, (WSH).

Chapter 14-16: Further levels of shell integration are presented as a conclusion to the book. Creating your own document types as well as many other features, like drag-and-drop support, give applications a native appearance in the shell. By creating new namespaces, the Windows operating system becomes even more customizable.

4 out of 5 stars Visual C++ Windows Shell Programming

I am a semi-advanced self taught C++ programmer. I use Borland's C++ Builder programming IDE. I found this book to be extremely valuable. It has provided me with more information on the pride and pitfalls of Windows 98/NT's shell implementation and API than I would've imagined. This is not a beginner's book. It won't hold your hand to get you through it's content. You will need a firm grasp of the Windows messaging system. Knowledge of and experience with the Win32 API is also important. While I am weak on COM technology (does it really provide things that can't be done in simpler ways, or are we just stuck with it?) I found that I could understand what was going on by (loosely) relating the COM objects and namespace extensions to C++ classes. This book does contain some typos and mistakes. You will have to know enough to spot them or else spend time on the author's erratta web page (haven't been there yet myself). This leads me to believe that the source code download isn't comprised of exactly the same code that's in the book. All in all, I truly wish I'd have found this book sooner. It could've saved me a great deal of time searching through many different resources for the answers to some of my recently overcome programming frustrations. I'm only halfway through the book and am already writing more robust applications. Who knew that my system tray based application would've been left (past tense) memory resident but unreachable whenever the Windows Shell was restarted! If you're serious about living with Windows...if you need to register an application or file type...if you want to use SHBrowseForFolder() better...if you can't figure out why the damned thing won't work and it's 3:00 am...BUY THIS BOOK.

5 out of 5 stars Excellent Book, Easy Reading, Good NSE information

Recently I was tasked to develop a name space extension. Not knowing that much about the topic, I scoured the web for relevant information. Unfortunately this is an area that, in my opinion, is rather poorly documented. All I could find was a couple of articles written several years ago. Fortunately for me, I found Mr. Esposito's book, and found it very enlightening, and easy to read. It's the only book that I found that has a complete chapter dedicated to this rather niche topic. Obviously the book also spends a great deal of time covering the larger scope of shell programming. All in all, I would highly recommend this book for anyone interested in learning more about shell programming, and personally, I consider it mandatory reading for anyone who is planning on developing a name space extension. Selfishly, I only wish the entire book was dedicated to name space extension, oh well, I'll have to wait for that book...

5 out of 5 stars Very usefull & source does compile

I have found this book to be very usefull as a guide to shell programming. The information in msdn is a good reference, but there are often many ways to accomplish the same thing. This book presents the various ways to approach a task and also warns you of pitfalls including misleading documentation and implemenation bugs.

Also, the source does compile in vc6 if you select the appropriate build setting (non unicode). The problem is related to unicode versions of macros being used in standard c functions such as fopen. Selecting the non-unicode build setting fixes this.

3 out of 5 stars Source code doesn't compile

I wish Wrox Press would learn to edit books. They choose appealing subjects, but the books themselves just don't cut it. This is nothing against the authors, it is the editor(s), if any, that are causing the problems.

The book content is fairly good. Much of the info is taken from articles that appeared in MSJ, or from Nancy Klut's book on shell programming, but it does add some useful new information.

Unfortunately, the source code (which is not included with the book, but is a free download) does not compile. I tried two of the projects (Shell hooks and Context menu) and neither would compile under a vanilla VC 6 installation. I know it is not my compiler, because the errors are in syntax. I suspect, despite the forward's statements otherwise, that the code was built with VC 5 and never recompiled under 6.

In any event, you may want to buy this book if you don't have access to Nancy Klut's (or MSDN, where it is included) and don't want to dig through the back issues of MSJ.

More Customer Reviews:
Next Page


Customers who bought this book were also interested in:


Software Estimation: Demystifying the Black Art (Best Practices (Microsoft))


Debugging Microsoft .NET 2.0 Applications


Essential COM (DevelopMentor Series)


Smart and Gets Things Done: Joel Spolsky's Concise Guide to Finding the Best Technical Talent


Advanced Windows Debugging (Addison-Wesley Microsoft Technology Series)

 

Find similar books by category...


Search for more:

Search books:  



Google
 
Web XMLwriter.net




Last updated: Thu Dec 4 0:47:31 CST 2008
© Wattle Software 2007. All rights reserved.