Microsoft KB Archive/287426

= How To Add Internet Explorer Components to a Specific Platform =

Article ID: 287426

Article Last Modified on 2/12/2007

-

APPLIES TO


 * Microsoft Windows CE Platform Builder 2.12
 * Microsoft Encarta Reference Suite 2001

-



This article was previously published under Q287426



SUMMARY
The Platform Builder MAXALL configuration includes the Pocket Internet Explorer component by default. This article describes how to use the Internet Explorer for Windows CE component in place of Pocket Internet Explorer. Internet Explorer for Windows CE is the same browser component that is used in the IESAMPLE default configuration.



MORE INFORMATION
Due to the enhanced capabilities of Internet Explorer for Windows CE it is sometimes desirable to use it in place of the Pocket Internet Explorer component. Internet Explorer for Windows CE provides a feature set that is comparable with that of Internet Explorer version 4.01 for desktop Windows operating systems, with the trade-off that it consumes more memory than Pocket Internet Explorer. For details on the features provided by Internet Explorer for Windows CE, see the description of the IESample configuration in Platform Builder Help or on MSDN Online:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce30/html/configs30.asp

The MAXALL sample configuration uses Pocket Internet Explorer and can be modified to use Internet Explorer for Windows CE. The following example describes how to modify a MAXALL platform project by using the Platform Builder Integrated Development Environment (IDE):  Add the Internet Explorer for Windows CE components:   Open the CEsysgen.bat file for the platform and ensure that the following components are specified in the IE_MODULES variable:

mlang

wininet

urlmon

mshtml

shdocvw

wplayer

iesample

msxml

For example, the variable might look like this: set IE_MODULES=mlang wininet urlmon mshtml shdocvw wplayer iesample msxml   Locate the OLE32_COMPONENTS variable and add the stg and olemain components. Note that there are two versions of the OLE32_COMPONENTS definition, one for full COM/DCOM and one for standard Windows CE COM support. Add the components to the appropriate variable, or add it to both if you're not certain which one to use. For example, the DCOM variable might look like this: set OLE32_COMPONENTS=dcomole std olemain

Close the CEsysgen.bat file.   Disable the Pocket Internet Explorer components: In Platform Builder, from the Platform menu, click Settings. When the Settings dialog box appears, click the Sysgen tab and clear the checkboxes for the following options:

Include Pocket Internet Explorer

Include Help engine

Close the Settings dialog box. From the Build menu, click Clean to ensure that new components are generated when you build the new ROM image. When the Clean operation is completed, from the Build menu, click Build Platform to build a new ROM image using the new settings.</ol>

NOTES:
 * The Internet Explorer for Windows CE components include a sample browser implementation called IEsample.exe. Simply run this executable file to see Internet Explorer for Windows CE hosted in a browser similar to Pocket Internet Explorer. Source code for this browser is provided in the IEsample project for you to modify if you want.
 * This procedure does not implement a desktop shortcut to access the Internet Explorer for Windows CE sample browser (IEsample.exe). See the Project.dat and IExplorer.lnk files, which are located in \WINCExxx\Public\IEsample\Oak\Files, for an example of how to implement such a shortcut.

Additional query words: GenIE PocketIE Browser Control sysgen.bat cesysgen.bat

Keywords: kbdocerr kbhowto KB287426

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.