bambou51
9th May 2006, 14:40
Here is what I need to do:
I have my .exe setup in a folder and I want to add a .dll file in the same folder.
This dll file is called from the setup script, but can be changed without any setup compilation.
I tried to open this file like that from the script:
File /nonfatal /oname=$PLUGINSDIR\test.DLL "$EXEDIR\file.dll"
then later :
System::Call '$PLUGINSDIR\test::func()'
But the script is not able to find the dll file at runtime, even if it is in the right folder...
Any idea on how to do that ?
I have my .exe setup in a folder and I want to add a .dll file in the same folder.
This dll file is called from the setup script, but can be changed without any setup compilation.
I tried to open this file like that from the script:
File /nonfatal /oname=$PLUGINSDIR\test.DLL "$EXEDIR\file.dll"
then later :
System::Call '$PLUGINSDIR\test::func()'
But the script is not able to find the dll file at runtime, even if it is in the right folder...
Any idea on how to do that ?