Knowledge Base

PRB: Unresolved External on __InitVTableRecords

Article ID: 199519

Article Last Modified on 10/24/2003


APPLIES TO


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

Additional query words: DLL DEF ASLM

Keywords: kberrmsg kbprogramming kbprb KB199519