Archive: How can i register Type Library (.TLB extension ) file ?


How can i register Type Library (.TLB extension ) file ?
If i want to register type library file (*.tlb) i need to call some functions from DLL files.
I have 2 options:

1. using LoadTypeLib and RegisterTypeLib from OleAut32.dll

2. using RegisterTLB function from vb6stkit.dll which does same thing.

It is possible to call a function from specific DLL ?


You have further options - have a look at this thread.
Just to be complete: at the moment it's not possible to call functions from DLLs which are not NSIS extension DLLs. But you could write a small extension dll (see contrib/exdll for an example) which calls LoadTypeLib and RegisterTypeLib for you.

~ Florian