- Amazon Student members save an additional 10% on Textbooks with promo code TEXTBOOK10. Enter code TEXTBOOK10 at checkout. Here's how (restrictions apply)
C++/CLI in Action Paperback – Apr 21 2007
Special Offers and Product Promotions
Customers Who Bought This Item Also Bought
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
To get the free app, enter your e-mail address or mobile phone number.
About the Author
Nishant Sivakumar has been programming since 19909, and has extensive experience with Visual C++, MFC, C#, and the .NET Framework. Nish has been a Microsoft Visual C++ MVP since 2002, and maintains an MVP tips and tricks website (www.voidnish.com) along with a Microsoft Technology blog (blog.voidnish.com). He works for The Code Project and is in charge of the MFC libraries Ultimate Toolbox, Ultimate Grid and Ultimate TCP/IP products sold through The Code Project Storefront. Nish has been working with Microsoft Technologies since the DOS days and is currently exploring .NET 3.0 technologies such as WPF and WCF. Nish loves reading Science Fiction, P G Wodehouse and Agatha Christie. In addition to C++/CLI in Action, Nish has authored Extending MFC applications with the .NET Framework as well as Summer Love and Some More Cricket, a romantic comedy. Presently, he lives in Toronto with his loving wife Smitha.
Inside This Book(Learn More)
Most Helpful Customer Reviews on Amazon.com (beta)
Chapter 1 introduces simple CLI concepts such as the /clr compiler option, CLR types, handles, gcnew, and boxing. Chapters 2 and 3 graduate to more advanced concepts including delegates, finalizers, managed templates, and generics.
Chapters 4 and 5 explain how to mix native code and managed code, in numerous, practical scenarios. The author presents one very clever technique for wrapping managed classes, which is more elegant than any other techniques you are likely to encounter.
Chapter 6 explains how to interop Windows Forms with MFC or vice versa. Chapter 7 shows three techniques for using WPF (Avalon) in C++/CLI (yes, it is possible). By the way, the third technique is no longer supported by Microsoft. And finally, chapter 8 covers WCF.
The author writes in a style that is interesting and keeps the reader engaged. He uses analogies effectively to help the reader connect concepts or to see them in a different light. He reassures the reader when a new idea is first mentioned, that it will be fully explained at a later point, if not in the current context. I found Sivakumar to be one of the best technical authors out there.
I would highly recommend this book to someone who needs to make the move to .NET programming from plain C++, or for someone who needs to interop managed and unmanaged code.
He separates himself from the rest. The difference is his book covers:
1. MFC/Managed C++ integration. Excellent chapter.
He shows how to add any Managed class to either
an MFC Dialog or MFC View. My favorite chapters are
five and six.
2. Templates/Generic mixing. Even covers managed template
3. Advanced event covering with C++. I have worked with C++/C#
for years, and I didn't know this about events. Very good.
4. Avalon integration. This is somewhat lacking, but it is still
very good coverage.
I would recommend this book to anybody.
It is a fine balance to be sure and the author appears to be aware of that. As mentioned, I would have liked to see more in the way of examples. Especially those that cover mixed mode programming. There are other chapters that do a great job covering interop with MFC, WCF, WPF tough I did NOT purchase it for those concepts. Readers of this review wanting a text for that are wise to consider this book.
The book seems to be thorough in getting all the features of this language exposed to the reader by comparing it to the older managed C++ which many will agree is abysmal - Good job MS!.
Overall I highly recommend this book for the way the concepts are taught in spite of the examples. Anyone who visits forums of sorts will see the author's posts there, being very helpful.
The acknowledgments page list names of the reviewers, some I know to be heavy hitters in software development. All of whom helped to make this a must read for learning this "variant" of C++.
Look for similar items by category
- Books > Computers & Technology > Microsoft > Development > C & C++ Windows Programming
- Books > Computers & Technology > Programming > C
- Books > Computers & Technology > Programming > Languages & Tools
- Books > Computers & Technology > Software
- Books > Textbooks > Computer Science & Information Systems > Computer Science
- Books > Textbooks > Computer Science & Information Systems > Programming Languages