CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    ProgID and ClassID

    How can you get a ProgID or ClassID directly from a dll or ocx without looking in the system registry?


  2. #2
    Join Date
    Dec 1999
    Posts
    18

    Re: ProgID and ClassID

    you will require at least the progID .if you have it you can use a API ClassIdfromProgID to find the clsID.


  3. #3
    Guest

    Re: ProgID and ClassID

    The thing is, I'm able to open a dll in Notepad and see the ProgID in the code. The trick is, the ProgID seems to be in different places for each dll or ocx that I open. I know there has to be a way of knowing the exact position of the ProgID within a dll file. How else does Regsvr32.exe register controls? You see, the ProgID is a combination of the Project Name and the Control Name. And I can find those two in each dll or ocx that I open.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured