Re: error RC2135 : file not found: filename.tlb
- From: Zinkyu <zinkyu@xxxxxxxxx>
- Date: Fri, 7 Dec 2007 07:04:45 -0800 (PST)
On Oct 31, 8:56 pm, Anonymous <no.re...@xxxxxxxx> wrote:
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.
.
- Prev by Date: Re: Are all threads in an application affected by Application.UseWaitCursor
- Next by Date: program
- Previous by thread: __hook - C2039 - is not a member of
- Next by thread: program
- Index(es):
Relevant Pages
|