CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Location
    Chula Vista, CA
    Posts
    51

    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

  2. #2
    Join Date
    Oct 2003
    Location
    Chula Vista, CA
    Posts
    51

    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 :-)

  3. #3
    Join Date
    Jul 2001
    Location
    Netherlands
    Posts
    751
    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
  •  





Click Here to Expand Forum to Full Width

Featured