Using Casio Libraries From Evc - Casio IT-600 Series Quick Start Manual

Hide thumbs Also See for IT-600 Series:
Table of Contents

Advertisement

8.2 Using CASIO Libraries from eVC++ 4.0

The IT-600 SDK provides the libraries for C++ applications. See Chapter 1.2 "Library
Configuration" for the list of libraries provided.
Each library in the table (see Table 1.2) consists of a header file, a dll and a library file. The dlls are
built into the ROM of the IT-600 and you do not need to download. The following is a simple
example using one of the System Library functions in the simplest kind of WindowsCE program.
The screen will flip 180° each time this program is carried out.
1. Make sure all the ".h" files for the CASIO libraries are installed in \Program Files\Windows
CE Tools\wce500\IT-600\include\ARMV4I\
(This is the default installation location but yours will be different if you installed the SDK to
other location).
2. Make sure all the ".lib" files for the CASIO libraries have been installed in \Program
Files\Windows CE Tools\wce500\IT-600\lib\ARMV4I\.
3. In eVC++ 4.0, choose New from the File menu.
4. Highlight WCE Application. Choose a location and a name for the project and make sure the
ARMV4I option is checked. Click Next > button.
5. On the next dialog click A simple Windows CE application option. Click Finish and then
click OK button.
6. Make sure the IT-600 is the selected SDK and target device in the pull-down list boxes.
7. Click ClassView tab in Solution Explorer and expand classes fully until you can see
WinMain() class. Double click it.
8. At the forefront of the source file, under #include stdafx.h code add the following code.
#include SystemLib.h
#include SystemLibdef.h
9. Move to the line // TO DO: Place code here and add the following code.
int result;
result = SysGet180Rotate();
if( result == FALSE )
{
SysSet180Rotate( TRUE );
}
else
{
SysSet180Rotate( FALSE );
}
10. On the Project menu, navigate to Add To Project → Files...
11. Change Files of type: pull-down menu list to Library files (.lib).
12. Navigate to the folder where the CASIO library files are stored (see step no. 2 in the previous
page), highlight SystemLib file and click OK button.
13. Initiate ActiveSync to establish connection between the IT-600 and the PC.
72

Advertisement

Table of Contents
loading

Table of Contents