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. COM
  4. Problem in registering a COM component.

Problem in registering a COM component.

Scheduled Pinned Locked Moved COM
helpc++comwindows-admin
4 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.
  • R Offline
    R Offline
    rajeev82
    wrote on last edited by
    #1

    Hi friends, I've built a COM component using ATL.The component gets created succesfully,but i'm not able to see it in the registry(tried registering it manually useing regsvr32 and it said component registered successfully)..Any help will be highly appreciated. Thanks and regards, Rajeev

    L 1 Reply Last reply
    0
    • R rajeev82

      Hi friends, I've built a COM component using ATL.The component gets created succesfully,but i'm not able to see it in the registry(tried registering it manually useing regsvr32 and it said component registered successfully)..Any help will be highly appreciated. Thanks and regards, Rajeev

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

      What code do you have in DLLRegisterServer function? What is the content of your .RGS file?

      Sohail

      R 1 Reply Last reply
      0
      • L Lost User

        What code do you have in DLLRegisterServer function? What is the content of your .RGS file?

        Sohail

        R Offline
        R Offline
        rajeev82
        wrote on last edited by
        #3

        HKCR { MITFConverter.MIConverter.1 = s 'MIConverter Class' { CLSID = s '{8AED5835-214E-408E-BEAE-375A95F10433}' } MITFConverter.MIConverter = s 'MIConverter Class' { CLSID = s '{8AED5835-214E-408E-BEAE-375A95F10433}' CurVer = s 'MITFConverter.MIConverter.1' } NoRemove CLSID { ForceRemove {8AED5835-214E-408E-BEAE-375A95F10433} = s 'MIConverter Class' { ProgID = s 'MITFConverter.MIConverter.1' VersionIndependentProgID = s 'MITFConverter.MIConverter' ForceRemove 'Programmable' InprocServer32 = s '%MODULE%' { val ThreadingModel = s 'Free' } val AppID = s '%APPID%' 'TypeLib' = s '{26B4997D-A0FD-4A5B-BB6D-A270D8FD86B3}' } } } this is the content of my rgs file

        L 1 Reply Last reply
        0
        • R rajeev82

          HKCR { MITFConverter.MIConverter.1 = s 'MIConverter Class' { CLSID = s '{8AED5835-214E-408E-BEAE-375A95F10433}' } MITFConverter.MIConverter = s 'MIConverter Class' { CLSID = s '{8AED5835-214E-408E-BEAE-375A95F10433}' CurVer = s 'MITFConverter.MIConverter.1' } NoRemove CLSID { ForceRemove {8AED5835-214E-408E-BEAE-375A95F10433} = s 'MIConverter Class' { ProgID = s 'MITFConverter.MIConverter.1' VersionIndependentProgID = s 'MITFConverter.MIConverter' ForceRemove 'Programmable' InprocServer32 = s '%MODULE%' { val ThreadingModel = s 'Free' } val AppID = s '%APPID%' 'TypeLib' = s '{26B4997D-A0FD-4A5B-BB6D-A270D8FD86B3}' } } } this is the content of my rgs file

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

          and what is the code in DllRegisterServer function?

          Sohail

          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