Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: opening a file in defalut application Pin
toxcct12-Jun-06 21:33
toxcct12-Jun-06 21:33 
GeneralRe: opening a file in defalut application [modified] Pin
Hamid_RT12-Jun-06 21:54
Hamid_RT12-Jun-06 21:54 
GeneralRe: opening a file in defalut application Pin
toxcct12-Jun-06 21:59
toxcct12-Jun-06 21:59 
QuestionPlease help! add new line in mid of text file Pin
rutr12-Jun-06 2:59
rutr12-Jun-06 2:59 
AnswerRe: Please help! add new line in mid of text file Pin
Cedric Moonen12-Jun-06 3:09
Cedric Moonen12-Jun-06 3:09 
AnswerRe: Please help! add new line in mid of text file Pin
_AnsHUMAN_ 12-Jun-06 3:21
_AnsHUMAN_ 12-Jun-06 3:21 
Questionbreak when variable changes? Pin
ardikus12-Jun-06 2:59
ardikus12-Jun-06 2:59 
AnswerRe: break when variable changes? Pin
Obliterator12-Jun-06 4:19
Obliterator12-Jun-06 4:19 
Look up 'data breakpoints' in the help.

Data breakpoints allow you to break execution when the value stored at a specified memory location changes.

You can set data breakpoints in break mode only.

Addresses of variables change from one debugging session to the next. For this reason, data breakpoints are automatically disabled at the end of each debugging session. If you attach a data breakpoint to a local variable, the data breakpoint remains enabled when the function ends. The memory address it is attached to no longer has the same meaning, however, so the results of such a breakpoint are unpredictable. If you set a data breakpoint on a local variable, it is best to remove or disable it before the function ends.

Visual Studio currently supports setting four data breakpoints per project.

How to Set a Memory Change Breakpoint
1. From the Debug Menu, choose New Breakpoint and click New Data Breakpoint
—or—
in the Breakpoints window Menu, click the New dropdown and choose New Data Breakpoint.
The New Breakpoint dialog box appears.
2.In the Address box, enter a memory address or expression that evaluates to a memory address. For example, &foo to break when the contents of variable foo change.
3.In the Byte Count box, enter the number of bytes you want the debugger to watch. For example, if you enter 4, the debugger will watch the four bytes starting at &foo and break if any of those bytes change value.
4.Click OK.




--

The Obliterator
AnswerRe: break when variable changes? Pin
Zac Howland12-Jun-06 5:36
Zac Howland12-Jun-06 5:36 
Questionwhy page based I/O can improve performance? Pin
George_George12-Jun-06 2:40
George_George12-Jun-06 2:40 
AnswerRe: why page based I/O can improve performance? Pin
Michael Dunn12-Jun-06 6:54
sitebuilderMichael Dunn12-Jun-06 6:54 
GeneralRe: why page based I/O can improve performance? Pin
George_George13-Jun-06 0:16
George_George13-Jun-06 0:16 
AnswerRe: why page based I/O can improve performance? Pin
Joe Woodbury12-Jun-06 10:41
professionalJoe Woodbury12-Jun-06 10:41 
GeneralRe: why page based I/O can improve performance? Pin
George_George13-Jun-06 0:18
George_George13-Jun-06 0:18 
GeneralRe: why page based I/O can improve performance? Pin
Joe Woodbury13-Jun-06 9:13
professionalJoe Woodbury13-Jun-06 9:13 
GeneralRe: why page based I/O can improve performance? Pin
George_George13-Jun-06 16:36
George_George13-Jun-06 16:36 
QuestionProperty Sheets and Pages Pin
si_6912-Jun-06 1:34
si_6912-Jun-06 1:34 
AnswerRe: Property Sheets and Pages Pin
ThatsAlok12-Jun-06 1:53
ThatsAlok12-Jun-06 1:53 
Questionload a bitmap from bmp file at run time Pin
anilksingh12-Jun-06 1:31
anilksingh12-Jun-06 1:31 
AnswerRe: load a bitmap from bmp file at run time Pin
Viorel.12-Jun-06 1:41
Viorel.12-Jun-06 1:41 
GeneralRe: load a bitmap from bmp file at run time Pin
ThatsAlok12-Jun-06 1:52
ThatsAlok12-Jun-06 1:52 
GeneralRe: load a bitmap from bmp file at run time Pin
Viorel.12-Jun-06 2:06
Viorel.12-Jun-06 2:06 
GeneralRe: load a bitmap from bmp file at run time Pin
Hamid_RT12-Jun-06 1:58
Hamid_RT12-Jun-06 1:58 
GeneralRe: load a bitmap from bmp file at run time Pin
Viorel.12-Jun-06 2:06
Viorel.12-Jun-06 2:06 
GeneralRe: load a bitmap from bmp file at run time Pin
ThatsAlok12-Jun-06 2:09
ThatsAlok12-Jun-06 2:09 

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.