Close missing in front of the 08 should be "0x%08X",255) will create the string 0x000000FF format. With out it it create 0x08X
HiTech
Yeah. THe nasty thing about those are they are runtime bugs instead of compile time.
Ah, if all runtime bugs could be pushed down to compile time.
That's why I hate loosely typed languages with a passion.
I was working on a project once that was client/server. Actually there were multiple servers that talked back and forth to each other. The whole set of servers had about 20 config files in XML that set them up.
They often had similar data, sometimes exactly the same, sometimes the same data called different things in the different XML files.
We had a bug at a customer installation and we were beating our heads against the monitors trying to figure it out. We eventually narrowed it down to one section of one of the XML files and stared at it for like an hour trying to understand what was wrong. Then I noticed in one of the fields some one had put in a lower case L in a number instead of a numeral 1. '
In the editors we were using with the font used, those characters looked
almost exactly the same.
To this day I'm convinced that could not have been an accident. Somebody was trying to be a clever d*k.