Saturday, March 28, 2009

fatal error C1083: Cannot open type library file: '<<AnyName>>.dll': No such file or directory

Hi,

This is one of the error you can encounter while building a project and it means whether developer don't have <<AnyName>>.dll on the machine or dll is not registered. I faced the same error as follows

fatal error C1083: Cannot open type library file: 'regobj.dll': No such file or directory
Later i corrected it by downloading the regobj.dll from
http://download.microsoft.com/download/vb60pro/update/6.0/w9x2k/en-us/regobji.exe
i place the dll in System32 but one can keep it anywhere they want.

Same can be done for <<AnyName>>.dll , just check do you have <<AnyName>>.dll on your machine. if not then get it on you machine by downloading or taking from any other machine. Once you have it on your machine then register it using one of the following
regsvr32 <<AnyName>>.dll
or
regasm <<AnyName>>.dll /codebase


Virat

No comments:

Post a Comment