Skip to content
⌘ NSIS Forum Archive

Correct way for shared DLL/OCX

3 posts

dbucci#

Correct way for shared DLL/OCX

Hi, I'm new on this forum. I'm using NSIS just from few months. I need to know the correct way to manage shared DLL or OCX: I used the 2 macros AddSharedDLL and un.RemoveSharedDLL but what appens when some of these files is registered ones (like OCX)? I modified the macro un.RemoveSharedDLL to call UnRegDll before the Remove statement. Is it correct? Do you know another way?

Thank you very much. dbucci
Joost Verburg#
Yes, you should unregister the DLL. An easier library system will be included in NSIS 2.01.