Updates
Latest Tweet
What's New?
Check out for latest innovation, a computer based training video collection
Like this Page
Pro Visual C++/CLI and the .NET 2.0 Platform Review by Wuping Xin
Be cautious!
I got this book almost 2 years ago, when there were almost no C++/CLI books on the market.
This book is fairly well written, and the author is undoubtedly a very experienced tech writer/software developer.
That said, I am a little dissappointed that after 2 years, there is one significant error in the book that is still not corrected in the errata.
On page 104 of the book, "Memory Management Destructors", it is said " You can call the delete operator on the handle of the ref class object, and the managed memory will be dealllocated IMMEDIATELY in reverse order to which is was allocated".
This is compleletly wrong. After calling delete, the physical memory hold by a reference class can NOT be deallocated immediately but will be reclaimed during next garbage collection cycle, it is STILL managed by garbage collector. C++/CLI just allows "delete" as an eye candy for C++ developers but still it is garbage collector that plays.
This cast serious doubt on the authors understanding the essence of C++/CLI.
Besides that, the book is a very good book, and I have great respect for the author's efforts. But it is still looks like the author translate it from his previous version in managed C++ and rush it to publish two years ago.