Click here to Skip to main content
15,905,614 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Active Window? Pin
wuxianzhong9-Apr-04 21:26
wuxianzhong9-Apr-04 21:26 
Questionwhen to use "AFX_IDP_COMMAND_FAILURE"? Pin
vividtang9-Apr-04 18:03
vividtang9-Apr-04 18:03 
GeneralPostMessage Pin
sschilachi9-Apr-04 13:32
sschilachi9-Apr-04 13:32 
GeneralRe: PostMessage Pin
Prakash Nadar9-Apr-04 15:13
Prakash Nadar9-Apr-04 15:13 
GeneralRe: PostMessage Pin
Empty198110-Apr-04 1:19
Empty198110-Apr-04 1:19 
QuestionEXE Header Info? Pin
Timothy Grabrian9-Apr-04 12:46
professionalTimothy Grabrian9-Apr-04 12:46 
GeneralSplitting an Integer into 4 Bytes Pin
sschilachi9-Apr-04 12:16
sschilachi9-Apr-04 12:16 
GeneralRe: Splitting an Integer into 4 Bytes Pin
PJ Arends9-Apr-04 12:41
professionalPJ Arends9-Apr-04 12:41 
Many way to do this.

One brute force way is:
b1 = i & 0x000000ff;
b2 = (i & 0x0000ff00) >> 8;
b3 = (i & 0x00ff0000) >> 16;
b3 = (i & 0xff000000) >> 24;








Sonork 100.11743 Chicken Little

"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

Within you lies the power for good - Use it!
GeneralRe: Splitting an Integer into 4 Bytes Pin
Roman Nurik9-Apr-04 12:50
Roman Nurik9-Apr-04 12:50 
GeneralRe: Splitting an Integer into 4 Bytes Pin
grigsoft9-Apr-04 21:46
grigsoft9-Apr-04 21:46 
GeneralRe: Splitting an Integer into 4 Bytes Pin
Prakash Nadar9-Apr-04 22:00
Prakash Nadar9-Apr-04 22:00 
GeneralRunning my application when Windows starts Pin
Anonymous9-Apr-04 10:56
Anonymous9-Apr-04 10:56 
GeneralRe: Running my application when Windows starts Pin
Brian Olej9-Apr-04 11:09
Brian Olej9-Apr-04 11:09 
GeneralRe: Running my application when Windows starts Pin
toxcct9-Apr-04 11:14
toxcct9-Apr-04 11:14 
GeneralRe: Running my application when Windows starts Pin
Prakash Nadar9-Apr-04 15:18
Prakash Nadar9-Apr-04 15:18 
GeneralRe: Running my application when Windows starts Pin
2249179-Apr-04 19:04
2249179-Apr-04 19:04 
GeneralRe: Running my application when Windows starts Pin
Renjith Ramachandran9-Apr-04 19:38
Renjith Ramachandran9-Apr-04 19:38 
GeneralRe: Running my application when Windows starts Pin
Anonymous10-Apr-04 0:01
Anonymous10-Apr-04 0:01 
GeneralRe: Running my application when Windows starts Pin
Anonymous10-Apr-04 0:02
Anonymous10-Apr-04 0:02 
GeneralRe: Running my application when Windows starts Pin
Renjith Ramachandran10-Apr-04 0:44
Renjith Ramachandran10-Apr-04 0:44 
GeneralRight Solution from right person only Pin
ThatsAlok10-Apr-04 0:58
ThatsAlok10-Apr-04 0:58 
GeneralRe: Right Solution from right person only Pin
toxcct10-Apr-04 1:20
toxcct10-Apr-04 1:20 
GeneralRe: Right Solution from right person only Pin
Renjith Ramachandran10-Apr-04 2:45
Renjith Ramachandran10-Apr-04 2:45 
GeneralPreProcessor defines Pin
The Bowman9-Apr-04 10:40
The Bowman9-Apr-04 10:40 
GeneralRe: PreProcessor defines Pin
Michael Dunn9-Apr-04 14:56
sitebuilderMichael Dunn9-Apr-04 14:56 

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.