Closed Bug 38441 Opened 25 years ago Closed 25 years ago

Build problems with InlineIsEqualGUID

Categories

(Core Graveyard :: Embedding: ActiveX Wrapper, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bratell, Assigned: locka)

References

()

Details

I often have problem building the ActiveX component (which is part of the normal build so I guess I have to build it). I'm ending up with: MozillaBrowser.cpp j:\mozilla\mozilla\embedding\browser\activex\src\control\MozillaBrowser.cpp(168) : error C2668: 'InlineIsEqualGUID' : ambiguous call to overloaded function NMAKE : fatal error U1077: 'cl' : return code '0x2' Searching MSDN shows that it might be caused by a Platform SDK bug which should be fixed in the january edition. See Microsoft Knowledge Base Article Q243298 <http://support.microsoft.com/support/kb/articles/Q243/2/98.ASP> but since it's the January edition I have installed I don't quite believe what it says. I will try to install a later Platform SDK, but if you could do the fix mentioned in the article, you might help people having the same problem as me. The suggested workaround is to put :: or ATL:: in front of the call to InlineIsEqualGUID, making it ::InlineIsEqualGUID or ATL::InlineIsEqualGUID and that did the trick for me.
The latest platform SDK has a patched version of atlbase.h in mssdk\include\atl30. Make sure you have this in your include path environment variable before the normal ATL headers. If this fixes the problem, can you close this bug report? Thanks.
Yes, that solves the problem but as I said, I wanted you to consider changing the source code so that it wouldn't matter what SDK you have installed. So you can close the bug if you want.
Closing the problem. Microsoft provide a workaround for their own breakage.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.