InstallLib
At the risk of sounding totally clueless (which may not be far from the truth):
When using the InstallLib macro, how do I tell which libtype option is needed?
Archive: InstallLib
InstallLib
At the risk of sounding totally clueless (which may not be far from the truth):
When using the InstallLib macro, how do I tell which libtype option is needed?
DLLs requiring registration are exporting the DllRegisterServer function. You can check which functions DLLs export using Dependency Walker. You could also try both and see if you get an error saying DllRegisterServer can't be found.
kichik - thanks very much for the help! The dependencywalker.com website was down, but I have a copy installed with MS Visual Studio so I was able to get what I needed.
I noticed that oleaut32.dll has a function "RegisterTypeLib" but the notes for installing the Visual Basic runtime files in the NSIS help file don't use the TLB option for the InstallLib macro. Do you know if the TLB libtype option is used only for .TLB files?
TLB option is only used for type libraries. Those don't have an exported function, but instead, that exported function you found is used to register them.
Once again, thank you _very much_ for the help!