Skip to content
⌘ NSIS Forum Archive

Plugin with extra supporting dll

5 posts

sphinx588#

Plugin with extra supporting dll

I want to create a plugin (say test.dll) which will use functions from another dll, say base.dll. test.dll will be automatically included because I referenced it in the script, i.e. test::myFunc. But, how can I add the base.dll into the install package?
Red Wine#
After the initialization of $PLUGINSDIR and before any call to test.dll with File instruction.
sphinx588#
Thanks for the quick response. I am new to NSIS. Would you please tell me which command I should use to include the dll?

Thanks.
Red Wine#
Function .onInit
initpluginsdir
file /oname=$PLUGINSDIR\base.dll "local_path\base.dll"
# other needed actions here
FunctionEnd