Teechart.ocx (version 5) fails to register
Posted: Mon Apr 12, 2010 11:36 am
We are having a problem that on one PC, when we try to issue the command: "regsvr32 teechart.ocx", it takes quite a long while and after some time, we get an error message: LoadLibrary("Teechart.ocx") failed. GetLastError returns 0x0000007e.
If I'm not mistaken, the 7e message means a module was not found.
We already tried the following based on information we searched on internet:
- make sure it is being run as an administrator
- first change the directory to the directory where the ocx is located, then retry the regsvr32 command.
- move the .ocx files to another directory that didn't have spaces in it and retry.
- shutdown any anti virus programs and retry.
I also tried out depends.exe (dependancy walker (http://www.dependencywalker.com/)), to check if we spotted any difference between an installation that was working and the installation where it didn't work. Both the installation that did work and the installation that didn't, gave us the same output.
The version of Teechart.ocx is 4.0.0.7, the version of Teechart5.ocx is 5.0.7.0.
The OS we are trying to issue the commands on is Windows XP.
I'm all out of ideas right now, so any help will be appreciated.
If I'm not mistaken, the 7e message means a module was not found.
We already tried the following based on information we searched on internet:
- make sure it is being run as an administrator
- first change the directory to the directory where the ocx is located, then retry the regsvr32 command.
- move the .ocx files to another directory that didn't have spaces in it and retry.
- shutdown any anti virus programs and retry.
I also tried out depends.exe (dependancy walker (http://www.dependencywalker.com/)), to check if we spotted any difference between an installation that was working and the installation where it didn't work. Both the installation that did work and the installation that didn't, gave us the same output.
The version of Teechart.ocx is 4.0.0.7, the version of Teechart5.ocx is 5.0.7.0.
The OS we are trying to issue the commands on is Windows XP.
I'm all out of ideas right now, so any help will be appreciated.