Hi all,
If any of you are planning to move to Visual Studio 2005 be aware that there
is a problem with the code generated for iterators by the editor in
Classbuilder. The following is an example of the problem:
Classbuilder will generate an iterator in the form:
Class::MethodIterator method(this, Method::IsDirectMethod);
but VC++ 2005 will flag this as an error! To correct this you will have to
add a '&' before the 'Method::IsDirectMethod' as follows:
Class::MethodIterator method(this, &Method::IsDirectMethod);
VC++ 7.0, 7.1 and 2005 (8.0) are all happy with this.
I'll try to patch this in Classbuilder shortly.
Craig Gunhouse (Gunner)
|