Hand Held Products 7200/UG Manuel D’Utilisation

Page de 181
C H A P T E R   9   D O L P H I N   O S   A N D   D E V E L O P M E N T   S Y S T E M  
 136
136
136
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 smc, 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 tsmc, 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