Hi all,
I'm trying to separate a COLORREF into the three basic color amounts. I know the structure of COLORREF is 4 bytes set like this:
0x00bbggrr
I need to extract the blue, green and red values into separate variables. Does anyone know how to do this?
Thanks!
Can anybody tell me why the exact same (supposedly) standard code may work on one compiler and not on another? Also, has anyone had any experiences of working with the new Visual C++ .net - I've heard many bad things about it compared to VC++ 6.0 compiler. Should I wait to upgrade?
Hi, does anyone have any experience with using the SetSockOpt() function when using CSocket/CAsyncSocket ???
Here's my problem: I've successfully got a client and server to talk to each other (yay!). However, say I log off the client and then try to reconnect, I just get an error saying that...
Hi all, I'm experimenting with windows sockets for the first time but I'm having some difficulties getting a basic client app to work correctly.
I've read and looked at the samples on MSDN but they are not well documented and also, I don't want to use the archiving thing - i'd rather just use...
How do I get the actual name of the application if the user has changed it?
PS: Anybody else having trouble with this site? Can't log in and when i do I get gibberish half the time.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.