Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

C++/CLI in Action [Paperback]

Nishant Sivakumar

List Price: CDN$ 64.99
Price: CDN$ 40.94 & FREE Shipping. Details
You Save: CDN$ 24.05 (37%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, August 26? Choose One-Day Shipping at checkout.
Save Up to 90% on Textbooks
Hit the books in Amazon.ca's Textbook Store and save up to 90% on used textbooks and 35% on new textbooks. Learn more.
Join Amazon Student in Canada

Book Description

April 21 2007 1932394818 978-1932394818 1

C++ is the language of choice for thousands of applications and millions of lines of code. With C++/CLI, developers can integrate existing C++ code into the .NET platform without rewriting their applications. This book explores the C++/CLI syntax, teaches how to mix native C++ and managed .NET code, and shows how to integrate C++ with Windows Forms, WPF (Avalon), and WCF (Indigo).

Imagine taking a C++-based program you've been using for a decade and giving it a snazzy new interface using Windows Presentation Foundation. How about making your old business applications talk to your new ones using Windows Communication Foundation. C++/CLI makes this--and more--possible. C++/CLI in Action shows you how to bridge the gap between your existing C++ code and the .NET platform. C++/CLI in Action will help you if:

  • You're hesitant to migrate to .NET because it means rewriting code in C# or VB.
  • You have significant C++ expertise that you want to leverage in the .NET.
  • You only need to use pieces of the .NET framework, such as Windows Forms or web services.

There's no fluff here. Designed for readers who already know C++, this book starts by teaching the unique aspects of the C++/CLI language. After a quick tour through the basics, readers work through examples of integrating standard C++ into the .NET-based applications and building programs that mix C++ and .NET code for maximum performance and efficiency.

Customers Who Bought This Item Also Bought

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.4 x 24.1 cm
  • Shipping Weight: 703 g
  • Amazon Bestsellers Rank: #510,048 in Books (See Top 100 in Books)

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

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.5 out of 5 stars  8 reviews
11 of 11 people found the following review helpful
5.0 out of 5 stars Excellent text June 15 2008
By golden_ - Published on Amazon.com
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
4.0 out of 5 stars Excellent book May 14 2007
By KG - Published on Amazon.com
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
5.0 out of 5 stars Very good Nov. 7 2008
By Phil H - Published on Amazon.com
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
5.0 out of 5 stars Excellent Book Nov. 19 2010
By Dane Tritle - Published on Amazon.com
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.
2 of 2 people found the following review helpful
4.0 out of 5 stars Near to being a statndard for learning this language March 18 2010
By stosh259 - Published on Amazon.com
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++.

Look for similar items by category