the correct way to register an object

  • Thread starter Thread starter Serve La
  • Start date Start date
S

Serve La

Suppose I wanted to fill in DllRegisterServer myself for an IDispatch
component.
Where do I put the progid? I'm now putting it in HKCR\CLSID\{-guid-}\ProgID
but whenever I want to get the CLSID I get the "invalid class string" error.
The typelibrary is registered and the interface is registered, but I only
use ProgID and
Inprocserver32. What am I doing wrong?
 
Serve La said:
Suppose I wanted to fill in DllRegisterServer myself for an IDispatch
component.
Where do I put the progid? I'm now putting it in HKCR\CLSID\{-guid-}\ProgID
but whenever I want to get the CLSID I get the "invalid class string" error.
The typelibrary is registered and the interface is registered, but I only
use ProgID and
Inprocserver32. What am I doing wrong?

fixed.
I needed to put the progid in the HKCR root too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top