I am developing on Vista and Visual Studion 2008.
I have a simple ATL application which imports one COM dll "xyz.dll"
#import "C:\abc\xyz\xyz.dll" named_guids rename_namespace("UTL") rename("DeleteFile", "XYZDeleteFile")
But I get an error :
1>d:\test\temp\temp\stdafx.h(25) : fatal error C1084: Cannot read type library file: 'C:\abc\xyz\xyz.dll': Error loading type library/DLL.
I am able to open 'xyz.dll' in OLE Viewer. It opens fine and shows all interfaces and coclasses.