Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
C++/CLI in Action Paperback – April 21, 2007
Windows 10 For Dummies Video Training
Get up to speed with Windows 10 with this video training course from For Dummies. Learn more.
Frequently Bought Together
Customers Who Bought This Item Also Bought
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.
Top Customer Reviews
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++.
Most Recent Customer Reviews
I suggest you to read it. Even if you are not familiar with C++ or C#, you get a good thinking what to study first and a book become your major reference source in the future. Read morePublished on August 31, 2013 by Dmitrij Severnyj
There is no way this book deserves five starts. It's OK book with extremely annoying analogy with unrelated real life things that are suitable for teaching kindergarten kids not... Read morePublished on September 3, 2011 by Alan B. Revzin
C++/CLI in Action (Nishant Sivakumar): by far my favorite book on C++/CLI and interop. Sivakumar shows how to interop mananged and unmanaged code and solve real-world problems... Read morePublished on November 19, 2010 by Dane Tritle