Flutterby™! : MS Whine OTD

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

MS Whine OTD

2008-05-28 11:59:58.174536-07 by Dan Lyke 2 comments

Sigh. Working with notYET[Wiki] 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 09:54:33.175928-07 by: dexev

do you need to call htonl? :)

#Comment Re: made: 2008-05-29 13:27:36.303683-07 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"...

Comment policy

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.


Flutterby™ is a trademark claimed by

Dan Lyke
for the web publications at www.flutterby.com and www.flutterby.net.