Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hidden dialog from Dll Pin
Paul M Watt24-Jul-02 19:42
mentorPaul M Watt24-Jul-02 19:42 
GeneralEvent for CDialogBar Docking & Floating Pin
Dave Matrix24-Jul-02 19:21
Dave Matrix24-Jul-02 19:21 
GeneralGoing Crazy: Trying to inherit an interface from another dll Pin
doshin24-Jul-02 19:03
doshin24-Jul-02 19:03 
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
Paul M Watt24-Jul-02 19:24
mentorPaul M Watt24-Jul-02 19:24 
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
doshin24-Jul-02 19:32
doshin24-Jul-02 19:32 
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
Paul M Watt24-Jul-02 19:48
mentorPaul M Watt24-Jul-02 19:48 
GeneralRe: Going Crazy: Trying to inherit an interface from another dll Pin
Paul M Watt24-Jul-02 20:17
mentorPaul M Watt24-Jul-02 20:17 
GeneralAny ideas on how to.. Pin
Anonymous24-Jul-02 17:38
Anonymous24-Jul-02 17:38 
I've been thinking about it... And I cant figure it out. How would a program perform a md5 checksum on itself?

I need my program to do this. Wink | ;)

The problem is.... You can only calculate the checksum after its compiled.

so i have code like this....

BYTE bRealChecksum[16] = {0xA9, 0x1E, 0xA7, 0x63,
0x0A, 0xD5, 0x55, 0x1B,
0x26, 0x80, 0xB9, 0x71,
0x9C, 0x66, 0xCC, 0xEF};

Then I calculate the checksum, then compare it to the BYTE array above which holds the real checksum, and what the results of the checksum should be. If they are not equal, the file has been modified.

But now, how am I supposed to know the checksum, without compiling? Because I need to know what the checksum of the compiled file is going to be, before I compile it.

Anyone have any ideas?
GeneralRe: Any ideas on how to.. Pin
Scott H. Settlemier24-Jul-02 17:47
Scott H. Settlemier24-Jul-02 17:47 
GeneralRe: Any ideas on how to.. Pin
Anonymous24-Jul-02 18:15
Anonymous24-Jul-02 18:15 
GeneralRe: Any ideas on how to.. Pin
Daniel Lohmann24-Jul-02 22:44
Daniel Lohmann24-Jul-02 22:44 
GeneralRe: Any ideas on how to.. Pin
benjymous24-Jul-02 22:47
benjymous24-Jul-02 22:47 
GeneralHelp on multi-threading Pin
Abin24-Jul-02 17:14
Abin24-Jul-02 17:14 
GeneralRe: Help on multi-threading Pin
Scott H. Settlemier24-Jul-02 17:40
Scott H. Settlemier24-Jul-02 17:40 
GeneralRe: Help on multi-threading Pin
Abin24-Jul-02 17:43
Abin24-Jul-02 17:43 
GeneralRe: Help on multi-threading Pin
Scott H. Settlemier24-Jul-02 17:52
Scott H. Settlemier24-Jul-02 17:52 
GeneralRe: Help on multi-threading Pin
Abin24-Jul-02 18:15
Abin24-Jul-02 18:15 
GeneralRe: Help on multi-threading Pin
Peter Occil24-Jul-02 18:14
Peter Occil24-Jul-02 18:14 
GeneralRe: Help on multi-threading Pin
RichardWdy24-Jul-02 18:20
RichardWdy24-Jul-02 18:20 
GeneralRe: Help on multi-threading Pin
RichardWdy24-Jul-02 18:22
RichardWdy24-Jul-02 18:22 
GeneralRe: Help on multi-threading Pin
Tomasz Sowinski24-Jul-02 22:41
Tomasz Sowinski24-Jul-02 22:41 
Generalno response of .exe outside of visual studio Pin
pdarcy24-Jul-02 16:26
pdarcy24-Jul-02 16:26 
GeneralRe: no response of .exe outside of visual studio Pin
Paul M Watt24-Jul-02 19:30
mentorPaul M Watt24-Jul-02 19:30 
GeneralRe: no response of .exe outside of visual studio Pin
pdarcy25-Jul-02 2:26
pdarcy25-Jul-02 2:26 
QuestionHow to decode a tiff-fax file with horizontal ratio of 2:1? Pin
Hiusing24-Jul-02 14:56
Hiusing24-Jul-02 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.