I always have to rebuild the .tlb file ? 
Author Message
 I always have to rebuild the .tlb file ?

I'm compiling an ATL Project,
and I import some an interfaces definition from an other   myother.idl  in
my .idl.

If I build all works fine, but if I want to start running or debugging the
IDE always tells me it has to build
the     myother.tlb    again !!!

I had a look if it exist to check the time stamp and I recognized ther is
none !

how can I handle this ???

kind regards Mike.

----------------------------------------------------------------------------
----------------------------------------
let's say my.idl look like:

import "oaidl.idl";
import "ocidl.idl";
import "myother.idl";        // there is just a interface IABCOther inside
no coclass !

interface IABC : IUnknown
{

Quote:
}

coclass ABC
{
    [default] interface IABC;
    interface IABCOther;
Quote:
}



Mon, 08 Jul 2002 03:00:00 GMT  
 I always have to rebuild the .tlb file ?
This seems to be a bug in VC6.0 . I have seen it as well. If you include
both IDL files into the project, this seems to happen. Try removing one
of the idls and build that manually when needed. That might fix it.

Quote:

> I'm compiling an ATL Project,
> and I import some an interfaces definition from an other   myother.idl  in
> my .idl.

> If I build all works fine, but if I want to start running or debugging the
> IDE always tells me it has to build
> the     myother.tlb    again !!!

> I had a look if it exist to check the time stamp and I recognized ther is
> none !

> how can I handle this ???

> kind regards Mike.

> ----------------------------------------------------------------------------
> ----------------------------------------
> let's say my.idl look like:

> import "oaidl.idl";
> import "ocidl.idl";
> import "myother.idl";        // there is just a interface IABCOther inside
> no coclass !

> interface IABC : IUnknown
> {
> }

> coclass ABC
> {
>     [default] interface IABC;
>     interface IABCOther;
> }

--
Girish Bharadwaj [mvp]


Fri, 12 Jul 2002 03:00:00 GMT  
 I always have to rebuild the .tlb file ?
This seems to be a bug in VC6.0 . I have seen it as well. If you include
both IDL files into the project, this seems to happen. Try removing one
of the idls and build that manually when needed. That might fix it.

Quote:

> I'm compiling an ATL Project,
> and I import some an interfaces definition from an other   myother.idl  in
> my .idl.

> If I build all works fine, but if I want to start running or debugging the
> IDE always tells me it has to build
> the     myother.tlb    again !!!

> I had a look if it exist to check the time stamp and I recognized ther is
> none !

> how can I handle this ???

> kind regards Mike.

> ----------------------------------------------------------------------------
> ----------------------------------------
> let's say my.idl look like:

> import "oaidl.idl";
> import "ocidl.idl";
> import "myother.idl";        // there is just a interface IABCOther inside
> no coclass !

> interface IABC : IUnknown
> {
> }

> coclass ABC
> {
>     [default] interface IABC;
>     interface IABCOther;
> }

--
Girish Bharadwaj [mvp]


Fri, 12 Jul 2002 03:00:00 GMT  
 I always have to rebuild the .tlb file ?
Actually, it is the dependencies set in the MIDL tab on the project
settings. I can't explicitly tell you what to set, but if you know MIDL,
it should be obvious. I remember I had no problems fixing it. Or
was it on the particular IDL files' settings...

--
===============================
Alexander Nickolov
Microsoft MVP [VC], MCSD

===============================

Quote:

>This seems to be a bug in VC6.0 . I have seen it as well. If you include
>both IDL files into the project, this seems to happen. Try removing one
>of the idls and build that manually when needed. That might fix it.


>> I'm compiling an ATL Project,
>> and I import some an interfaces definition from an other   myother.idl
in
>> my .idl.

>> If I build all works fine, but if I want to start running or debugging
the
>> IDE always tells me it has to build
>> the     myother.tlb    again !!!

>> I had a look if it exist to check the time stamp and I recognized ther is
>> none !

>> how can I handle this ???

>> kind regards Mike.

>> -------------------------------------------------------------------------
---
>> ----------------------------------------
>> let's say my.idl look like:

>> import "oaidl.idl";
>> import "ocidl.idl";
>> import "myother.idl";        // there is just a interface IABCOther
inside
>> no coclass !

>> interface IABC : IUnknown
>> {
>> }

>> coclass ABC
>> {
>>     [default] interface IABC;
>>     interface IABCOther;
>> }

>--
>Girish Bharadwaj [mvp]



Fri, 12 Jul 2002 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. VC7 project always out-of-date, always rebuilds all

2. IDL File always rebuilt

3. how to force one file to rebuild always?

4. Rebuild, Rebuild, Rebuild

5. VC7 - why is the DLL always rebuild

6. Project always rebuilt

7. VC7 always does rebuild all

8. VC 6.0 always rebuild

9. VS 6.0 always rebuild

10. VC 6.0 always rebuild

11. VS 6.0 always rebuild

12. Q:Why my project always rebuild

 

 
Powered by phpBB® Forum Software