Archive: RegDll bug in NSIS159?


RegDll bug in NSIS159?
Hi,

Seems that RegDll is broken in 159. Or perhaps doesn't work the same way as in 158?
I simply use:
RegDll .....dll

But compiler says that cannot find Dll server ....
Any soluce?
Thanks
Jerome


Re: RegDll bug in NSIS159?

Originally posted by jclaracq
Hi,

Seems that RegDll is broken in 159. Or perhaps doesn't work the same way as in 158?
I simply use:
RegDll .....dll

But compiler says that cannot find Dll server ....
Any soluce?
Thanks
Jerome
Hmm, 58-59 had no changes to regdll. A compiler error or a runtime error? Please elaborate.

-Justin

Are you sure your DLL has the DLLRegisterServer entry point? EG, did you try to register it through normal command line REGSVR32.EXE?
Because maybe your DLL doesn't require registering.


Re Dll error in 159
Thanks for your replies.
It's not a compile error. I have this error during the installation of my soft.
The same .nsi compiled with NSIS158 works fine.
Here is the "faulty" section:

Section "Runtime Visual Basic 5.0 SP3"
SectionIn 23
SetOverwrite ifnewer
SetCompress Auto
SetDateSave On
SetOutPath "$SYSDIR"
File "F:\Aurélien\VB5\Vb5fr.dll"
File "F:\Aurélien\VB5\CmCtlFR.dll"
File "F:\Aurélien\VB5\CmDlgFR.dll"
File "F:\Aurélien\VB5\Msvbvm50.dll"
File "F:\Aurélien\VB5\Comdlg32.ocx"
File "F:\Aurélien\VB5\Tabctl32.ocx"
File "F:\Aurélien\VB5\TabctFR.dll"
RegDLL "$SYSDIR\Msvbvm50.dll"
RegDLL "$SYSDIR\Comdlg32.ocx"
RegDLL "$SYSDIR\Tabctl32.ocx"
RegDLL "$SYSDIR\Vb5fr.dll"
RegDLL "$SYSDIR\CmCtlFR.dll"
RegDLL "$SYSDIR\CmDlgFR.dll"
RegDLL "$SYSDIR\TabctFR.dll"
SectionEnd