Re: Question About TLB files
You probably don't get a new tlb if one already exists, because there was no change to the project that should trigger a new rebuild. Try modifying the IDL and see if you still don't get a new tlb.
Does tlbimp return some error? Are you sure you called it with the right parameters?
You can run tlbimp As administrator from a console by running the console As Administrator.
Re: Question About TLB files
Thanks Cilu. Tried that. The error message is:
Quote:
TlbImp : error T10000 : Unable to locate input type library: 'C:\Users\USER\Documents\Visual'
I dunt know what that means. I had no problems running tlbimp or any .NET tool on Windows XP or 2003. One thing to note here is...the path is not a complete path. Why is the error message showing incomplete path? The complete path to tlb is as under:
Quote:
C:\Users\USER\Documents\Visual Studio 2008\Projects\COMInteropWithDOTNET\COMInteropWithDOTNETSource\ClassicCOM\AirlineInformation
Are spaces in Visual Studio 2008 directory name creating problem?
Let me know...
Thanks,
Bhushan
Re: Question About TLB files
File paths containing spaces could always lead to problems when entered (improperly) on the command line. That's neither specific to any Windows version nor any VS version.
Enclose the file path in double quotes when invoking TlbImp.