MS Whine OTD
2008-05-28 20:59:58.174536+02 by
Dan Lyke
2 comments
Sigh. Working with notYET again, specifically C#. You might think that in the byte pointer to data gotten back from a call that specifies ...PixelFormat.Format32bppArgb that b[0] would be alpha, b[1] red, and so forth, but nooooo, in fact, it's bgra.
[ related topics:
Microsoft
]
comments in ascending chronological order (reverse):
#Comment Re: made: 2008-05-29 18:54:33.175928+02 by:
dexev
do you need to call htonl? :)
#Comment Re: made: 2008-05-29 22:27:36.303683+02 by:
Dan Lyke
Probably, except that this being Microsoft, that'll undoubtedly result in pages of compiler spew that reads something like "Warning: htonl is unsafe and deprecated, use _htonl_s() instead"...
We will not edit your comments. However, we may delete your
comments, or cause them to be hidden behind another link, if we feel
they detract from the conversation. Commercial plugs are fine,
if they are relevant to the conversation, and if you don't
try to pretend to be a consumer. Annoying endorsements will be deleted
if you're lucky, if you're not a whole bunch of people smarter and
more articulate than you will ridicule you, and we will leave
such ridicule in place.