1 Replies - 144 Views - Last Post: 29 September 2019 - 12:37 AM Rate Topic: -----

#1 garbus   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 41
  • Joined: 18-June 17

Registered COM class cannot be created by ProgID in other languages

Posted 28 September 2019 - 11:33 PM

I created a simple COM class with ATL and registered it, and I can create objects of that class with the CLSID and use it. But I cannot create them by the name of the class, even after I made the registration step add the ProgId key to the registry. I don't understand why it's not working, but when I try to create objects in VBScript or AutoIt using the name of the class, it does not work even with the ProgId in the registry, but it works with the CLSID. Can someone help me to resolve this issue? Thanks.

Is This A Good Question/Topic? 0
  • +

Replies To: Registered COM class cannot be created by ProgID in other languages

#2 garbus   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 41
  • Joined: 18-June 17

Re: Registered COM class cannot be created by ProgID in other languages

Posted 29 September 2019 - 12:37 AM

I resolved the issue. I was putting the ProgId as a sub key of the class key, but I was supposed to put it as a key under HKEY_CLASSES_ROOT with a CLSID sub key.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1