
72
Chapter 7: Creating a Microsoft Windows CE application for Matrox Iris GT
• When you create a console application
1
using MIL for Microsoft Windows CE,
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()
.
• 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:
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.
int mosMain(int argc, tchar* argv[])
MgraText(GraphContextID,MIL_TEXT(“Hello world!”));
MIL_TEXT_CHAR file name[128];
MIL_TEXT_PTR pString = file name;
Содержание Iris GT MIL
Страница 1: ...Matrox Iris GT with MIL Installation and Technical Reference Manual no Y11155 201 0110 June 3 2010...
Страница 12: ......
Страница 28: ...28 Chapter 2 Powering and connecting to your Matrox Iris GT...
Страница 40: ...40 Chapter 3 Configuring your Matrox Iris GT to work on a network...
Страница 48: ...48 Chapter 4 Configuring your Matrox Iris GT to work with your computer directly...
Страница 58: ...58 Chapter 5 Accessing Matrox Iris GT...
Страница 83: ...Appendix A Appendix A Glossary This appendix defines some of the specialized terms used in this manual...
Страница 88: ...88 Appendix A Glossary...
Страница 125: ...Appendix F Appendix F The breakout board This appendix describes how to use the Matrox Iris GT breakout board...
Страница 152: ...152 Appendix F The breakout board...
Страница 158: ...158 Appendix G Reading the LEDs...
Страница 238: ...238 Appendix I Matrox Iris portal website details...
Страница 250: ......
Страница 256: ......