OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Alexander Balaev (abalaev_at_FORD.COM)
Date: Wed Jan 29 2003 - 10:04:39 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Damon,
    Thanks!
    I will try it...

    On Wed, 29 Jan 2003 10:18:18 -0500, Gautama, Damon <damon_gautamaG1.COM>
    wrote:

    >You might check in MSDN for the details (check for IsEqualGUID as well).
    >There was a problem with this method being defined in the global
    >namespace and in the ATL namespace. The body of the ATL version is:
    >
    >inline BOOL InlineIsEqualGUID(REFGUID rguid1, REFGUID rguid2)
    >{
    > return (
    > ((PLONG) &rguid1)[0] == ((PLONG) &rguid2)[0] &&
    > ((PLONG) &rguid1)[1] == ((PLONG) &rguid2)[1] &&
    > ((PLONG) &rguid1)[2] == ((PLONG) &rguid2)[2] &&
    > ((PLONG) &rguid1)[3] == ((PLONG) &rguid2)[3]);
    >}
    >
    >As you can see, it is simple enough not to matter which version you
    >call. When I have run into conflicts with these two, I have always just
    >prepended ATL:: .
    >
    >HTH,
    >damon
    >
    >-----Original Message-----
    >From: Alexander Balaev [mailto:abalaevFORD.COM]
    >Sent: Wednesday, January 29, 2003 5:13 AM
    >To: DCOMDISCUSS.MICROSOFT.COM
    >Subject: OT: VC Configuration issue?
    >
    >
    >Hello,
    >Could you please help me on this one...It bugs me for quite a while :(
    >
    >Windows 2000 Prof, VC++ 6.0 SP5, SDK Nov. 2001
    >
    >What should I do - install, configure or something to be able to have
    >the
    >following line in the code:
    >
    >if (::InlineIsEqualGUID(*arr[i],riid))
    >
    >Right now it gives me:
    >error C2039: 'InlineIsEqualGUID' : is not a member of '`global
    >namespace''
    >
    >It works fine if I remove :: but I have to be in sync with others!!!
    >Thanks in advance,
    >Alex.
    >
    >----------------------------------------------------------------
    >Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    >contains important info. Save time, search the archives at
    >http://discuss.microsoft.com/archives/index.html .
    >To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM
    >NOTICE: This E-mail may contain confidential information. If you are not
    >the addressee or the intended recipient please do not read this E-mail
    >and please immediately delete this e-mail message and any attachments
    >from your workstation or network mail system. If you are the addressee
    >or the intended recipient and you save or print a copy of this E-mail,
    >please place it in an appropriate file, depending on whether
    >confidential information is contained in the message.
    >
    >----------------------------------------------------------------
    >Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    >contains important info. Save time, search the archives at
    >http://discuss.microsoft.com/archives/index.html .
    >To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM

    ----------------------------------------------------------------
    Users Guide http://discuss.microsoft.com/archives/mailfaq.asp
    contains important info. Save time, search the archives at
    http://discuss.microsoft.com/archives/index.html .
    To unsubscribe, mailto:DCOM-signoff-requestDISCUSS.MICROSOFT.COM