These three commands are run from a standard-user CMD session.
d:\newin\tcmd21> regsvr32 islicense50.dll
The module IsLicence50 was loaded but the call to DllRegisterServer failed with error code 0x80070005
For more information about this problem, search online using the error code as a search term.
,,> rxregsvr islicense50.dll
DllRegisterServer failed. Error code 0x8007005: Access is denied.
d:\newin\TCMD21>regsvrex IsLicense50.dll
Error occured registering server - Access is denied.
ProcExp from Sysintern could not find IsLicense50.dll loaded.
All three programs (regsvrex, rxregsvr and regsvr32) can load and unload the DLL successfullt from an Administrator cmd session.
dllregsvr.exe had no problems registering it in either environment.
RxRegSvr: replacement for RegSvr32 from
www.regxplor.com
regsvrex: Enchanced Server Registration Utility Copyright V. Rama Krishna
dllregsvr: v 1.1
www.chestysoft.com. This is a gui program.
I've just installed 21.00.22, and the same load issues exist.
I'm still having problems eliminating d:\newin\tcmd20 out of registry, it's hanging around in vaults. Here is a query from a slow-starting tcmd 21.00.22 to the registry, and then the same thing from a cmd.exe session, using reg.exe. tcc was started from cmd.exe in the tcmd21 directory.
Code:
d:\newin\TCMD21>echo %@regquery[hklm\software\wendy\folders\takecmd]
d:\newin\tcmd21
d:\newin\TCMD21>exit
d:\newin\TCMD21>reg query hklm\software\wendy\folders /v takecmd
! REG.EXE VERSION 2.0
HKEY_LOCAL_MACHINE\software\wendy\folders
takecmd REG_SZ d:\newin\tcmd20
This is done in a CMD standard user session.
Code:
D:\newin\TCMD21>regsvrex /u IsLicense50.dll
Error occured registering server - Error accessing the OLE registry.
D:\newin\TCMD21>regsvrex /c IsLicense50.dll
D:\newin\TCMD21>regsvrex IsLicense50.dll /u
Error occured registering server - The specified module could not be found.
regsvrex allows loading the DLL in the current user when /c is used. It loaded the server for the current user only.
"tcc /q" does not affect it, nor does putting Copyright=No into %_ininame [4nt]. Both seem to suppress the copyright message. All both of these do is to not display the copyright, so it means that the inifile has been read. But it still pauses for the same while.