ID: Q129863
2.60a MACINTOSH kbtool
The information in this article applies to:
Below are the step-by-step instructions for compiling a .MLB file using the Apple Macintosh Programmer's Workbench (MPW) version 3.3 and the Microsoft FoxPro for Macintosh Library Construction Kit (LCK) files. The steps include the specifics for compiling TESTLIB.C, which is supplied as a sample .C program with the FoxPro LCK.
NOTE: Before performing these steps, you must install Microsoft FoxPro for Macintosh (Professional Edition), MPW, and the C compiler.
1. Move the following folders from the FoxPro:Library Construction Kit
folder to your hard drive folder:
ASLM Developer Tools
FoxLCK
2. Move the UserStartup*LCK file from the FoxPro:Library Construction Kit
folder to your MPW Folder.
IMPORTANT: Compiling an .MLB file with MPW is most successful if your
hard drive volume name does not contain any spaces.
3. Use the MPW Shell to correct the hard drive volume name on the following
lines in the UserStartup*LCK file:
set SLMInterfaces...
set SLMLibraries...
set Commands...
For example, if your hard drive name is "HD" (without the quotation
marks) instead of "Macintosh HD," then the lines would look like this:
set SLMInterfaces "HD:ASLM Developer Tools:Interfaces:"
set SLMLibraries "HD:ASLM Developer Tools:Libraries:"
set Commands "HD:ASLM Developer Tools:Tools:,{Commands}"
4. Use the MPW Shell to correct the hard drive volume name on the ROOTDIR
line in the MakeFile file in the FoxLCK:Source folder. For example, if
your hard drive name is HD, the line would look like this:
ROOTDIR = HD:FoxLCK
NOTE: compiling is most successful if the hard drive name has no spaces,
as in this example.
5. Exit and restart the MPW Shell.
6. Choose "Set Directory" from the Directory menu in the MPW shell, and
select the folder that contains your source file, .EXP file, and
the MakeFile. For this example, select the FoxLCK:Source folder.
7. Type "make" (without the quotation marks) on the MPW worksheet. Then
press the ENTER key on the numeric keypad or COMMAND+RETURN. The
MPW shell will echo the commands required to make the MLB file.
8. Highlight the entire block of commands echoed from the MAKE command.
Then press ENTER (or COMMAND+RETURN). If the compile is successful, your
.MLB file will be located in the source folder.
1. Move the .MLB file to the System Folder:Extensions folder.
2. Start FoxPro for Macintosh.
3. In the Command window, type the following and press ENTER:
SET LIBRARY TO <.MLB file>
In this example, the .MLB file is "TESTLIB.MLB".
Additional reference words: FoxMac 2.60a
KBCategory: kbtool
KBSubcategory: FxtoolLck
Keywords : FxtoolLck
Version : 2.60a
Platform : MACINTOSH
Last Reviewed: June 4, 1996