Build Instructions for a Sample Powerstation/LINDO Application
--------------------------------------------------------------
This subdirectory contains a sample Powerstation FORTRAN example that uses the
32 bit LINDO DLL to build and solve a small model.  This example was built
using Powerstation FORTRAN 4.0.  

To build an executable from the source file, please do the following:

1.  Use the LINDO definitions file (\LINDO\DLL32\LNDDLL32.DEF) to build an 
import library with the following DOS Command:  

                LIB /DEF:LNDDLL32.DEF /OUT:LNDDLL32.LIB.  

Note: the LIB application is included with Powerstation FORTRAN.

2.  Start the MS Developer Studio application.

3.  Create a new Project Workspace using the "File|New" command.  The project
type should be a "Console Application".

4.  Use the "Insert|Files Into Project" command to add the sample FORTRAN 
application file (LINDOPS.FOR) to the project.

5.  Use the "Build|Settings" command to add the import library (LNDDLL32.LIB)
created in step 1 of the project.  In the Build|Settings dialog box, select
the "Link" tab.  Next, select "General" in the Category list box.  Finally, in 
the "Object/Libraries" edit box enter the import library name, LNDDLL32.LIB.

At this point, you should be able to build the sample application.  In order
to run it, you must make the LINDO DLL file (LNDDLL32.DLL) available to the
application.  Do this by either placing it in the same directory as the
application or by putting it in a directory on the DOS path.
