PRB: Unresolved External on __InitVTableRecords (199519)



The information in this article applies to:

  • Microsoft Visual C++, Macintosh Cross-Development Addon 2.0
  • Microsoft Visual C++, Macintosh Cross-Development Addon 4.0
  • Microsoft Visual C++, Macintosh Cross-Development Addon 4.0b

This article was previously published under Q199519

SYMPTOMS

An unresolved external link error occurs for the symbol "__InitVTableRecords" when building a Macintosh ASLM Shared Library.

CAUSE

Failure to specify a DEF file when building a Macintosh ASLM Shared Library causes an unresolved external link error for the symbol "__InitVTableRecords".

RESOLUTION

A DEF file is required to specify which symbols are to be exported from the shared library. See "Building a Module-Definition File" on page 268 of the Visual C++ Porting Applications to the Macintosh guide.

REFERENCES

Macintosh Porting Guide: Building an Apple Shared Library

Modification Type:MajorLast Reviewed:10/24/2003
Keywords:kberrmsg kbprb kbprogramming KB199519