IDL File always rebuilt 
Author Message
 IDL File always rebuilt

I have a solution with 30+ projects. One IDL file is always rebuilt.
It is quite annoying because more than 20 projects include the
generated header file in their precompiled header files.

The IDL file is in the project directory and has only these imports

import "oaidl.idl";
import "ocidl.idl";
import "oledb.idl";

there are no preprocessor directives in the IDL file.

The file is built with /notlb.
/out is set to $(SolutionDir)RelPath (outside the project dir).
/dlldata is set to another path $(SolutionDir)PS\dlldata.c.
/target nt50 is set.

I'm using MIDL Compiler Version 6.00.0359

Any enlightment is greatly appreciated.

tia
hg



Thu, 03 Feb 2005 23:03:08 GMT  
 IDL File always rebuilt
I believe there are rebuild issues surrounding the use of macros in your
project settings.  Try removing the macros and see if it still happens.

-Sean


Quote:
> I have a solution with 30+ projects. One IDL file is always rebuilt.
> It is quite annoying because more than 20 projects include the
> generated header file in their precompiled header files.

> The IDL file is in the project directory and has only these imports

> import "oaidl.idl";
> import "ocidl.idl";
> import "oledb.idl";

> there are no preprocessor directives in the IDL file.

> The file is built with /notlb.
> /out is set to $(SolutionDir)RelPath (outside the project dir).
> /dlldata is set to another path $(SolutionDir)PS\dlldata.c.
> /target nt50 is set.

> I'm using MIDL Compiler Version 6.00.0359

> Any enlightment is greatly appreciated.

> tia
> hg



Sat, 05 Feb 2005 00:14:11 GMT  
 IDL File always rebuilt
Sean,

Quote:
> I believe there are rebuild issues surrounding the use of macros in your
> project settings.  Try removing the macros and see if it still happens.

It works right now for some reason (without any change; macros still in).

But somehow i have got a creep feeling that I'll soon give your suggestion
a try :-).

Thanks anyway
-hg



Sat, 05 Feb 2005 21:17:32 GMT  
 IDL File always rebuilt
Have you changed the installation location of your PSDK in any way between
the 2 occurences? (when it did rebuild and when it didn't?)

We are aware of an issue where if you install the PSDK to a location that is
not the default, we scan the PSDK headers for dependencies and the engine
gets a bit confused by the if defs. If the PSDK is in a different location
you need to add that path to sysincl.dat

For more information on how to tell the project system to ignore certain
folders when scanning for dependencies see link below:
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vccore/html/_core_Excluding_F
iles_When_Dependency_Checking.htm

Thanks,
Diana Kumar


Quote:
> Sean,

> > I believe there are rebuild issues surrounding the use of macros in your
> > project settings.  Try removing the macros and see if it still happens.

> It works right now for some reason (without any change; macros still in).

> But somehow i have got a creep feeling that I'll soon give your suggestion
> a try :-).

> Thanks anyway
> -hg



Mon, 07 Feb 2005 04:03:09 GMT  
 IDL File always rebuilt
See inline.


Quote:
> Have you changed the installation location of your PSDK in any way between
> the 2 occurences? (when it did rebuild and when it didn't?)

Nope. But the problem shwoed up again.

Quote:
> We are aware of an issue where if you install the PSDK to a location that
is
> not the default, we scan the PSDK headers for dependencies and the engine
> gets a bit confused by the if defs. If the PSDK is in a different location
> you need to add that path to sysincl.dat

> For more information on how to tell the project system to ignore certain
> folders when scanning for dependencies see link below:

ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/vccore/html/_core_Excluding_F
Quote:
> iles_When_Dependency_Checking.htm

Adding the PSDK directory to the sysincl.dat solved my problem.
I checked this article before ( well in the MSDN version that shipped with
VC7 RTM) but had a typo in the path *ov*.

BTW: The SDK is installed in its default directory but on a
german OS ( i.e. in C:\Programme\Microsoft SDK).

Thanks for your assistance

Regards
-hg



Mon, 07 Feb 2005 05:40:56 GMT  
 
 [ 5 post ] 

 Relevant Pages 

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

2. I always have to rebuild the .tlb file ?

3. how to force one file to rebuild always?

4. IDL file always processed

5. Including an IDL file in an IDL file

6. Rebuild, Rebuild, Rebuild

7. VC7 - why is the DLL always rebuild

8. Project always rebuilt

9. VC7 always does rebuild all

10. VC 6.0 always rebuild

11. VS 6.0 always rebuild

12. VC 6.0 always rebuild

 

 
Powered by phpBB® Forum Software