C++/CLI in Action (Manning)
|
| List Price: | $49.99 |
| Price: | $42.49 & eligible for FREE Super Saver Shipping on orders over $25. Details |
Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com
37 new or used available from $23.06
Average customer review:Product Description
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:
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.
Product Details
- Amazon Sales Rank: #342964 in Books
- Published on: 2007-04-11
- Format: Illustrated
- Original language: English
- Number of items: 1
- Binding: Paperback
- 416 pages
Editorial Reviews
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.
Customer Reviews
Very readable
The book is very well written. The author is intentional about bringing the reader along slowly enough to grasp all the important concepts along the way. Yet, there is no fluff or filler in this book. 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.
Always empathetic to the target audience, the author reassures the reader when a new idea is first mentioned, that it will be fully explained at the proper time, if not in the current context.
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, but essential comcepts including delegates, finalizers, managed templates, and generics.
Chapters 4 and 5 explain how to mix native code and managed code, in numerous, practical scenarios. It will address most every situation the reader is likely to encounter.
Chapter 6 explains how to interop Windows Forms with MFC or vice versa. Chapter 7 deals with the Windows Presentation Foundation. And finally, chapter 8 covers migrating from DCOM to WCF, and hosting a WCF service in IIS.
The author does not attempt to be funny or clever when he's not. However, he does write 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. 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++.
Excellent book
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
inheritance.
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.




