PRB: Unresolved External for IID/CLSID from Internet Client SDKLast reviewed: March 5, 1998Article ID: Q182117 |
The information in this article applies to:
SYMPTOMSWhen creating a Visual C++ application that uses an Internet Client SDK interface identifier (IID) or class ID (CLSID), you may receive an "Unresolved external symbol" error when linking your project.
CAUSEThis error indicates that the linker could not resolve the IID or CLSID you are referencing in your project. Either the Internet Client SDK include and library paths are not specified as the first paths in the Visual C++ directory lists, or the correct library, which contains the identifiers, is not being linked to your application.
RESOLUTIONSpecify the correct locations for the Internet Client SDK include and library files and specify these as the first in the directory lists If necessary, modify the Project Link settings and add Uuid.lib, which defines the new IIDs and CLSIDs, to the "Library/object modules" section.
STATUSThis behavior is by design.
MORE INFORMATIONMicrosoft Visual C++ searches header and library files in the locations specified in the Tools...Options...Directories dialog box. It searches these locations in the order specified in these lists. The Internet Client SDK provides newer versions of many header and library files that allow you to use new features provided with Microsoft Internet Explorer 4.0. Therefore, you must specify that the Visual C++ build tools search the Internet Client SDK locations before the standard locations to locate these new symbols. Specify the path to the Internet Client SDK include directory under the "Include files" section and the library directory under the "Library files" section.
REFERENCESFor more information on the Internet Client SDK, please refer to the Help file available at the following URL: http://www.microsoft.com/msdn/sdk/inetsdk/help/
|
Additional query words: LNK2001
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |