Share via


Replace Deprecated Header Files and String Functions (Compact 7)

3/12/2014

After you separate the kernel from OAL and KITL, replace deprecated header files and string functions that cause your build to break.

Replace Deprecated Header Files

The contents of the oal_nkxp.h and oal_profiler.h headers are now in two other header files, nkexport.h and bcoemglobal.h. If your build fails because of the inclusion of either of these files, you must replace the old header files with the current ones:

To replace the deprecated header files

  1. Delete the include statements for oal_nkxp.h and oal_profiler.h.

  2. Include %_WINCEROOT%\platform\common\src\common\oal.h, which includes nkexport.h. Nkexport.h contains the functionality that we are concerned with here.

  3. Try to build your project.

  4. If your build still fails, look for the missing functions in %_WINCEROOT%\public\common\oak\inc\bcoemglobal.h and include this header file if needed.

Replace Deprecated String Functions

In Windows Embedded CE 6.0, a number of string function prototypes are deprecated.

To replace the deprecated string functions

  • If your build breaks on one of these missing functions, search strmisc.h or other public headers for a suitable replacement function.

See Also

Concepts

Required Changes