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. ActiveX

ActiveX

Scheduled Pinned Locked Moved COM
c++helpquestioncom
4 Posts 4 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
    Rajesh R Subramanian
    wrote on last edited by
    #1

    I have an OCX Control, created with Visual C++ 6.0 I created another new OCX control, similar to the first one with very little changes. I registered the new one and it replaced the old one. My problem is that I want both. Renaming the OCX and registering did not help me. How do i do this? Any help is highly appreciated. Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

    A 1 Reply Last reply
    0
    • R Rajesh R Subramanian

      I have an OCX Control, created with Visual C++ 6.0 I created another new OCX control, similar to the first one with very little changes. I registered the new one and it replaced the old one. My problem is that I want both. Renaming the OCX and registering did not help me. How do i do this? Any help is highly appreciated. Regards, Rajesh R. Subramanian You have an apple and me too. We exchange those and We have an apple each. You have an idea and me too. We exchange those and We have two ideas each.

      A Offline
      A Offline
      Aamir Butt
      wrote on last edited by
      #2

      I dont know much about COM. Just an idea. I guess the clsid's of both are same. Try generating new CLSIDs with GUIDGEN.exe and putting them in one of the OCX. The re-build and re-register. Hope it will help

      V 1 Reply Last reply
      0
      • A Aamir Butt

        I dont know much about COM. Just an idea. I guess the clsid's of both are same. Try generating new CLSIDs with GUIDGEN.exe and putting them in one of the OCX. The re-build and re-register. Hope it will help

        V Offline
        V Offline
        vishalmore
        wrote on last edited by
        #3

        Exactlly, the CLSID for both the activex controls are same thats why you were not able to use both OCX. Change the CLSID for modified OCX and register the activex component, this would certainly solve the problem. :) Cheers, Vishal

        L 1 Reply Last reply
        0
        • V vishalmore

          Exactlly, the CLSID for both the activex controls are same thats why you were not able to use both OCX. Change the CLSID for modified OCX and register the activex component, this would certainly solve the problem. :) Cheers, Vishal

          L Offline
          L Offline
          lemur2
          wrote on last edited by
          #4

          You'll also want to create a new ProgID for the second component, or CreateObject()/new ActiveXObject() won't work. Kev

          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