locked
Convert WM SDK 5.0 application to 6.0 RRS feed

  • Question

  • Hi,

     

    Im having problems to migrate an application in windows ce 5.0 to WM 6.0.

     

    For example, for this code:

     

    handle = FindFirstDevice( DeviceSearchByGuid, &guidCamera, &di );

     

    I get error, cuz this is not defined in Windows Mobile 6 SDK; i figured out that that function is defined in 'winbase.h', and this is in Windows Mobile 5 SDK but not in 6. How can i solve all this problems of migration??

     

    Regards,

    Friday, June 6, 2008 1:59 AM

Answers

  • I searched the icnclude files and found:

    C:\Programme\Windows Mobile 6 SDK\PocketPC\Include\Armv4i\winbase.h(3772):HANDLE FindFirstDevice(DeviceSearchType searchType, LPCVOID pvSearchParam, PDEVMGR_DEVICE_INFORMATION pdi);

     

    Maybe you project settings are set to wrong path?

    Friday, June 6, 2008 6:26 AM