locked
'CE_THREAD_PRIO_256_XXXXX' : undeclared identifier RRS feed

  • Question

  • Using WinMo 6.5.

    I did grep whole the WINCEROOT directory and even the Windows Mobile SDK 6.5, but can not get any definition about CE_THREAD_PRIO_256_XXXXX.

    please help.

    Friday, July 23, 2010 8:23 AM

Answers

  • The same thing only i also mentioned in my previous reply. Those definitions are not available in Windows Mobile.
     
     
    Instead of using those definitions you can directly define and use the constants from 248 to 255.
     
     

    CE_THREAD_PRIO_256_TIME_CRITICAL

    248

    CE_THREAD_PRIO_256_HIGHEST

    249

    CE_THREAD_PRIO_256_ABOVE_NORMAL

    250

    CE_THREAD_PRIO_256_NORMAL

    251

    CE_THREAD_PRIO_256_BELOW_NORMAL

    252

    CE_THREAD_PRIO_256_LOWEST

    253

    CE_THREAD_PRIO_256_ABOVE_IDLE

    254

    CE_THREAD_PRIO_256_IDLE

    255

    • Marked as answer by ast.0 Monday, July 26, 2010 6:03 AM
    Friday, July 23, 2010 12:20 PM

All replies

  • CE_THREAD_PRIO_256_XXXXX definitions are not available in windows mobile AKUs.

    But instead of that you can directly use the numbers from 248 to 256 priority.

     

    If you have windows CE installed then you can find the definitions for these constants in the following file.

     

    WINCE600\PUBLIC\COMMON\SDK\INC\winbase.h

    Friday, July 23, 2010 9:37 AM
  • Thanks for your reply.

    After checking, 
    there is no definition relative to CE_THREAD_PRIO_256_xxxx within my WM650\PUBLIC\COMMON\SDK\INC\winbase.h .

    I also check Windows Mobile 6 SDK/PocketPC/Include/Armv4i/winbase.h, and neither too.

     

    About my environment:
    I has a installation of WM5.0 platform builder, and then plus a WM6.5 AKU .

    Friday, July 23, 2010 11:03 AM
  • The same thing only i also mentioned in my previous reply. Those definitions are not available in Windows Mobile.
     
     
    Instead of using those definitions you can directly define and use the constants from 248 to 255.
     
     

    CE_THREAD_PRIO_256_TIME_CRITICAL

    248

    CE_THREAD_PRIO_256_HIGHEST

    249

    CE_THREAD_PRIO_256_ABOVE_NORMAL

    250

    CE_THREAD_PRIO_256_NORMAL

    251

    CE_THREAD_PRIO_256_BELOW_NORMAL

    252

    CE_THREAD_PRIO_256_LOWEST

    253

    CE_THREAD_PRIO_256_ABOVE_IDLE

    254

    CE_THREAD_PRIO_256_IDLE

    255

    • Marked as answer by ast.0 Monday, July 26, 2010 6:03 AM
    Friday, July 23, 2010 12:20 PM
  • Thanks.

     

    Monday, July 26, 2010 6:08 AM