Click here to Skip to main content
15,920,576 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC SDI Status Text Pin
Philip Patrick31-Mar-02 10:52
professionalPhilip Patrick31-Mar-02 10:52 
GeneralpcAnywhere OLE & VC++ 6.0 & C2065 Pin
30-Mar-02 5:53
suss30-Mar-02 5:53 
GeneralModifying Menus with MDI and Multiple Views Pin
Eldon Zacek30-Mar-02 5:09
Eldon Zacek30-Mar-02 5:09 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Mazdak30-Mar-02 6:26
Mazdak30-Mar-02 6:26 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Eldon Zacek30-Mar-02 7:46
Eldon Zacek30-Mar-02 7:46 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Mazdak30-Mar-02 7:57
Mazdak30-Mar-02 7:57 
GeneralRe: Modifying Menus with MDI and Multiple Views Pin
Eldon Zacek30-Mar-02 11:01
Eldon Zacek30-Mar-02 11:01 
Generalhelp with self-checking executable (CRC) Pin
SeNs30-Mar-02 4:15
SeNs30-Mar-02 4:15 
I am trying to make a win32 PE program perform
a CRC check on itself when executed, and quit
if the check fails.

I know how to implement a CRC check, but how should
I make the program read the bytes of its own executable?

Is it possible to just open the exe using ReadFile or will this cause an error?

Also, the program is non-MFC, so I require a solution that
does not make use of MFC.

Any help appreciated!

Thanks.


GeneralRe: help with self-checking executable (CRC) Pin
Todd Smith30-Mar-02 4:21
Todd Smith30-Mar-02 4:21 
GeneralRe: help with self-checking executable (CRC) Pin
SeNs30-Mar-02 4:38
SeNs30-Mar-02 4:38 
GeneralRe: help with self-checking executable (CRC) Pin
Neville Franks31-Mar-02 10:25
Neville Franks31-Mar-02 10:25 
GeneralFiring Events in multithreaded OCX Pin
Tili30-Mar-02 0:41
Tili30-Mar-02 0:41 
GeneralRe: Firing Events in multithreaded OCX Pin
Tim Smith30-Mar-02 4:27
Tim Smith30-Mar-02 4:27 
GeneralRe: Firing Events in multithreaded OCX Pin
Tili30-Mar-02 7:35
Tili30-Mar-02 7:35 
GeneralRe: Firing Events in multithreaded OCX Pin
Todd Smith30-Mar-02 5:12
Todd Smith30-Mar-02 5:12 
GeneralRe: Firing Events in multithreaded OCX Pin
Tili30-Mar-02 7:44
Tili30-Mar-02 7:44 
GeneralRe: Firing Events in multithreaded OCX Pin
Giles31-Mar-02 10:59
Giles31-Mar-02 10:59 
GeneralRe: Firing Events in multithreaded OCX Pin
Giles30-Mar-02 8:48
Giles30-Mar-02 8:48 
GeneralRe: Firing Events in multithreaded OCX Pin
soptest30-Mar-02 8:53
soptest30-Mar-02 8:53 
GeneralRe: Firing Events in multithreaded OCX Pin
Tili30-Mar-02 9:00
Tili30-Mar-02 9:00 
GeneralRe: Firing Events in multithreaded OCX Pin
soptest30-Mar-02 9:10
soptest30-Mar-02 9:10 
GeneralRe: Firing Events in multithreaded OCX Pin
Tili30-Mar-02 9:17
Tili30-Mar-02 9:17 
GeneralRe: Firing Events in multithreaded OCX Pin
Tili30-Mar-02 9:32
Tili30-Mar-02 9:32 
GeneralRe: Firing Events in multithreaded OCX Pin
soptest30-Mar-02 10:00
soptest30-Mar-02 10:00 
Generalcreating a long filename Pin
Amit Dey30-Mar-02 0:13
Amit Dey30-Mar-02 0:13 

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.