Geeks With Blogs
Windows Embedded Annotations June 2009 Entries
Integrating your project in the 3rdParty folder
A recent feedback by Bjoern Feld on my post about 'Integrating your project in the PUBLIC tree' leads me to write this new one. Once you have created your driver/application you want probably to distribute it to your customer; maybe you want to install your product in the %_WINCEROOT%\3rdParty folder. In this example I will assume that ACME wants to distribute a device driver for a new rocket -which will hopefully help Wile E. Coyote to terminate the Road Runner. Open a Platform Builder workspace ......

Posted On Monday, June 29, 2009 9:52 AM

Removing a default BSP component from a workspace
Every BSP has a batch file with the same name of the BSP itself: this file is invoked for every workspace based on that BSP instructing the development environment (for example) to add some components which the developer thought should be included by default on every workspace usng that BSP. For example in a BSP .bat you can find something like: set BSP_USB_OHCI=1 set BSP_USB_UHCI=1 set BSP_USB_EHCI=1 which include in every workspace the support for the various flavours of USB host controllers. Suppose ......

Posted On Thursday, June 25, 2009 10:07 AM

Invalid handle?
Several Windows Embedded CE API's deal with handles: an application obtains a handle to an object than it typically checks if the handle is valid or not; unfortunately there are two values which means invalid handle: for example CreateFile returns INVALID_HANDLE_VALUE (which is defined as -1 or 0xFFFFFFFF) while CreateEvent returns NULL. A mnemonic aid is the following: all the API's that deal with files, storage and database (CreateFile, FindFirstChangeNotification, OpenStore, CeOpenDatabaseEx, ......

Posted On Monday, June 15, 2009 5:16 AM

Copyright © Luca Calligaris | Powered by: