Click here to Skip to main content
15,901,666 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ComboBox problem Pin
liquid_13-May-05 1:11
liquid_13-May-05 1:11 
GeneralRe: ComboBox problem Pin
ddmcr13-May-05 1:26
ddmcr13-May-05 1:26 
GeneralRe: ComboBox problem Pin
Anonymous15-May-05 20:22
Anonymous15-May-05 20:22 
Questionwhy my CStatic doesn't show its text? Pin
lucy12-May-05 9:16
lucy12-May-05 9:16 
AnswerRe: why my CStatic doesn't show its text? Pin
Haakon S.12-May-05 10:27
Haakon S.12-May-05 10:27 
GeneralRe: why my CStatic doesn't show its text? Pin
lucy12-May-05 10:36
lucy12-May-05 10:36 
GeneralRe: why my CStatic doesn't show its text? Pin
khan++12-May-05 18:50
khan++12-May-05 18:50 
GeneralRe: why my CStatic doesn't show its text? Pin
lucy13-May-05 3:25
lucy13-May-05 3:25 
GeneralThread exit codes Pin
Haakon S.12-May-05 8:59
Haakon S.12-May-05 8:59 
GeneralRe: Thread exit codes Pin
David Crow12-May-05 9:08
David Crow12-May-05 9:08 
GeneralRe: Thread exit codes Pin
Haakon S.12-May-05 10:18
Haakon S.12-May-05 10:18 
GeneralRe: Thread exit codes Pin
Blake Miller12-May-05 11:12
Blake Miller12-May-05 11:12 
QuestionHow to get output of console program? Pin
Kuniva12-May-05 7:50
Kuniva12-May-05 7:50 
AnswerRe: How to get output of console program? Pin
Ravi Bhavnani12-May-05 8:10
professionalRavi Bhavnani12-May-05 8:10 
AnswerRe: How to get output of console program? Pin
David Crow12-May-05 8:11
David Crow12-May-05 8:11 
GeneralNeed help with reversing an algorithm Pin
Anonymous12-May-05 7:29
Anonymous12-May-05 7:29 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 7:50
professionalChris Losinger12-May-05 7:50 
GeneralRe: Need help with reversing an algorithm Pin
Anonymous12-May-05 8:05
Anonymous12-May-05 8:05 
[Tom Archer]

I think I got it. First, the 4 missing bits are not used in the system, which is why he's not accounting for them. Now that we know that the following function should work (I think)

unsigned long get_human_check_id_rev(unsigned long id)
{

unsigned long rev1 = id / 10000;
rev1 = rev1 << 20;
unsigned long rev2 = (unsigned)(id & 0x01);
return rev1 + rev2;
}
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 8:38
professionalChris Losinger12-May-05 8:38 
GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 8:51
Tom Archer12-May-05 8:51 
GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 9:12
Tom Archer12-May-05 9:12 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 10:48
professionalChris Losinger12-May-05 10:48 
GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 10:56
Tom Archer12-May-05 10:56 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 11:11
professionalChris Losinger12-May-05 11:11 
GeneralRe: Need help with reversing an algorithm Pin
Tom Archer12-May-05 11:16
Tom Archer12-May-05 11: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.