Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sound?? Pin
13-Jan-01 6:44
suss13-Jan-01 6:44 
GeneralRe: Sound?? Pin
Christian Graus13-Jan-01 8:49
protectorChristian Graus13-Jan-01 8:49 
GeneralRe: Sound?? Pin
13-Jan-01 8:52
suss13-Jan-01 8:52 
GeneralRe: Sound?? Pin
13-Jan-01 8:53
suss13-Jan-01 8:53 
GeneralRe: Sound?? Pin
Christian Graus13-Jan-01 12:40
protectorChristian Graus13-Jan-01 12:40 
AnswerRe: Sound?? Pin
13-Jan-01 10:47
suss13-Jan-01 10:47 
GeneralByte order Pin
11-Jan-01 9:28
suss11-Jan-01 9:28 
GeneralRe: Byte order Pin
Jason Troitsky12-Jan-01 2:14
Jason Troitsky12-Jan-01 2:14 
Hello mate,

This is what I use and it works Wink | ;)


DWORD ReverseByteOrder(DWORD* pdwRaw)
{
unsigned char c[4];

memcpy( &c, pdwRaw, 4);

DWORD dwReturn = c[3] | (c[2] << 8) | (c[1] << 16) | (c[0] << 24);

return dwReturn;
}



Hope this helps!
GeneralCFileDialog in a Propertysheet Pin
Sjoerd van Leent11-Jan-01 6:41
Sjoerd van Leent11-Jan-01 6:41 
GeneralRe: CFileDialog in a Propertysheet Pin
Paul Selormey11-Jan-01 7:53
Paul Selormey11-Jan-01 7:53 
GeneralRe: CFileDialog in a Propertysheet Pin
Sjoerd van Leent11-Jan-01 10:02
Sjoerd van Leent11-Jan-01 10:02 
GeneralRe: CFileDialog in a Propertysheet Pin
Paul Selormey11-Jan-01 10:20
Paul Selormey11-Jan-01 10:20 
GeneralDirectory tree and file list Pin
snoop7011-Jan-01 5:42
snoop7011-Jan-01 5:42 
GeneralRe: Directory tree and file list Pin
Paul Selormey11-Jan-01 8:13
Paul Selormey11-Jan-01 8:13 
GeneralRe: Directory tree and file list Pin
11-Jan-01 11:01
suss11-Jan-01 11:01 
Generaldao only allows 255 fields Pin
Avigayil11-Jan-01 5:14
Avigayil11-Jan-01 5:14 
GeneralRe: dao only allows 255 fields Pin
David Fedolfi12-Jan-01 8:23
David Fedolfi12-Jan-01 8:23 
GeneralClient-Server :confused: Pin
Maxime Labelle10-Jan-01 22:26
Maxime Labelle10-Jan-01 22:26 
GeneralURGENT:convert from acess97/98 to 2k in VC++ Pin
10-Jan-01 20:18
suss10-Jan-01 20:18 
GeneralATL globals Pin
2sky10-Jan-01 13:56
2sky10-Jan-01 13:56 
GeneralCheck for a running process Pin
ao10-Jan-01 9:16
ao10-Jan-01 9:16 
GeneralRe: Check for a running process Pin
Ghazi H. Wadi10-Jan-01 10:49
Ghazi H. Wadi10-Jan-01 10:49 
GeneralRe: Check for a running process Pin
11-Jan-01 1:54
suss11-Jan-01 1:54 
GeneralRe: Check for a running process Pin
Ghazi H. Wadi11-Jan-01 4:10
Ghazi H. Wadi11-Jan-01 4:10 
GeneralCheck for a running process Pin
ao10-Jan-01 9:16
ao10-Jan-01 9:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.