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. ATL / WTL / STL
  4. Compilation error C3702 "ATL is required for COM events"

Compilation error C3702 "ATL is required for COM events"

Scheduled Pinned Locked Moved ATL / WTL / STL
c++comhelpquestion
2 Posts 1 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.
  • J Offline
    J Offline
    jparsons
    wrote on last edited by
    #1

    I'm getting this error in ATL 7.0 trying to capture COM events from another library. I've researched this error on the web and it says to make sure you've included several header files. I've included all of hte header files (atlbase,atlcom) and I've defined ATL_ATTRIBUTES above them. So far I've had no success in removing the error. Any ideas? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

    J 1 Reply Last reply
    0
    • J jparsons

      I'm getting this error in ATL 7.0 trying to capture COM events from another library. I've researched this error on the web and it says to make sure you've included several header files. I've included all of hte header files (atlbase,atlcom) and I've defined ATL_ATTRIBUTES above them. So far I've had no success in removing the error. Any ideas? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

      J Offline
      J Offline
      jparsons
      wrote on last edited by
      #2

      I fixed this problem in a hackish way. I created a new ATL project and copied all of the code over to the new project and it compiled fine. The original project did not include ATL by default. I added it to the project settings later. The events suggest to me that in some way I failed to add ATL support properly. So what is the proper way to add ATL support to a project that formerly did not have it? Jared jparsons@jparsons.org www.prism.gatech.edu/~gte477n

      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