Click here to Skip to main content
15,924,317 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCWebBrowser2::Navigate() Pin
includeh109-Nov-06 16:27
includeh109-Nov-06 16:27 
AnswerRe: CWebBrowser2::Navigate() Pin
dharani9-Nov-06 17:38
dharani9-Nov-06 17:38 
AnswerRe: CWebBrowser2::Navigate() Pin
Shivaji Patil9-Nov-06 20:10
professionalShivaji Patil9-Nov-06 20:10 
Questionwhat's the CALLBACK Pin
Shi Zhu9-Nov-06 16:24
Shi Zhu9-Nov-06 16:24 
AnswerRe: what's the CALLBACK Pin
Christian Graus9-Nov-06 16:26
protectorChristian Graus9-Nov-06 16:26 
AnswerRe: what's the CALLBACK Pin
Bram van Kampen9-Nov-06 17:24
Bram van Kampen9-Nov-06 17:24 
AnswerRe: what's the CALLBACK Pin
Hamid_RT9-Nov-06 18:26
Hamid_RT9-Nov-06 18:26 
QuestionStack Pointer Bounds Pin
Bram van Kampen9-Nov-06 16:23
Bram van Kampen9-Nov-06 16:23 
Does anyone know how to find out the bounds of esp in a running program in a System way. At the moment I use something like the following for the Upper Bound:-

///////////////////////////////

static DWORD TOP_ESP=0;

void ChckStack(void){
int CharArr[4092];
__asm mov TOP_ESP,esp;
ChckStack();
}

int GetStackTop(){
TOP_ESP=0;
try{
ChckStack();
}
catch(...){
return TOP_ESP & 0x00004000;
}
return 0; //Never Happens Throw a bone to Bill Gates
}

////////////////////////////////////////////////////

This will give me the TOS! It relies on pushing the stack until it trashes,
and assumes that it is on Page Boundaries. Any more'System' ideas, or Any ideas to find the base of the stack?

regards


LateNightsInNewry

AnswerRe: Stack Pointer Bounds Pin
Stephen Hewitt9-Nov-06 16:29
Stephen Hewitt9-Nov-06 16:29 
GeneralRe: Stack Pointer Bounds Pin
Bram van Kampen9-Nov-06 17:20
Bram van Kampen9-Nov-06 17:20 
GeneralRe: Stack Pointer Bounds Pin
Stephen Hewitt9-Nov-06 17:53
Stephen Hewitt9-Nov-06 17:53 
GeneralRe: Stack Pointer Bounds Pin
Mark Salsbery10-Nov-06 5:14
Mark Salsbery10-Nov-06 5:14 
GeneralRe: Stack Pointer Bounds Pin
Bram van Kampen10-Nov-06 14:34
Bram van Kampen10-Nov-06 14:34 
QuestionSubclassing Etc Pin
Bram van Kampen9-Nov-06 15:44
Bram van Kampen9-Nov-06 15:44 
Questionto make video Pin
selectgood9-Nov-06 15:21
selectgood9-Nov-06 15:21 
AnswerRe: to make video Pin
Christian Graus9-Nov-06 16:12
protectorChristian Graus9-Nov-06 16:12 
QuestionRegistry and Shortcuts Pin
locoone9-Nov-06 15:17
locoone9-Nov-06 15:17 
AnswerRe: Registry and Shortcuts Pin
Mark Salsbery9-Nov-06 15:39
Mark Salsbery9-Nov-06 15:39 
Questionstring functions in C Pin
thathvamsi9-Nov-06 14:43
thathvamsi9-Nov-06 14:43 
AnswerRe: string functions in C Pin
Christian Graus9-Nov-06 14:52
protectorChristian Graus9-Nov-06 14:52 
GeneralRe: string functions in C Pin
thathvamsi9-Nov-06 15:06
thathvamsi9-Nov-06 15:06 
AnswerRe: string functions in C Pin
George L. Jackson9-Nov-06 15:07
George L. Jackson9-Nov-06 15:07 
GeneralRe: string functions in C Pin
thathvamsi9-Nov-06 22:08
thathvamsi9-Nov-06 22:08 
AnswerRe: string functions in C Pin
Bram van Kampen9-Nov-06 16:55
Bram van Kampen9-Nov-06 16:55 
QuestionRe: string functions in C Pin
David Crow10-Nov-06 3:59
David Crow10-Nov-06 3:59 

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.