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. atl8.0 backward compatibility issue

atl8.0 backward compatibility issue

Scheduled Pinned Locked Moved ATL / WTL / STL
c++comdebugginghelpquestion
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.
  • S Offline
    S Offline
    Shiva Prasad
    wrote on last edited by
    #1

    We have built a com based application in VC5, VC6 in debug mode & works fine. when migrated to VC++ 8.0, com register class is failing. VC6 binary is built which atl6.0.dll and works fine. but when the application is built with atl8.0 com register class is failing. We are using CComModule class in atl6.0. But it looks like the same class is change to CAtlComModule in atl8.0 Is there any option which will enable backward comptible in atl8.0? Thanks

    G 1 Reply Last reply
    0
    • S Shiva Prasad

      We have built a com based application in VC5, VC6 in debug mode & works fine. when migrated to VC++ 8.0, com register class is failing. VC6 binary is built which atl6.0.dll and works fine. but when the application is built with atl8.0 com register class is failing. We are using CComModule class in atl6.0. But it looks like the same class is change to CAtlComModule in atl8.0 Is there any option which will enable backward comptible in atl8.0? Thanks

      G Offline
      G Offline
      George L Jackson
      wrote on last edited by
      #2

      You need to read the documented breaking changes that have been put in effect in ATL version 7. There were very few notable changes from 7 to 8! CComModule was replaced with several different module classes: CatlModule, CatlExeModuleT, CatlDllModuleT and CatlServiceModuleT. According to "ATL Internals", Second Edition, page 811: ..., there's not much to be gained in removing your ATL 3 modules and replacing them with the ATL 8 modules when you migrate your project. ... If you need (...) to rewrite the module-related code in your ATL 3 server to match and ATL 8 server, your best bet is to run the new VS05 wizard with the names and settings you need and then move over your ATL 3 classes.

      "We make a living by what we get, we make a life by what we give." --Winston Churchill

      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