CHtmlView problem
-
c:\program files\microsoft visual studio\vc98\include\mshtml.h(16768) : error C2367: 'IHTMLControlElement' : redefinition; different uuid specifiers c:\program files\microsoft visual studio\vc98\include\mshtml.h(16768) : see declaration of 'IHTMLControlElement' Hi, Whenever I try to compile any project that uses CHtmlView I get the abover error. Any ideas how to fix this.. I took a quick look through the headers and couldn't find another definition of IHTMLControlElement? The error points to the line
interface DECLSPEC_UUID("04598fc6-866c-11cf-ab7c-00aa00c08fcf")
in mshtml.hEXTERN_C const IID IID_IHTMLControlElement; #if defined(__cplusplus) && !defined(CINTERFACE) **interface DECLSPEC_UUID("04598fc6-866c-11cf-ab7c-00aa00c08fcf")** IHTMLControlElement : public IDispatch { public:
I am using VC6 SP6. This my first time working with CHtmlView and IWebBrowser2 classes and I can't even compile a sample :((