|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Location: Texas
Posts: 3
|
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? |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2006
Location: Texas
Posts: 3
|
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? |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2006
Location: Texas
Posts: 3
|
Once again, thank you _very much_ for the help!
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|