-
February 6th, 2004, 11:51 AM
#1
Missing .tlb file during compile
Hi All,
I am getting the following error during a compile a new machine (just installed V Studio):
c:\sintcpp comthread\stdafx.h(37) : fatal error C1083: Cannot open type library file: 'C2PCTmsApiServer.tlb': No such file or directory
Error executing cl.exe.
The .tlb file in question is imported (via the import statement) in stdafx.h. I have included that same .tlb file in my current working directory, but I STILL get the error.
I have searched MSDN and tried a few things but nothing has worked. Please, does anybody have any ideas and/or experience with this kind of problem?????
thank you,
Bill
-
February 6th, 2004, 01:48 PM
#2
add to original post
Someone mentioned that my COM object was not registered. I ran a program that apparently registers it and that object IS in the registry (C2PCTmsApiServer).
why would I still get that compiler error????? I know you COM guys probably have a simple answer (besides the fact that I am a dufus :-)
-
February 6th, 2004, 02:36 PM
#3
probably you specified the wrong path to the .tlb file.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|