|
|
#1 |
|
Junior Member
Join Date: Nov 2002
Location: USA
Posts: 5
|
I'm having problems registering DLLs. I use RegDLL "Path\dllname.dll"
and I get "Could not find symbol: DllRegisterServer". Is this a bug on NSIS software or not. Thanks. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
This error means NSIS can't find a function called DllRegisterServer in the DLL. This function is the function in the DLL that handles its registering process. Are you sure your DLL has this function?
To make sure it does use Dependency Walker 2.1. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
Not all DLL's require registration.
|
|
|
|
|
|
#4 |
|
Junior Member
|
Ok, I've found a similar problem.
I found out that on Windows 98 (perhaps 95 too), the utility used to registers DLLs (regsvr32) is NOT located under %SYSTEMROOT%\system32 but under %SYSTEMROOT%\system If the system is 'vanilla' (at least on a system like mine), the default search path doesn't include %SYSTEMROOT%\system. As consequence, when NSI executes the RegDll command, it fails because it cannot find that program. Workaround? I don't know an elegant solution... my problems was "solved" because my application was targeting only Windows NT, 2000 and XP machines... and I didn't have any problems with those. Hope this help. Fabrizio |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Just use NSIS's RegDll function... It does the same thing as regsvr32.exe.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|