Welcome to MSDN Blogs Sign in | Join | Help

February 2004 - Posts

Template class to make IEnumerator type-safe in C++

This is my current version. Comments are welcome. (yes, I removed the previous posts as I did not want to fill this blog with “ Here is verssio n“... Sorry.) class EnumeratorBase { public : bool MoveNext() { return m_e->MoveNext() ; } void
Posted by yvesdolc | 0 Comments

A must read if you’re doing any managed C++ (I mean Thing1) development

Value Type Representation Between the Original and Revised C++ Stan was kind enough to explain me what he meant by “ When you couple that with the continued requirement that non-POD native classes be pointer members within the value type, this makes
Posted by yvesdolc | 2 Comments

"Tale of the __dtor method and the delete operator" : the return

Edward Dudenhoefer was kind enough to comment on that post. You can get this information in more details by looking at “TLS310 - Visual C++ "Whidbey": New Language Design and Enhancements ( Start Session , Download Powerpoint )” but for those
Posted by yvesdolc | 0 Comments

Managed array of integers and System::Void's

Those 4 lines create a managed array of integers (System::Int32 value type). I prefer the syntax of the first version but I would understand people using the 4 th : Int32 mai[] = new Int32[2] ; Int32 mai_1 __gc [] = new Int32[2] ; Int32 mai_2[] = __gc
Posted by yvesdolc | 0 Comments

Follow-up: Tale of the __dtor method and the delete operator

Wesner Moise wrote “ So, how do we call the destructor from other managed languages, where destructor calls have to be explicit ” If you can change the managed C++ code, then I would highly advise you to do so by implementing the IDisposable
Posted by yvesdolc | 0 Comments

I love that mouse

The Wireless IntelliMouse Explorer that is. I've been using a lot of Microsoft mice over the years so when I saw that Tilt Wheel technology , I thought that I would use it as much as the Scroll Wheel one: a lot! Well, it turns out I don't. But the mouse
Posted by yvesdolc | 2 Comments
Filed under:

Answer from Jonathan Caves regarding "Tale of the __dtor method and the delete operator"

Thanks Jonathan! For Whidbey we have changed the name of the destructor and constructor to {dtor} and {ctor} – this is so people cannot do the following: class X { public: X(int data) : m_data(data) { } ~X() { } void mf() { } private: int m_data
Posted by yvesdolc | 1 Comments

Is your company looking at the error reports our common customers send Microsoft?

You know, the one we receive after the user clicks “Send Error Report“ on the following dialog: If you're an ISV developer and wonder if your company participates, check Participating Companies . As a developer, you'll want to read more information
Posted by yvesdolc | 1 Comments

Supporting Direct Handles to Boxed Value Types

Thanks for the answer Stan.
Posted by yvesdolc | 0 Comments

Tale of the __dtor method and the delete operator

Last week, I was reviewing the Managed C++ MOC course as I was scheduled to give it to an ISV. Something I read triggered my curiosity. I was wondering what delete p ; delete p ; would mean in Managed C++ as I know the second call is undefined behaviour
Posted by yvesdolc | 0 Comments

Managed C++ resources I consider very useful

- Microsoft Press book: Programming with Managed Extensions for Microsoft® Visual C++® .NET--Version 2003 - Visual C++ team blogs: Andy Rich , Brandon Bray , Brian Johnson , Martyn Lovell , Stan Lippman , Jonathan Caves , Herb Sutter and Five
Posted by yvesdolc | 2 Comments

Who am I?

I'm working as a consultant for the ISV Practice of Microsoft US Partner Services. We were called Application Development Consultants before. The group was called Premier Support for Developers, then Premier Services for ISV's. Although I don't like that
Posted by yvesdolc | 2 Comments
 
Page view tracker