Download Print this page

Using Casio Libraries From Evc - Casio DT-X11M10E Quick Start Manual

Dt-x11 series
Hide thumbs

Advertisement

Table of Contents

8.2 Using CASIO Libraries from eVC++ 4.0

The DT-X11 SDK provides the libraries for C++ applications. See Chapter 1.2 "Library
Configuration" for the list of libraries provided.
Each library consists of a header file, a dll and a library file. The dlls are built into the ROM of the
DT-X11 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 the four ".h" files for the CASIO libraries have been installed in \Program
Files\Windows CE Tools\wce500\DT-X11\include\ARMV4I\
(The path is the default but yours will be different if you install the SDK to other location).
2. Make sure the four ".lib" files for the CASIO libraries have been installed in \Program
Files\Windows CE Tools\wce500\DT-X11\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 button and
then click OK button.
6. Make sure the DT-X11 is the selected SDK and target device in the pull-down menu box.
7. Click ClassView tab in Solution Explorer and expand classes fully until you can see
WinMain() class. Double click it.
8. At the top 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 )
{
}
else
{
}
10. On the Project menu, navigate to Add To Project → Files...
11. Change Files of type: pull-down menu to Library files (.lib).
12. Navigate to the folder where the CASIO library files are stored (see step no. 2 above), highlight
SystemLib file and click OK button.
13. Initiate ActiveSync to establish connection between the DT-X11 and the PC.
14. Choose Build All from Build menu. The project will be built and copied to the DT-X11.
15. Check the operation by running the program. You should find that each time the program is
carried out, the screen flips 180°.
SysSet180Rotate( TRUE );
SysSet180Rotate( FALSE );
71

Advertisement

Table of Contents
loading

  Related Manuals for Casio DT-X11M10E