C2065 'IUrlHistoryStg2Ptr': undeclared identifier
-
Hello Team, I am getting the below error while building my MFC project. C2065 'IUrlHistoryStg2Ptr': undeclared identifier I have included the header file and it is there under the 'External Dependencies' folder. Could you please suggest me how I can resolve the issue. Thanking you, Saikat Das
Software Programmer
-
Hello Team, I am getting the below error while building my MFC project. C2065 'IUrlHistoryStg2Ptr': undeclared identifier I have included the header file and it is there under the 'External Dependencies' folder. Could you please suggest me how I can resolve the issue. Thanking you, Saikat Das
Software Programmer
-
I cannot find any reference to
IUrlHistoryStg2Ptr
in the urlhist.h file, or in the IUrlHistory (Windows) | Microsoft Docs[^] documentation either. So where did you find the reference? -
Maybe here at
CodeProject
: Access Internet Explorer's History in MFC[^]. :)"In testa che avete, Signor di Ceprano?" -- Rigoletto
And according to the discussion below the article [Access Internet Explorer's History in MFC](https://www.codeproject.com/Messages/2338206/Re-How-can-I-compile) :
Quote:
Go to Parentinsert these in IEHistory.h typedef IUrlHistoryStg2* IUrlHistoryStg2Ptr; typedef IEnumSTATURL* IEnumSTATURLPtr;
-
Hello Team, I am getting the below error while building my MFC project. C2065 'IUrlHistoryStg2Ptr': undeclared identifier I have included the header file and it is there under the 'External Dependencies' folder. Could you please suggest me how I can resolve the issue. Thanking you, Saikat Das
Software Programmer
See @Victor-Nijegorodov's message below.