⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 005-007.html

📁 WindowsCE.[Essential Windows CE Application Programming].Jon Wiley & Son.zip
💻 HTML
📖 第 1 页 / 共 2 页
字号:
			<option value="/reference/dir.security1.html">Security	
			<!-- <option value="/reference/dir.ewtraining1.html">Training Guides -->
			<option value="/reference/dir.userinterfaces.html">UI
			<option value="/reference/dir.webservices.html">Web Services
			<option value="/reference/dir.webmasterskills1.html">Webmaster
			<option value="/reference/dir.y2k1.html">Y2K
			<option value="">-----------
			<option value="/reference/whatsnew.html">New Titles
			<option value="">-----------
			<option value="/reference/dir.archive1.html">Free Archive		
			</SELECT>
			</font></td>
	</tr>
	</table>
	</form>
<!-- LEFT NAV SEARCH END -->

		</td>
		
<!-- PUB PARTNERS END -->
<!-- END LEFT NAV -->

<td rowspan="8" align="right" valign="top"><img src="/images/iswbls.gif" width=1 height=400 alt="" border="0"></td>
<td><img src="/images/white.gif" width="5" height="1" alt="" border="0"></td>
<!-- end of ITK left NAV -->

<!-- begin main content -->
<td width="100%" valign="top" align="left">


<!-- END SUB HEADER -->

<!--Begin Content Column -->

<FONT FACE="Arial,Helvetica" SIZE="-1">
To access the contents, click the chapter and section titles.
</FONT>
<P>
<B>Essential Windows CE Application Programming</B>
<FONT SIZE="-1">
<BR>
<I>(Publisher: John Wiley & Sons, Inc.)</I>
<BR>
Author(s): Robert Burdick
<BR>
ISBN: 0471327476
<BR>
Publication Date: 03/01/99
</FONT>
<P>
<form name="Search" method="GET" action="http://search.earthweb.com/search97/search_redir.cgi">

<INPUT TYPE="hidden" NAME="Action" VALUE="Search">
<INPUT TYPE="hidden" NAME="SearchPage" VALUE="http://search.earthweb.com/search97/samples/forms/srchdemo.htm">
<INPUT TYPE="hidden" NAME="Collection" VALUE="ITK">
<INPUT TYPE="hidden" NAME="ResultTemplate" VALUE="itk-simple-intrabook.hts">
<INPUT TYPE="hidden" NAME="ViewTemplate" VALUE="view.hts">

<font face="arial, helvetica" size=2><b>Search this book:</b></font><br>
<INPUT NAME="queryText" size=50 VALUE="">&nbsp;<input type="submit" name="submitbutton" value="Go!">
<INPUT type=hidden NAME="section_on" VALUE="on">
<INPUT type=hidden NAME="section" VALUE="http://www.itknowledge.com/reference/standard/0471327476/">

</form>


<!-- Empty Reference Subhead -->

<!--ISBN=0471327476//-->
<!--TITLE=Essential Windows CE Application Programming//-->
<!--AUTHOR=Robert Burdick//-->
<!--PUBLISHER=John Wiley & Sons, Inc.//-->
<!--IMPRINT=Wiley Computer Publishing//-->
<!--CHAPTER=1//-->
<!--PAGES=005-007//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->

<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="001-005.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="007-013.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B><I>The OEM Adaptation Layer</I></B></FONT></P>
<P>The OEM adaptation layer, or OAL, consists of all of the pieces of software that an original equipment manufacturer (OEM) must implement to port Windows CE to new hardware.
</P>
<P>If you are interested in creating a new class of Windows CE products, such as a point-of-sale terminal for ordering parts at the local auto repair shop, you need to get Windows CE to run on your custom hardware. The OAL is where you customize the interrupt service routines and hardware interfaces that allow hardware to communicate with Windows CE.</P>
<P>Programming the OEM adaptation layer is one of the many aspects of Windows CE embedded systems programming. As this subject deserves an entire book of its own, it is not covered in this book, which is devoted to application programming.</P>
<P><FONT SIZE="+1"><B><I>The Device Driver Layer</I></B></FONT></P>
<P>This layer of the Windows CE operating system contains all of the drivers for peripherals that are included with a particular device. These might include flash memory card drivers, video drivers, and keyboard drivers. Detailed coverage of this subject, like the OAL, belongs in an embedded systems programming book.
</P>
<P><FONT SIZE="+1"><B><I>The Communication APIs</I></B></FONT></P>
<P>Windows CE includes many of the communication APIs that you might be familiar with from Windows NT. For example, sockets, serial communication, TAPI, and the WinINet APIs are all supported under Windows CE.
</P>
<P>One of the most important features of many Windows CE devices is their ability to share data with a desktop PC. Windows CE therefore supports ActiveSync technology. ActiveSync allows application programmers to write service providers for synchronizing application-specific data between Windows CE devices and desktop computers. Additionally, there is file filter support for transferring files between platforms.</P>
<P><FONT SIZE="+1"><B><I>Custom Shells and the Internet Explorer</I></B></FONT></P>
<P>OEMs can use the Windows CE shell component to write their own custom shells for their devices. For example, if you do not want the standard Handheld PC shell, you can write your own.
</P>
<P>Windows CE also supports a version of the Internet Explorer.</P>
<P><FONT SIZE="+1"><B>Windows CE Modularity</B></FONT></P>
<P>One of the nicest features of Windows CE from the OEM point of view is the modularity of the operating system. Each of the various subsystem components can be added or removed as needed. If you are designing a product that does not need any of the Windows CE child controls, for example, you can remove them from the ROM operating system image that runs on your hardware. This allows OEMs to shrink the memory footprint of the operating system by removing any components that are not needed for a particular product.
</P>
<P>The SYSGEN tool that ships with the Windows CE Platform Builder makes this possible. When OEMs license Windows CE, they get all of the operating system component libraries. They must, however, build their own operating system image.</P>
<P>Part of this process involves writing a file, called CESYSGEN.BAT, that specifies which component libraries to include in the image. The SYSGEN tool then links those pre-compiled libraries into the operating system image.</P>
<H3><A NAME="Heading3"></A><FONT COLOR="#000077">Windows CE Programming Tools</FONT></H3>
<P>Microsoft designed Windows CE with existing Windows programmers in mind. We have already discussed how Windows CE is based on the Win32 API. Programmers can also use many of the same programming tools that they are already familiar with.
</P>
<P>This is because Microsoft Developer Studio can be used for writing and debugging Windows CE applications. Emulators for the various Windows CE platforms allow developers to write and debug applications on a desktop PC. The Windows CE Toolkit includes utilities for allowing the Microsoft Developer Studio debuggers to remotely debug applications running on Windows CE hardware. Developers can therefore begin writing and debugging Windows CE applications without learning a new set of development tools.</P>
<P><FONT SIZE="+1"><B>A Sample Session</B></FONT></P>
<P>To demonstrate the Windows CE programming tools, let&#146;s see how to build a sample Windows CE application. We will build the TEMPLATE.EXE application for the Handheld PC emulation environment. Then we will see how to build the same application for real HandheldPC hardware and download it to a device. The project files for this application can be found on the companion CD under \Samples\ template.
</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="001-005.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="007-013.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>


<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->
<!-- reference_footer = subfoot -->

<!-- BEGIN SUB FOOTER -->
		<br><br>
		</TD>
    </TR>
	</TABLE>

		
	<table width="640" border=0 cellpadding=0 cellspacing=0>
		<tr>
		<td align="left" width=135><img src="/images/white.gif" width=100 height="1" alt="" border="0"></td>
		
		
<!-- END SUB FOOTER -->

<!-- all of the books have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->
<!-- reference_footer = subfoot -->

<!-- FOOTER -->
			
		<td width="515" align="left" bgcolor="#FFFFFF">
<font face="arial, helvetica" size="1"><b><a href="/products.html"><font color="#006666">Products</font></a>&nbsp;|&nbsp; <a href="/contactus.html"><font color="#006666">Contact Us</font></a>&nbsp;|&nbsp; <a href="/aboutus.html"><font color="#006666">About Us</font></a>&nbsp;|&nbsp; <a href="http://www.earthweb.com/corporate/privacy.html" target="_blank"><font color="#006666">Privacy</font></a> &nbsp;|&nbsp; <a href="http://www.itmarketer.com/" target="_blank"><font color="#006666">Ad Info</font></a> &nbsp;|&nbsp; <a href="/"><font color="#006666">Home</font></a></b>
		<br><br>
		
		Use of this site is subject to certain <a href="/agreement.html">Terms &amp; Conditions</a>, <a href="/copyright.html">Copyright &copy; 1996-1999 EarthWeb Inc.</a><br> 
All rights reserved.  Reproduction whole or in part in any form or medium without express written permision of EarthWeb is prohibited.</font><p>
</td>
		</tr>
</table>
</BODY>
</HTML>

<!-- END FOOTER -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -