Archive: Library error: "Could not find symbol: DllRegisterServer"


Library error: "Could not find symbol: DllRegisterServer"
I'm unable to use Library.nsh to register DLL's. I have used it previously on many occasions, but it isn't working on my current WinXP machine, or on a Win2000 virtual PC. I've tried the standard Library example, and a new script I was working on, both failed. The strange thing is, an installer I built three weeks ago registers DLL's without any errors. Please help!


Well, I feel sheepish. Ok, that error means that the DLL is not supposed to be registered. If it supposed to be registered it has the symbol DllRegisterServer, which can be seen with Visual Studio's Dependency Walker.

The Library example "is more of a syntax example, rather than a usage example." It also tries to register a non-reg DLL, which produces errors, as expected.