Click here to Skip to main content
15,892,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to set values in CPageSetupDialog? Pin
Le@rner17-Mar-13 22:41
Le@rner17-Mar-13 22:41 
GeneralRe: How to set values in CPageSetupDialog? Pin
Richard MacCutchan17-Mar-13 23:48
mveRichard MacCutchan17-Mar-13 23:48 
AnswerRe: How to set values in CPageSetupDialog? Pin
Coder Block18-Mar-13 2:55
Coder Block18-Mar-13 2:55 
GeneralRe: How to set values in CPageSetupDialog? Pin
Le@rner19-Mar-13 2:45
Le@rner19-Mar-13 2:45 
AnswerRe: How to set values in CPageSetupDialog? Pin
David Crow19-Mar-13 3:05
David Crow19-Mar-13 3:05 
GeneralRe: How to set values in CPageSetupDialog? Pin
Coder Block24-Mar-13 23:10
Coder Block24-Mar-13 23:10 
QuestionLocating a function address with the debugger Pin
Richard Andrew x6417-Mar-13 11:37
professionalRichard Andrew x6417-Mar-13 11:37 
AnswerRe: Locating a function address with the debugger Pin
pasztorpisti17-Mar-13 14:28
pasztorpisti17-Mar-13 14:28 
GeneralRe: Locating a function address with the debugger Pin
Richard Andrew x6417-Mar-13 16:47
professionalRichard Andrew x6417-Mar-13 16:47 
AnswerRe: Locating a function address with the debugger Pin
Stephen Hewitt17-Mar-13 16:42
Stephen Hewitt17-Mar-13 16:42 
GeneralRe: Locating a function address with the debugger Pin
Richard Andrew x6417-Mar-13 16:49
professionalRichard Andrew x6417-Mar-13 16:49 
GeneralRe: Locating a function address with the debugger Pin
Stephen Hewitt17-Mar-13 21:31
Stephen Hewitt17-Mar-13 21:31 
GeneralRe: Locating a function address with the debugger Pin
Stephen Hewitt18-Mar-13 16:06
Stephen Hewitt18-Mar-13 16:06 
AnswerRe: Locating a function address with the debugger Pin
Stephen Hewitt18-Mar-13 16:10
Stephen Hewitt18-Mar-13 16:10 
GeneralRe: Locating a function address with the debugger Pin
Richard Andrew x6419-Mar-13 4:39
professionalRichard Andrew x6419-Mar-13 4:39 
AnswerRe: Locating a function address with the debugger Pin
Erudite_Eric19-Mar-13 2:37
Erudite_Eric19-Mar-13 2:37 
Take a look at Microsofts public symbol server. You can download symbols for all their code from it, and set breakpoints and so on.

You can speciyf these sylbols in VS and when it tries to load downloads them automatically. I use windbg though so I cant help you much more than that, and I work in the kernel, but if you choose to do the same this is a usefull command:

bp nt!ntcreatefile "dt nt!_UNICODE_STRING poi(poi(@esp+0xc)+0x8)"

It sets a break point on createfile (this is what CreateFile maps to in the kernel) and displays the file being opened (This is 32 bit, if it was 64 the parameter would be in a register not on the stack).

SO any user mode acces to creatfile you can break on and have a wander arond the stack and see whats doing what.


--edit--

Or as the poster above says, set the bp in the usermode dll.

I can deffinitely recomend using windbg, it is a hell of a debugger, everyone in microsoft uses it, VS is a toy in comparison.
==============================

Nothing to say.

GeneralRe: Locating a function address with the debugger Pin
Richard Andrew x6419-Mar-13 4:41
professionalRichard Andrew x6419-Mar-13 4:41 
GeneralRe: Locating a function address with the debugger Pin
Erudite_Eric20-Mar-13 3:29
Erudite_Eric20-Mar-13 3:29 
GeneralRe: Locating a function address with the debugger Pin
Stephen Hewitt19-Mar-13 5:17
Stephen Hewitt19-Mar-13 5:17 
GeneralRe: Locating a function address with the debugger Pin
Erudite_Eric20-Mar-13 3:30
Erudite_Eric20-Mar-13 3:30 
QuestionFailed to compile chrome Pin
yu-jian16-Mar-13 6:27
yu-jian16-Mar-13 6:27 
AnswerRe: Failed to compile chrome Pin
Richard MacCutchan16-Mar-13 6:34
mveRichard MacCutchan16-Mar-13 6:34 
QuestionCTreeCtrl, CDockingPane, and mouse events Pin
Rob Bryce15-Mar-13 20:33
Rob Bryce15-Mar-13 20:33 
AnswerRe: CTreeCtrl, CDockingPane, and mouse events Pin
Eugen Podsypalnikov19-Mar-13 0:23
Eugen Podsypalnikov19-Mar-13 0:23 
AnswerRe: CTreeCtrl, CDockingPane, and mouse events Pin
Rob Bryce19-Mar-13 17:08
Rob Bryce19-Mar-13 17:08 

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.