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
|New from||Used from|
All Books, All the Time
Read author interviews, book reviews, editors picks, and more at the Amazon Book Review. Read it now
Customers who bought this item also bought
What other items do customers buy after viewing this item?
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.
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++.
Life is often like that. Upon reflection, you can see the path that you should have taken. Hopefully, it will be a lesson to benefit the future. So, if you have a need to couple C++/CLI to your top level C#, then get Sivakumar's book and become an expert in a week. It will be a very smart move on your part.
I also found ".NET 2.0 Interoperability Recipies" by Bruce Bukovics to be helpful in providing a wider comparison of interoperability usage that helped me to manage the entire area of design much faster than I usualy do.