Click here to Skip to main content
15,867,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
QuestionDrivers to access parallel port in c using windows xp or 7 ?? Pin
Harshmeet Singh15-Mar-13 8:36
Harshmeet Singh15-Mar-13 8:36 
QuestionRe: Drivers to access parallel port in c using windows xp or 7 ?? Pin
David Crow15-Mar-13 9:54
David Crow15-Mar-13 9:54 
AnswerRe: Drivers to access parallel port in c using windows xp or 7 ?? Pin
Richard MacCutchan15-Mar-13 23:08
mveRichard MacCutchan15-Mar-13 23:08 
AnswerRe: Drivers to access parallel port in c using windows xp or 7 ?? Pin
Erudite_Eric17-Mar-13 1:18
Erudite_Eric17-Mar-13 1:18 
AnswerRe: Drivers to access parallel port in c using windows xp or 7 ?? Pin
_Flaviu17-Mar-13 20:49
_Flaviu17-Mar-13 20:49 
QuestionC++ Code to call a Rest Based Web Service API Pin
raghunath sahoo15-Mar-13 7:56
raghunath sahoo15-Mar-13 7:56 
AnswerRe: C++ Code to call a Rest Based Web Service API Pin
Albert Holguin15-Mar-13 8:34
professionalAlbert Holguin15-Mar-13 8:34 
GeneralRe: C++ Code to call a Rest Based Web Service API Pin
raghunath sahoo15-Mar-13 8:55
raghunath sahoo15-Mar-13 8:55 

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.