Archive: Correct way for shared DLL/OCX


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


I think the DLL macro's unregister dll's but I'm not entirely sure.

-Stu


Yes, you should unregister the DLL. An easier library system will be included in NSIS 2.01.