Microsoft KB Archive/105596: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 1: Line 1:
{|
{|
|width="100%"|
|width="100%"|
= ERR: "Unresolved Reference" Using C 7.0 Makefile with 2.5 LCK =
= ERR: "Unresolved Reference" Using C 7.0 Makefile with 2.5 LCK =


'''ID: Q105596'''
'''ID: Q105596'''
Line 12: Line 12:
== SYMPTOMS ==
== SYMPTOMS ==


When you are creating a library using the FoxPro 2.5 Library Construction Kit (LCK), numerous errors occur during the compiling and linking process. One of these errors is "Unresolved Reference."
When you are creating a library using the FoxPro 2.5 Library Construction Kit (LCK), numerous errors occur during the compiling and linking process. One of these errors is "Unresolved Reference."


== CAUSE ==
== CAUSE ==
Line 18: Line 18:
The error occurs because the C compiler (Microsoft C 7.0 in this case) cannot find the library, object, or header file that is displayed in the error.
The error occurs because the C compiler (Microsoft C 7.0 in this case) cannot find the library, object, or header file that is displayed in the error.


For example, the compiler may not be able to find the LIBW.LIB file that is referenced in the makefile provided with the LCK for use with Microsoft C 7.0. This file, part of the Microsoft Windows Software Development Kit (SDK), is a library file containing Windows functions that can be called in a FoxPro for Windows .FLL library. When you are using the Microsoft C 7.0 makefile provided with the LCK to produce an .FLL library, the "Unresolved Reference" error message will occur if the SDK is not installed.
For example, the compiler may not be able to find the LIBW.LIB file that is referenced in the makefile provided with the LCK for use with Microsoft C 7.0. This file, part of the Microsoft Windows Software Development Kit (SDK), is a library file containing Windows functions that can be called in a FoxPro for Windows .FLL library. When you are using the Microsoft C 7.0 makefile provided with the LCK to produce an .FLL library, the "Unresolved Reference" error message will occur if the SDK is not installed.


== RESOLUTION ==
== RESOLUTION ==


To track down the cause of the "Unresolved Reference" error, do the following:
To track down the cause of the "Unresolved Reference" error, do the following:


1. Check for the existence of the file that contains the function or
1. Check for the existence of the file that contains the function or
Line 41: Line 41:
== REFERENCES ==
== REFERENCES ==


FoxPro Library Construction Kit, "Developer's Guide," version 2.5, page 27
FoxPro Library Construction Kit, "Developer's Guide," version 2.5, page 27


Additional reference words: FoxWin 2.50 2.50A C7 errmsg err msg tshoot KBCategory: kbprg kbprb kberrmsg kbtshoot KBSubcategory: FxtoolLck
Additional reference words: FoxWin 2.50 2.50A C7 errmsg err msg tshoot KBCategory: kbprg kbprb kberrmsg kbtshoot KBSubcategory: FxtoolLck

Latest revision as of 09:08, 20 July 2020

ERR: "Unresolved Reference" Using C 7.0 Makefile with 2.5 LCK

ID: Q105596

The information in this article applies to:

  • Microsoft FoxPro Library Construction Kit, version 2.5
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a

SYMPTOMS

When you are creating a library using the FoxPro 2.5 Library Construction Kit (LCK), numerous errors occur during the compiling and linking process. One of these errors is "Unresolved Reference."

CAUSE

The error occurs because the C compiler (Microsoft C 7.0 in this case) cannot find the library, object, or header file that is displayed in the error.

For example, the compiler may not be able to find the LIBW.LIB file that is referenced in the makefile provided with the LCK for use with Microsoft C 7.0. This file, part of the Microsoft Windows Software Development Kit (SDK), is a library file containing Windows functions that can be called in a FoxPro for Windows .FLL library. When you are using the Microsoft C 7.0 makefile provided with the LCK to produce an .FLL library, the "Unresolved Reference" error message will occur if the SDK is not installed.

RESOLUTION

To track down the cause of the "Unresolved Reference" error, do the following:

1. Check for the existence of the file that contains the function or

   library reference that is causing the error.

2. Check the MS-DOS PATH statement to make sure the file or library

   can be found at compile and link time.

3. Make sure all MS-DOS SET environment variables needed by the

   compiler are set correctly in the AUTOEXEC.BAT file.

4. Make sure the filename listed in the makefile is spelled correctly.

MORE INFORMATION

A makefile is used to compile and link a C library or executable. As mentioned above, there is a sample makefile for use with C 7.0 in conjunction with the LCK to create C libraries to interface with FoxPro for Windows. The libraries created by the LCK have an extension of .PLB for FoxPro for MS-DOS and .FLL for FoxPro for Windows.

REFERENCES

FoxPro Library Construction Kit, "Developer's Guide," version 2.5, page 27

Additional reference words: FoxWin 2.50 2.50A C7 errmsg err msg tshoot KBCategory: kbprg kbprb kberrmsg kbtshoot KBSubcategory: FxtoolLck


Last Reviewed: August 28, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.