CDN$ 70.58
Temporarily out of stock.
Order now and we'll deliver when available. We'll e-mail you with an estimated delivery date as soon as we have more information. Your account will only be charged when we ship the item.
Ships from and sold by Gift-wrap available.
C /CLI in Action has been added to your Cart
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See this image

C++/CLI in Action Paperback – Apr 21 2007

See all formats and editions Hide other formats and editions
Amazon Price
New from Used from
"Please retry"
CDN$ 70.58
CDN$ 70.58 CDN$ 54.44

Save an Additional 10% on Textbooks When you Join Amazon Student

Special Offers and Product Promotions

  • Amazon Student members save an additional 10% on Textbooks with promo code TEXTBOOK10. Enter code TEXTBOOK10 at checkout. Here's how (restrictions apply)

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your e-mail address or mobile phone number.

Product Details

  • Paperback: 416 pages
  • Publisher: Manning Publications; 1 edition (April 21 2007)
  • Language: English
  • ISBN-10: 1932394818
  • ISBN-13: 978-1932394818
  • Product Dimensions: 18.7 x 2.1 x 23.5 cm
  • Shipping Weight: 703 g
  • Average Customer Review: Be the first to review this item
  • Amazon Bestsellers Rank: #690,803 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

Product Description

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 ( along with a Microsoft Technology blog ( 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)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Customer Reviews

There are no customer reviews yet on
5 star
4 star
3 star
2 star
1 star

Most Helpful Customer Reviews on (beta) HASH(0x9b8f6c24) out of 5 stars 11 reviews
11 of 11 people found the following review helpful
HASH(0x9d872d80) out of 5 stars Excellent text June 15 2008
By golden_ - Published on
Format: Paperback Verified Purchase
The book is well written, and brings the reader along slowly enough to grasp all the important concepts along the way. The book will take an experienced C++ programmer easily through every concept he/she needs to know in order to use the language in the .NET environment.

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.
13 of 15 people found the following review helpful
HASH(0x9b608768) out of 5 stars Excellent book May 14 2007
By k9 - Published on
Format: Paperback Verified Purchase
Nishant did an excellent job with this book. The only complaint is that he could have made it bigger.

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.
4 of 4 people found the following review helpful
HASH(0x9b5f2c9c) out of 5 stars Very good Nov. 7 2008
By Phil H - Published on
Format: Paperback
There aren't many C++/CLI books out there, and although this is the only one I've read, I have to say it's excellent. The first two parts of the book are essential reading and really represent all anyone should need to know about C++/CLI, in my opinion. The discussion on generics and managed templates was great.
2 of 2 people found the following review helpful
HASH(0x9b644054) out of 5 stars Near to being a statndard for learning this language March 18 2010
By stosh259 - Published on
Format: Paperback Verified Purchase
I use the word near because for me personally, illustrations are the best way to learn anything. The author laments that his examples are very humble and that's OK for many - even most. As long as the idea is described, then the author has done his part to get the idea across. I feel that there should be more to expand concepts with the sample code that is included. The contrast to that is concepts can be made confusing by large examples that would risk clouding the idea that was being taught.

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++.
2 of 2 people found the following review helpful
HASH(0x9b5dcef4) out of 5 stars Excellent Book Nov. 19 2010
By Dane Tritle - Published on
Format: Paperback Verified Purchase
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 with concise discussion and thorough code examples. This book has been a huge help as I enhance legacy C++ MFC apps to leverage C# libraries, host WPF content, and host WCF services that will hopefully one day replace all of the legacy COM entry points. Topics include: C++/CLI and syntax, MFC, WPF, WCF, interop with Win Forms, interop with .NET events, DLLs that can be accessed from both managed and unmanaged, and more.