error RC2135 : file not found: filename.tlb

A

Anonymous

I am having trouble compiling an ATL library.

I get the above error, BUT the typelib file named in the error IS there.
I have also checked the following (in the Properties Dialog Page:

1). Under the 'Resources' option - the resource file name is correctly
specified, using macros (the error is generated when compiling a
generated .rc file)

2). The Resources->'Additional Include Directories' is left blank, since
the full pathname is given. Even when I change to add the folder taht
contains the .tlb file, it has n o effect.

3). under the MIDL option. the type library to be generated is
correctely specified (and IT IS generated) - so I don't know why I'm
getting this error.

I ahve been stuck with this problem since yesterday, and despite sending
several hours visiting MS website, Googling for any related articles,
have not found anything of much use. Can anyone who has encountered this
problem please shed some light on how I can fix this problem?
 
Z

Zinkyu

I am having trouble compiling an ATL library.

I get the above error, BUT the typelib file named in the error IS there.
I have also checked the following (in the Properties Dialog Page:

1). Under the 'Resources' option - the resource file name is correctly
specified, using macros (the error is generated when compiling a
generated .rc file)

2). The Resources->'Additional Include Directories' is left blank, since
the full pathname is given. Even when I change to add the folder taht
contains the .tlb file, it has n o effect.

3). under the MIDL option. the type library to be generated is
correctely specified (and IT IS generated) - so I don't know why I'm
getting this error.

I ahve been stuck with this problem since yesterday, and despite sending
several hours visiting MS website, Googling for any related articles,
have not found anything of much use. Can anyone who has encountered this
problem please shed some light on how I can fix this problem?

I recently had this problem while creating new configurations for a
project. I could see the tlb file that was generated, but it didn't
seem to be there whenever the resource compiler ran. I eventually
solved the problem by deleting the configuration and recreating it,
copying it from the working configuration.

Here's what my problem was, or so I noticed.

Under the Resources tree (which is under Configuration Properties),
click "General" and make sure that for Additional Include Directories,
you've specified "$(IntDir)" for additional include directories. This
should not be blank. And we're specifying the intermediate directory
because that's where the generated type library will go during
compilation.
 
Joined
Jun 13, 2008
Messages
1
Reaction score
0
that won work..
I tried...
Iam trying to compile my 32 bit project in 64 bit inVS2005...
I think i have done all the settings..
Could anyone pls help me how to solve this?

Regards,
Hadiya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top