Configuring The Microsoft Windows Ce Connection Manager - Matrox Iris GT MIL Installation And Technical Reference

Hide thumbs Also See for Iris GT MIL:
Table of Contents

Advertisement

72 Chapter 7: Creating a Microsoft Windows CE application for Matrox Iris GT
• When you create a console application
use the following standard C runtime entry point:
- mosMain. Can receive both ASCII and Unicode strings as arguments. The first
function in your program should be mosMain().
int mosMain(int argc, tchar* argv[])
• MIL for Microsoft Windows CE accepts Unicode parameters. For this reason, all
text inputs should be converted to Unicode using the MIL_TEXT() macro, the
MIL_TEXT_CHAR data type, or the MIL_TEXT_PTR data type. For example:
MgraText(GraphContextID,MIL_TEXT("Hello world!"));
MIL_TEXT_CHAR file name[128];
MIL_TEXT_PTR pString = file name;
For more information about creating a portable MIL application, refer to the
sections on portability found in the Building an application chapter of the MIL
User Guide.
Configuring the Microsoft Windows CE
Connection Manager
Before you can build and transfer your application, you need to configure a
connection between your Matrox Iris GT and Microsoft Visual Studio on your
development computer. This is done using the Windows CE Connection Manager,
a tool included in Microsoft Visual Studio.
1. Microsoft Windows CE supports a console window, and therefore supports the devel-
opment of console applications that use text-based I/O. The application is created
without a form, and therefore cannot receive windows messages.
1
using MIL for Microsoft Windows CE,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents