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. ASSERT(m_pCtrlSite != NULL); // not an OLE control (not yet, at least)

ASSERT(m_pCtrlSite != NULL); // not an OLE control (not yet, at least)

Scheduled Pinned Locked Moved C / C++ / MFC
comhelp
2 Posts 2 Posters 0 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.
  • K Offline
    K Offline
    krugger
    wrote on last edited by
    #1

    Hi all, i am building an application and i need a web browser within the tool. I have added an activeX webbrowser control and it works just fine in my view class. However, when i try to access outside the view it either via a function or a pointer, i get the following assertion error: ASSERT(m_pCtrlSite != NULL); // not an OLE control (not yet, at least) if (m_pCtrlSite == NULL) Can somebody please help me out. I've spent days on this stuff and i am well behind schedule. Thank you; Krugger

    S 1 Reply Last reply
    0
    • K krugger

      Hi all, i am building an application and i need a web browser within the tool. I have added an activeX webbrowser control and it works just fine in my view class. However, when i try to access outside the view it either via a function or a pointer, i get the following assertion error: ASSERT(m_pCtrlSite != NULL); // not an OLE control (not yet, at least) if (m_pCtrlSite == NULL) Can somebody please help me out. I've spent days on this stuff and i am well behind schedule. Thank you; Krugger

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      Sounds like you're trying to access the member before the view containing it has been created. Steve S

      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