Quote Originally Posted by Elroy View Post
Ben,

I don't understand. What's your ultimate objective? Are you trying to develop a TypeLib that you'll distribute to other developers?

If not, then what do you care if some superfluous information is in the TypeLib? It's all just compiled into the executable, so you're the only one who'd have to manage the actual TypeLib.

There are probably TypeLib editors out there, but I'm not familiar with them.

Elroy
If I create a TypeLib based on an ActiveX DLL file, then I will need to distribute the ActiveX DLL file. It won't require the AX DLL file to be registered (info added to the registry), as the EXE file with the TLB will now contain all the information within itself needed to use the AX DLL, but it will still require distributing the AX DLL file itself. In other words, using VB6 to create a TLB will create a TLB that simply contains references to an AX DLL file. However, from my understanding, you can also create (using tools other than VB6) a TLB that will encapsulate all kinds of things other than references to an AX DLL file. Using these additional tools, you can create a TLB that includes its own functions, constants, user-defined-types, etc. Does anybody here know the name of such software though? And if so, what is it called, and where can I get it?