Microsoft KB Archive/891899

= You cannot add an OEM-specific serial driver to a Windows CE 5.0 image =

Article ID: 891899

Article Last Modified on 3/14/2007

-

APPLIES TO


 * Microsoft Windows CE 5.0

-





SYMPTOMS
When you try to add an OEM-specific serial driver to a Microsoft Windows CE 5.0 image, the OEM serial driver is not added to the image.



CAUSE
This problem occurs because of new environment variables and the associated logic in the Common.bib file. If you do not set the BSP_NOPCMCIA variable or the BSP_NOPCCARD variable, the build overwrites the OEM-provided driver with the Com_card.dll driver. These variables control whether the Microsoft-provided, bus-agnostic serial driver is excluded. Additionally, if you do not specify the OEM serial driver in the Platform.reg file, the driver is included in the image.



RESOLUTION
To resolve this problem and to include the OEM serial driver in the image, follow these steps:  Change the name of the OEM-provided serial driver so that the name of the file is not Serial.dll. For example, change the file name to SerialOEM.dll. Open the Platform.reg file in Notepad to update the registry information.

Note The Platform.reg file is located in the \FILES folder. is the name of your target platform. Locate the  subkey in the Platform.reg file. Replace the &quot;Dll&quot;=&quot;Serial.dll&quot; line in the file with the following line:

&quot;Dll&quot;=&quot; &quot;

Note  is the file that you renamed in step 1. Save the Platform.reg file. Rebuild the platform.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information about serial port driver registry settings, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms894690.aspx

For more information about bus-agnostic drivers, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms891009.aspx

For more information about BSP_NO environment variables, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa448361.aspx

Additional query words: serial driver OEM

Keywords: kbnofix kbtshoot kbprb KB891899

-

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

© Microsoft Corporation. All rights reserved.