Display Driver Migration (Windows CE 5.0)
You might receive linker errors while migrating a display driver from Windows CE .NET 4.1 to Windows CE .NET 4.2 and later.
As of Windows CE .NET 4.2, Sysgen variables replace the Ctblt.lib and Emul.lib static libraries, as shown in the following table.
Windows CE .NET 4.1 library | Windows CE .NET 4.2 and later Sysgen variable |
---|---|
Ctblt.lib | SYSGEN_GPE_CLEARTYPE |
Emul.lib | SYSGEN_GPE_NOEMUL |
To fix a linker error, you might need to set the value of the SYSGEN_GPE_CLEARTYPE or SYSGEN_GPE_NOEMUL variables to 1.
Effective with Windows CE .NET 4.1, Windows CE no longer supports 2-bits-per-pixel (bpp) video drivers and hardware. The lowest supported resolution is 8 bpp.
See Also
Display Drivers | Windows CE Drivers | Developing a Device Driver | Shell and User Interface
Send Feedback on this topic to the authors