How To Add Internet Explorer Components to a Specific Platform (287426)



The information in this article applies to:

  • Microsoft Windows CE Platform Builder 2.12
  • Microsoft Windows CE Platform Builder 3.0

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: 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):
  1. Add the Internet Explorer for Windows CE components:
    1. 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
      						
    2. 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.
  2. 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.
  3. 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.
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.

Modification Type:MinorLast Reviewed:8/18/2005
Keywords:kbdocerr kbhowto KB287426