Article ID: 959416 - Last Review: December 16, 2008 - Revision: 1.0

The Pictor service may not work and you receive an error message when you run the Pictor service on a Windows Embedded CE 6.0 R2-based device

On This Page

Expand all | Collapse all

SYMPTOMS

You have a Windows Embedded CE 6.0 R2-based device that is running the Pictor service. You use the register method to connect to the Pictor service, or you use the unregister method to disconnect the Pictor service. If the network adapter is removed when the Pictor service is being registered, the Pictor service may become unstable. When this occurs, the Pictor service may not work, and you receive the following message:
PIC0: 0x00000000 PictorService.dll Starting up.

RESOLUTION

Software update information

A supported software update is now available from Microsoft as Windows CE 6.0 Platform Builder Monthly Update (November 2008). You can confirm this by scrolling to the "File information" section of this article. The package file name contains the product version, date, Knowledge Base article number, and processor type. The package file name format is:
Product version-yymmdd-kbnnnnnn-processor type
For example: Wincepb50-060503-kb917590-armv4i.msi is the ARMV4i Windows CE 5.0 Platform Builder fix that is documented in KB article 917590 and that is contained in the May 2006 monthly update. To resolve this problem immediately, click the following article number for information about obtaining Windows CE Platform Builder and core operating system software updates:
837392  (http://support.microsoft.com/kb/837392/ ) How to locate core operating system fixes for Microsoft Windows CE Platform Builder products
The fix provides a new "suspend" status for the Pictor service. The "suspend" status stops the Pictor service from being registered and unregistered repeatedly. You can also call the new IOCTL function to set or get a suspended state. The sample code resembles the following.
HANDLE hPictorService = CreateFile(L"PIC0:", 0, 0, NULL, OPEN_EXISTING, 0, NULL);
    DeviceIoControl(hPictorService, PICTOR_IOCTL_SETSUSPEND,
        (void*)&bSuspend,sizeof(bool), 0, 0, NULL, 0);

    DeviceIoControl(hPictorService, PICTOR_IOCTL_GETSUSPEND, 0, 0, 
        (void*)&bSuspend, sizeof(bool), NULL, 0);
Note The type of bSuspend must be bool, but not BOOL.

Prerequisites

This software update is supported only if all previously issued software updates for this product have also been applied.

Restart requirement

After you install this software update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean, and then click Build Platform.
  • On the Build menu, click Rebuild Platform.
You do not have to restart the computer after you apply this software update.

Hotfix replacement information

This software update does not replace a previously released software update.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Collapse this tableExpand this table
File nameFile sizeDateTime
Wincepb60-081124-kb959416-armv4i.msi876,54425-Nov-200800:02
Wincepb60-081124-kb959416-mipsii.msi866,30425-Nov-200800:02
Wincepb60-081124-kb959416-mipsii_fp.msi866,30425-Nov-200800:02
Wincepb60-081124-kb959416-mipsiv.msi869,37625-Nov-200800:02
Wincepb60-081124-kb959416-mipsiv_fp.msi869,37625-Nov-200800:02
Wincepb60-081124-kb959416-sh4.msi856,06425-Nov-200800:02
Wincepb60-081124-kb959416-x86.msi832,51225-Nov-200800:02
Collapse this tableExpand this table
File nameFile sizeDateTimePath
Windows embedded ce 6.0_update_kb959416.htm7,83824-Nov-200821:05081124_kb959416
Pictorservice.h1,52021-Nov-200817:40Public\Rdp\Oak\Inc
Pictorservice.lib664,27421-Nov-200817:36Public\Rdp\Oak\Lib\Armv4i\Debug
Pictorservice.lib530,00021-Nov-200817:36Public\Rdp\Oak\Lib\Armv4i\Retail
Pictorservice.lib657,66021-Nov-200817:37Public\Rdp\Oak\Lib\Mipsii\Debug
Pictorservice.lib524,13021-Nov-200817:37Public\Rdp\Oak\Lib\Mipsii\Retail
Pictorservice.lib657,73021-Nov-200817:38Public\Rdp\Oak\Lib\Mipsii_fp\Debug
Pictorservice.lib524,28021-Nov-200817:37Public\Rdp\Oak\Lib\Mipsii_fp\Retail
Pictorservice.lib661,20621-Nov-200817:38Public\Rdp\Oak\Lib\Mipsiv\Debug
Pictorservice.lib527,54821-Nov-200817:38Public\Rdp\Oak\Lib\Mipsiv\Retail
Pictorservice.lib661,27621-Nov-200817:39Public\Rdp\Oak\Lib\Mipsiv_fp\Debug
Pictorservice.lib527,69821-Nov-200817:39Public\Rdp\Oak\Lib\Mipsiv_fp\Retail
Pictorservice.lib605,49221-Nov-200817:40Public\Rdp\Oak\Lib\Sh4\Debug
Pictorservice.lib498,13221-Nov-200817:39Public\Rdp\Oak\Lib\Sh4\Retail
Pictorservice.lib593,88221-Nov-200817:36Public\Rdp\Oak\Lib\X86\Debug
Pictorservice.lib498,65421-Nov-200817:35Public\Rdp\Oak\Lib\X86\Retail

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

APPLIES TO
  • Windows Embedded CE 6.0 R2
Keywords: 
kbexpertiseadvanced kbhotfixserver kbqfe KB959416
 

Article Translations