Click here to Skip to main content
15,881,248 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Dialog box with changeable STATIC text Pin
Mark Salsbery3-Dec-07 10:08
Mark Salsbery3-Dec-07 10:08 
GeneralRe: Dialog box with changeable STATIC text Pin
RomTibi4-Dec-07 8:57
RomTibi4-Dec-07 8:57 
GeneralRe: Dialog box with changeable STATIC text Pin
Hamid_RT3-Dec-07 19:31
Hamid_RT3-Dec-07 19:31 
GeneralRe: Dialog box with changeable STATIC text Pin
RomTibi4-Dec-07 8:58
RomTibi4-Dec-07 8:58 
GeneralRe: Dialog box with changeable STATIC text Pin
Hamid_RT4-Dec-07 18:22
Hamid_RT4-Dec-07 18:22 
GeneralRe: Dialog box with changeable STATIC text Pin
Nelek4-Dec-07 21:23
protectorNelek4-Dec-07 21:23 
Questioncan be avoided dissasembly? Pin
RomTibi3-Dec-07 9:03
RomTibi3-Dec-07 9:03 
AnswerRe: can be avoided dissasembly? Pin
Mike Dimmick3-Dec-07 14:14
Mike Dimmick3-Dec-07 14:14 
No. A programmer with sufficient skill, time and effort can always disassemble your application and understand it. I've done it myself with a vendor's library for controlling their hardware, which had a race condition in - by decompiling their (native code) library I was able to understand the base API that had been used to control the hardware and bypass the buggy library.

The main thing that's difficult is keeping track of what information is stored where - particularly a problem with a large number of processor registers, where a given variable might at any time be stored in one or more registers and stack locations - and in reconstructing the control structure of the program. Native assembly languages rarely directly implement loops, switch statements or even if/else statements, instead only having controlled jumps. Sometimes you might get an explicit comparison statement but often the jump is controlled only through the flags set by some other operation, so you need to know exactly how the flags are manipulated by all the instructions.

The code I was working with was coded for Pocket PC using the ARM instruction set, which is a little easier due to conditional execution - some small if/else statements are implemented directly by conditioning the instructions - and that setting the condition flags is not automatic, you have to ask for it to be done, making conditional operations not using the CMP instruction easier to spot. x86 is a fair bit harder.

You may find Wikipedia's article on decompilers[^] interesting.





DoEvents: Generating unexpected recursion since 1991


GeneralRe: can be avoided dissasembly? Pin
RomTibi4-Dec-07 8:59
RomTibi4-Dec-07 8:59 
Questioncan be avoided memory dump? Pin
RomTibi3-Dec-07 8:45
RomTibi3-Dec-07 8:45 
AnswerRe: can be avoided memory dump? Pin
David Crow3-Dec-07 10:31
David Crow3-Dec-07 10:31 
GeneralRe: can be avoided memory dump? Pin
RomTibi4-Dec-07 9:00
RomTibi4-Dec-07 9:00 
AnswerRe: can be avoided memory dump? Pin
Hamid_RT10-Apr-08 7:22
Hamid_RT10-Apr-08 7:22 
QuestionCListCtrl, view type is ICON, how to eliminate the text Pin
followait2-Dec-07 0:51
followait2-Dec-07 0:51 
QuestionGetThumbnailImage, and show it in CListCtrl Pin
followait2-Dec-07 0:27
followait2-Dec-07 0:27 
AnswerRe: GetThumbnailImage, and show it in CListCtrl Pin
followait2-Dec-07 0:47
followait2-Dec-07 0:47 
QuestionHow to add a class to a MFC Application Pin
vjasai2-Dec-07 0:26
vjasai2-Dec-07 0:26 
GeneralRe: How to add a class to a MFC Application Pin
Hamid_RT3-Dec-07 19:24
Hamid_RT3-Dec-07 19:24 
QuestionHigh frequency windows Timing - Parallel Port Pin
szymon791-Dec-07 23:48
szymon791-Dec-07 23:48 
AnswerRe: High frequency windows Timing - Parallel Port Pin
Cedric Moonen2-Dec-07 1:35
Cedric Moonen2-Dec-07 1:35 
GeneralRe: High frequency windows Timing - Parallel Port Pin
szymon792-Dec-07 1:59
szymon792-Dec-07 1:59 
Questionconvert bmp to pdf ? Pin
keyto1-Dec-07 22:31
keyto1-Dec-07 22:31 
GeneralRe: convert bmp to pdf ? Pin
bob169723-Dec-07 17:08
bob169723-Dec-07 17:08 
QuestionFree C++ CD Burner Pin
Hadi Dayvary1-Dec-07 20:33
professionalHadi Dayvary1-Dec-07 20:33 
GeneralRe: Free C++ CD Burner Pin
Rajesh R Subramanian4-Jan-08 6:44
professionalRajesh R Subramanian4-Jan-08 6:44 

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.