Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. C2065 'IUrlHistoryStg2Ptr': undeclared identifier

C2065 'IUrlHistoryStg2Ptr': undeclared identifier

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++collaboration
5 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Saikat_EPAM
    wrote on last edited by
    #1

    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

    L 2 Replies Last reply
    0
    • S Saikat_EPAM

      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

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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?

      CPalliniC 1 Reply Last reply
      0
      • L Lost User

        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?

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        Maybe here at CodeProject: Access Internet Explorer's History in MFC[^]. :)

        "In testa che avete, Signor di Ceprano?" -- Rigoletto

        In testa che avete, signor di Ceprano?

        V 1 Reply Last reply
        0
        • CPalliniC CPallini

          Maybe here at CodeProject: Access Internet Explorer's History in MFC[^]. :)

          "In testa che avete, Signor di Ceprano?" -- Rigoletto

          V Offline
          V Offline
          Victor Nijegorodov
          wrote on last edited by
          #4

          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;

          1 Reply Last reply
          0
          • S Saikat_EPAM

            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

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            See @Victor-Nijegorodov's message below.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups