CHAPTER 9 DOLPHIN OS AND DEVELOPMENT SYSTEM
136
136136
136
Compiling the Sample Programs
Note:
See the Development API Help file (DAPI.HLP) for complete information regarding the
Dolphin Development Libraries, Samples and Compiling instructions.
Microsoft
In order for an application to use Dolphin’s unique features, you must add a Dolphin
library to the application’s project. There are four libraries located in
c:\dolphin\lib\msvc named dolphinx.lib where x is s, m, c, or l, corresponding to
the memory model.
To add dolphinx.lib to an application’s project:
Select the menus Project|Edit.
Change List Files of Type: to Library (*.lib). Browse into
c:\dolphin\devtools\lib\msvc. Select dolphinx.lib corresponding to
the memory model. Click the Add button.
The Include Files Path must be modified, so the compiler will search for
include files in c:\dolphin\devtools\include.
Borland
For an application to use Dolphin’s unique features, you must add a Dolphin library
must be added to the application’s project. There are five libraries are located in
c:\dolphin\devtools\lib\orland directory. They are named dolphinx.lib where
x is t, s, m, c, or l, corresponding to the memory model.
To add dolphinx.lib to an application’s project:
Right click on the .exe file in the Project Window.
Select Add node from the pop-up menu.
When the Add to Project List dialog box is displayed, change Files to Type: to
Libraries (*.lib).
Browse to c:\dolphin\devtools\lib\orland.
Select the dolphinx.lib library corresponding to the memory model. Click the
Open button.
The Include Files Path must be modified, so the compiler will search for include
files in c:\dolphin\devtools\include.