Thread overview
Update DMC to new MFC
Nov 17, 2003
Andy C
Nov 18, 2003
Walter
Nov 18, 2003
Jan Knepper
November 17, 2003
And todays problem...
The source line that is failing is: template <class T, const IID* piid =
&__uuidof(T)>

The C++ keyword "__uuidof()" which is defined at http://www.msdn.com as: "The
__uuidof keyword retrieves the
GUID attached to the expression. The expression can be a type name, pointer,
reference, or array of that type,
a template specialized on these types, or a variable of these types. The
argument is valid as long as the
compiler can use it to find the attached GUID.   A special case of this
intrinsic is when either 0 or
NULL is supplied as the argument. In this case, __uuidof will return a GUID made
up of zeros.  Use this keyword to
extract the GUID attached to:  An object by the uuid extended attribute or A
library block created with
the module attribute."




November 18, 2003
"Andy C" <Andy_member@pathlink.com> wrote in message news:bpbiae$2ugl$1@digitaldaemon.com...
> And todays problem...
> The source line that is failing is: template <class T, const IID* piid =
> &__uuidof(T)>
>
> The C++ keyword "__uuidof()" which is defined at http://www.msdn.com as:
"The
> __uuidof keyword retrieves the
> GUID attached to the expression. The expression can be a type name,
pointer,
> reference, or array of that type,
> a template specialized on these types, or a variable of these types. The
> argument is valid as long as the
> compiler can use it to find the attached GUID.   A special case of this
> intrinsic is when either 0 or
> NULL is supplied as the argument. In this case, __uuidof will return a
GUID made
> up of zeros.  Use this keyword to
> extract the GUID attached to:  An object by the uuid extended attribute or
A
> library block created with
> the module attribute."

That can be worked around by suppling the guid manually.


November 18, 2003
Yes, this was one of the reasons why it stopped the port about 4 years ago...



Andy C wrote:

> And todays problem...
> The source line that is failing is: template <class T, const IID* piid =
> &__uuidof(T)>
> 
> The C++ keyword "__uuidof()" which is defined at http://www.msdn.com as: "The
> __uuidof keyword retrieves the GUID attached to the expression. The expression can be a type name, pointer,
> reference, or array of that type,
> a template specialized on these types, or a variable of these types. The
> argument is valid as long as the compiler can use it to find the attached GUID.   A special case of this
> intrinsic is when either 0 or NULL is supplied as the argument. In this case, __uuidof will return a GUID made
> up of zeros.  Use this keyword to extract the GUID attached to:  An object by the uuid extended attribute or A
> library block created with the module attribute."


-- 
ManiaC++
Jan Knepper