There are 3 entries for the tag DEBUGMSG
Platform Builder: RETAILMSG vs. DEBUGMSG
What is the difference between RETAILMSG and DEBUGMSG? This question comes up once in a while, so I thought it might be interesting to discuss it. The first thing that we should think about is what are these? The first clue, assuming that we don’t read the documentation, is that they are both in all capital letters. This is usually a clue that they are macros. If they are macros, they cannot be hidden away in a binary, they must be in a header file that we can look at to figure out what they do. ......

Posted On Wednesday, July 23, 2008 10:33 PM | Comments (4)

Platform Builder: Formatting Output with DEBUGMSG and RETAILMSG
For those of you who have done a lot of output using printf the following will be familiar, but I think that there are a lot of programmers who have done most of their user interface code with a GUI. I have been getting questions about the format string in DEBUGMSG and RETAILMSG lately. I will not try to be the full documentation on format strings, but I thought that I would explain a few things about the format string that can be useful. You may have seen some of my examples using %s, %8s and %-*s ......

Posted On Monday, July 14, 2008 10:00 PM | Comments (2)

Windows CE: Stream Interface Driver, DllEntry()
Previously, I introduce a Stream Interface Driver that was just a shell of a driver or a driver that didn’t do anything useful. I thought that it would be good to flesh it out a little and add some code to demonstrate some driver features that are fairly common. To get started, let’s flesh out the first function that gets called when the driver loads; DllEntry(). DllEntry() is typically fairly basic, but does some important things. First, I will fill in the function, and then I will discuss what ......

Posted On Monday, July 7, 2008 10:00 PM | Comments (15)