The information in this article applies to:
SYMPTOMSAdding .ODL files to a make file in the Visual Workbench causes the Visual Workbench to unnecessarily generate dependencies for the .ODL file. CAUSEAn .ODL file included in the project file list typically includes other .ODL files. The Visual Workbench dependency scanner adds a type library target for each .ODL file to the MTL_TLBS target in the project. NMAKE tries to build a type library for every target specified by the MTL_TLBS target. RESOLUTIONTo prevent the Visual Workbench from adding type library targets for each included .ODL file, change the file extensions inside the main .ODL file to something other than ODL. STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was fixed in Microsoft Visual C++, 32-bit Edition, version 4.0. MORE INFORMATIONConsider this .ODL file (MYPROJ.ODL):
If MYPROJ.ODL is added to a project's file list, the MTL_TLBS target which
is added to the project looks like this:
NOTE: OBJECT1.TLB and OBJECT2.TLB must exist in order to reproduce this
problem, but they do not have to contain .ODL file information for this
demonstration.
When the Visual Workbench is used to build the project, only MYPROJ.TLB is built. However, if NMAKE is used to build the project, all three type libraries specified by MTL_TLBS are built. Additional query words: 2.00 2.10
Keywords : |
Last Reviewed: January 20, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |