December 17th, 1999, 01:26 PM
How do you find the ProgID or ClassID directly from a dll or ocx without going to the system registry? 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.