Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Need help with reversing an algorithm Pin
Chris Losinger12-May-05 13:18
professionalChris Losinger12-May-05 13:18 
GeneralRe: Need help with reversing an algorithm Pin
Anonymous12-May-05 12:25
Anonymous12-May-05 12:25 
GeneralRe: Need help with reversing an algorithm Pin
Priyank Bolia12-May-05 7:50
Priyank Bolia12-May-05 7:50 
GeneralRe: Need help with reversing an algorithm Pin
Kuniva12-May-05 7:54
Kuniva12-May-05 7:54 
GeneralRe: Need help with reversing an algorithm Pin
Anonymous12-May-05 7:55
Anonymous12-May-05 7:55 
GeneralRe: Need help with reversing an algorithm Pin
Alexander M.,13-May-05 1:51
Alexander M.,13-May-05 1:51 
GeneralProblems using the new Platform SDK Pin
Kharfax12-May-05 7:18
Kharfax12-May-05 7:18 
GeneralRe: Problems using the new Platform SDK Pin
Alexander M.,12-May-05 7:25
Alexander M.,12-May-05 7:25 
GeneralRe: Problems using the new Platform SDK Pin
Kharfax12-May-05 7:33
Kharfax12-May-05 7:33 
GeneralRe: Problems using the new Platform SDK Pin
Kharfax12-May-05 7:43
Kharfax12-May-05 7:43 

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.