Click here to Skip to main content
16,004,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Windows Theme/Style Preview Pin
Naveen5-Oct-06 2:11
Naveen5-Oct-06 2:11 
GeneralRe: Windows Theme/Style Preview Pin
Naveen5-Oct-06 2:16
Naveen5-Oct-06 2:16 
Questioncode for activating a breakpoint at runtime Pin
manustone5-Oct-06 0:59
manustone5-Oct-06 0:59 
AnswerRe: code for activating a breakpoint at runtime Pin
Link20065-Oct-06 1:12
Link20065-Oct-06 1:12 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:51
manustone5-Oct-06 2:51 
AnswerRe: code for activating a breakpoint at runtime Pin
Rajesh R Subramanian5-Oct-06 1:23
professionalRajesh R Subramanian5-Oct-06 1:23 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:54
manustone5-Oct-06 2:54 
GeneralRe: code for activating a breakpoint at runtime Pin
Rajesh R Subramanian5-Oct-06 20:57
professionalRajesh R Subramanian5-Oct-06 20:57 
manustone wrote:
_asm


Its not _asm, it is __asm.

manustone wrote:
is this coding directly the assembly or what?

You can use the __asm keyword to invoke the inline assembler.

If you want to enable a break point conditionally, then you can use this assembler instruction the following way.

if(iBreak == 1)//Condition
{
   __asm int 3;//enable break point
}
else
{
...
}
</code>


Hope this helps. Please note that you must be in debug mode, to have debugging info available.


manustone wrote:
some good paper to learn it

Here[^]

Nobody can give you wiser advice than yourself. - Cicero

AnswerRe: code for activating a breakpoint at runtime Pin
Naveen5-Oct-06 1:25
Naveen5-Oct-06 1:25 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:57
manustone5-Oct-06 2:57 
GeneralRe: code for activating a breakpoint at runtime Pin
Naveen5-Oct-06 3:37
Naveen5-Oct-06 3:37 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 4:01
manustone5-Oct-06 4:01 
AnswerRe: code for activating a breakpoint at runtime Pin
Link20065-Oct-06 2:00
Link20065-Oct-06 2:00 
GeneralRe: code for activating a breakpoint at runtime Pin
manustone5-Oct-06 2:48
manustone5-Oct-06 2:48 
GeneralRe: code for activating a breakpoint at runtime Pin
Niklas L5-Oct-06 2:51
Niklas L5-Oct-06 2:51 
QuestionCompilation with 2 byte chars in file path Pin
Manish K. Agarwal5-Oct-06 0:16
Manish K. Agarwal5-Oct-06 0:16 
AnswerRe: Compilation with 2 byte chars in file path Pin
Waldermort5-Oct-06 0:48
Waldermort5-Oct-06 0:48 
GeneralRe: Compilation with 2 byte chars in file path Pin
Jörgen Sigvardsson5-Oct-06 13:57
Jörgen Sigvardsson5-Oct-06 13:57 
AnswerRe: Compilation with 2 byte chars in file path Pin
Mike Dimmick5-Oct-06 1:10
Mike Dimmick5-Oct-06 1:10 
GeneralRe: Compilation with 2 byte chars in file path Pin
Waldermort5-Oct-06 1:31
Waldermort5-Oct-06 1:31 
QuestionHow can I change the current working directory? Pin
chaoxin4-Oct-06 23:33
chaoxin4-Oct-06 23:33 
AnswerRe: How can I change the current working directory? Pin
Mohammad A Gdeisat4-Oct-06 23:40
Mohammad A Gdeisat4-Oct-06 23:40 
AnswerRe: How can I change the current working directory? Pin
Hamid_RT4-Oct-06 23:47
Hamid_RT4-Oct-06 23:47 
GeneralRe: How can I change the current working directory? Pin
chaoxin4-Oct-06 23:50
chaoxin4-Oct-06 23:50 
AnswerRe: How can I change the current working directory? Pin
Mike Dimmick5-Oct-06 1:11
Mike Dimmick5-Oct-06 1:11 

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.