Windows 7 and the case of the absence of regtlib

I just found that regtlib.exe is missing in Windows 7 (and apparently in Vista).

I just installed Windows 7 RC on a VM and am trying to build our existing projects on a new OS. Projects are based on c / c ++, and I use Visual Studio 2008. To build these projects, I need to register several tlb files that are referenced in the code base.

Has anyone encountered this problem too? And did anyone manage to solve this?

Thank you

+4
source share
3 answers

Yes, the raglib has been removed from perspective and up. As far as I know, all he does is call LoadTypeLibEx with the REGKIND_REGISTER flag ( http://msdn.microsoft.com/en-us/library/ms221249.aspx ). Perhaps you could write a simple replacement.

+5
source

Just stumbled upon this problem (failed to add any components to the VB6 project on Win7). This message ( Error accessing the registry in the VB 6 IDE ) indicates regtlib (which is not in Win7). I just set the VB6 startup menu icon to "Run as administrator" and it works great for adding components, and should also fix any problems related to updating the registry.

Hello

Yang

+1
source

Finally, we returned to creating our code base on Windows 7. In any case, I returned to the installer for one of the dependencies that made me sad. The error message from the installer did not help, but it indicated a regase that started from the installer.

I ran the regasm command from the command line and received additional information. It looks like you need administrative authority to complete this task, and our current installers are not escalating the privileges properly.

So, a long story, I got a DLL registration, and the assembly seems to work.

0
source

All Articles