I have a COLORREF DWORD value (0x00bbggrr) that I want to convert to a D3DCOLOR DWORD value (0x00rrggbb). As you can see the 2nd and 4th bytes need to be exchanged.
Any suggestions would be appreciated.
Gorecki
Hello,
I'm having trouble passing a class object that requires a single parameter for the constructor.
The result I want being, inside another class, pass the already initialized object's pointer to another variable.
eg.
//FirstClass Constructor
FirstClass::FirstClass(char* name)
{
// Start...
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.