Re: Microsoft Document Explorer - VC++ 2005
- From: Ioannis Vranos <ivr@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 07 May 2005 09:43:27 +0300
John Gabriel wrote:
Where does this leave me with VC++ 2005 - do you acknowledge this is a problem which is going to be fixed, i.e. Microsoft knows about it?
What I know so far, is that they are redesigning MSDN documentation for 2005 from scratch, so I suppose any documentation problems will be fixed.
Seems to me that when one uses ^, the compiler generates code so that it is used as an index into an array of pointers to objects on the *managed heap* the CLR uses to manage the separate heap.
So in this sense it is not a pointer and can not be used as one. So although you state that *Handles have different semantics than usual pointers* - this is only true for the CLR for in all previous versions of C++, it was essentially the same as a pointer. Strange then that it is called a *handle* and not a *gc-index*.
I do not know the implementation details of a handle (perhaps if you check the latest C++/CLI draft
http://www.plumhall.com/C++-CLI%20draft%201.10.pdf
and the CLI standard that provides implementation details of the VM as well as its assembly language, you will probably find how they are implemented.
I am not sure I understand the difference between a handle in C++/CLI and a managed pointer in "managed extensions". In both cases, handles/managed pointers have been different than native pointers, in the sense that their values change whenever the object is moved in the managed heap by the CLR (that's why you can't do pointer arithmetic with them).
So I am led to believe. Your webpage makes sense. Can I take it for granted everything you state is correct or do I need to make yet more comparisons against other sources? :-)
As far as I know it is correct, with perhaps some room left for minor clarifications. Legally speaking, I do not provide any guarantee however. :-)
.
- Follow-Ups:
- Re: Microsoft Document Explorer - VC++ 2005
- From: Ioannis Vranos
- Re: Microsoft Document Explorer - VC++ 2005
- References:
- Microsoft Document Explorer - VC++ 2005
- From: John Gabriel
- Re: Microsoft Document Explorer - VC++ 2005
- From: Ioannis Vranos
- Re: Microsoft Document Explorer - VC++ 2005
- From: John Gabriel
- Microsoft Document Explorer - VC++ 2005
- Prev by Date: DataGrids and BindingContext
- Next by Date: Re: Microsoft Document Explorer - VC++ 2005
- Previous by thread: Re: Microsoft Document Explorer - VC++ 2005
- Next by thread: Re: Microsoft Document Explorer - VC++ 2005
- Index(es):
Relevant Pages
|