Tag Archives: Programming

Filter Drivers


Windows CE programmers are familiar with File System Filter drivers. Starting with WEC7 the device manager supports filter drivers for Stream Interface Drivers. This is particulary useful if you want to modify how a device driver works. Suppose you have a driver in … Continue reading

Posted in Windows Embedded CE | Tagged , , , , | 1 Comment

Integrating your project in the PUBLIC tree


Introduction  Have you ever wondered how you can integrate your code under the PUBLIC tree in Windows Embedded CE 6.0? This can be useful if you want to distribute code/components that are not part of a BSP. In this post … Continue reading

Posted in Windows Embedded CE | Tagged , , , , | Leave a comment

Flash device driver in Windows Embedded CE 6.0


In previous version of Windows CE the flash drivers followed a model based on FAL (Flash Abstraction Layer): the developer had to write the FMD (Flash Media Driver) layer and link it with fal.lib to create a DLL which exposed … Continue reading

Posted in Windows Embedded CE | Tagged , , , , , , | 1 Comment

Get last error and set it meaningfully


Very often I read posts in the newsgroups like: I call function Foo(dwParam) and it returns FALSE. What’s wrong? If I cannot tell it immediately -for example because the dwParam is clearly wrong – my standard answer is: Have you … Continue reading

Posted in Windows Embedded CE | Tagged , , , | Leave a comment

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 … Continue reading

Posted in Windows Embedded CE | Tagged , , , | Leave a comment

Customizing Windows Embedded CE 6.0 makeimg processing using batch files


The Make Binary Image tool (Makeimg.exe) calls a number of programs and batch files in the process of making the run-time image (check http://msdn.microsoft.com/en-us/library/aa908853.aspx for details). What you may not know is that makeimg checks for the existance of several … Continue reading

Posted in Windows Embedded CE | Tagged , , , , , , | Leave a comment

A fast way to rebuild a Windows CE image


If you have already created an OS image and you have to modify-build-download it several times you can use a shortcut to perform those operations as fast as it is possible (if you do not add new components – which … Continue reading

Posted in Windows Embedded CE | Tagged , , , , , , , | 2 Comments