PRB: Fatal Error U1073 Building 16-bit OLE Custom Controls

Last reviewed: July 22, 1997
Article ID: Q127075
1.51 1.52 WINDOWS kbole kbprb

The information in this article applies to:

  • The development environment, included with: Microsoft Visual C++ for Windows, versions 1.51 and 1.52

SYMPTOMS

When attempting to build a 16-bit OLE Custom Control, by using either the internal or external makefile provided by the Control Wizard, the following error message is generated:

   ...fatal error U1073: don't know how to make '.\tlb16\<filename>.tlb

RESOLUTION

The type library must be built with the MKTYPLIB.EXE utility before attempting to build the project. To build the type library, for your control:

  1. Load the desired control's project into the development environment.
2. From the Tools menu, choose Make TypeLib.

A message box should appear when the .TLB is successfully generated or if an error has occurred. If an error has occurred, make sure the project's .ODL file is in the project directory. An error can also be caused by improper syntax if you have edited the .ODL file directly.

STATUS

This behavior is by design.

MORE INFORMATION

Neither the development environment make engine nor the NMAKE utility have an inference rule for building type libraries (.TLB files). A .TLB is included in the project's dependency list. The U1073 error is generated because of an attempt to build the project before the type library was created. To successfully build the project, build the project's type library first.


Additional reference words: 1.51 1.52
KBCategory: kbole kbprb
KBSubcategory: CDKIss
Keywords : kb16bitonly


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.