c++visual-studiowindows-7regtlib

Windows 7 and the case of the missing regtlib


I've just discovered that regtlib.exe appears to be missing from Windows 7 (and apparently from Vista as well).

I've just installed Windows 7 RC in a VM and I'm attempting to build our existing projects on the new OS. The projects are c/c++ based and I'm using visual studio 2008. In order to build these projects I need to register several tlb files that are referenced within the code base.

Has anyone also encountered this problem? And, has anyone managed to solve this?

Thanks.


Solution

  • Yeah regtlib was removed from vista and up. As far as I know, all it does is call LoadTypeLibEx with the REGKIND_REGISTER flag (http://msdn.microsoft.com/en-us/library/ms221249.aspx). Maybe you could write a simple replacement.