Thread overview | |||||
---|---|---|---|---|---|
|
November 17, 2003 Update DMC to new MFC | ||||
---|---|---|---|---|
| ||||
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 Re: Update DMC to new MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andy C | "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 Re: Update DMC to new MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andy C | 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 |
Copyright © 1999-2021 by the D Language Foundation