Click here to Skip to main content
15,902,299 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Stack in VC Pin
Parthiban18-Apr-06 23:52
Parthiban18-Apr-06 23:52 
AnswerRe: Stack in VC Pin
ThatsAlok19-Apr-06 1:08
ThatsAlok19-Apr-06 1:08 
QuestionY-Axis Pin
RockyJames18-Apr-06 22:43
RockyJames18-Apr-06 22:43 
AnswerRe: Y-Axis Pin
kakan18-Apr-06 22:52
professionalkakan18-Apr-06 22:52 
GeneralRe: Y-Axis Pin
RockyJames18-Apr-06 22:56
RockyJames18-Apr-06 22:56 
AnswerRe: Y-Axis Pin
BadKarma18-Apr-06 23:23
BadKarma18-Apr-06 23:23 
QuestionDrag and Drop Pin
Anil_vvs18-Apr-06 22:36
Anil_vvs18-Apr-06 22:36 
Question_CONTEXT struct in winnt.h with x64? Pin
Burtraskkutaren18-Apr-06 22:19
Burtraskkutaren18-Apr-06 22:19 
Hi all

Still working with my 64-bit researching and conversions, now I've found myself stucked on an error where the _CONTEXT struct in Winnt.h is involved. The following two fields are only long in that struct, but as you probably know a pointer in x64 is 64-bit and not 32... So, I'm afraid of that the previos cast from Context.Eip and Context.Ebp to a pointer would not work so very well...
Eip
Ebp
So, how to workaround this problem? I've tried to find a simple fix but in that research I find myself more and more convinced that it isn't so easy. I'm pretty convinced now that there is some other way to handle the information in that struct in x64, but how?

I'm programming in VS2005 but the code is supposed to be platform independant.

TIA
AnswerRe: _CONTEXT struct in winnt.h with x64? Pin
Mike Dimmick19-Apr-06 6:04
Mike Dimmick19-Apr-06 6:04 
GeneralRe: _CONTEXT struct in winnt.h with x64? Pin
Burtraskkutaren20-Apr-06 4:06
Burtraskkutaren20-Apr-06 4:06 
QuestionPutcollect() error Pin
sting_lee18-Apr-06 22:06
sting_lee18-Apr-06 22:06 
AnswerRe: Putcollect() error Pin
Stephen Hewitt18-Apr-06 22:11
Stephen Hewitt18-Apr-06 22:11 
GeneralRe: Putcollect() error Pin
sting_lee18-Apr-06 22:32
sting_lee18-Apr-06 22:32 
QuestionBinary inputs again... Pin
CPP91118-Apr-06 21:47
CPP91118-Apr-06 21:47 
AnswerRe: Binary inputs again... Pin
toxcct18-Apr-06 22:00
toxcct18-Apr-06 22:00 
GeneralRe: Binary inputs again... Pin
Cedric Moonen18-Apr-06 22:02
Cedric Moonen18-Apr-06 22:02 
AnswerRe: Binary inputs again... Pin
Cedric Moonen18-Apr-06 22:00
Cedric Moonen18-Apr-06 22:00 
AnswerRe: Binary inputs again... Pin
Stephen Hewitt18-Apr-06 22:00
Stephen Hewitt18-Apr-06 22:00 
AnswerRe: Binary inputs again... Pin
BadKarma18-Apr-06 22:02
BadKarma18-Apr-06 22:02 
GeneralRe: Binary inputs again... Pin
Cedric Moonen18-Apr-06 22:08
Cedric Moonen18-Apr-06 22:08 
JokeRe: Binary inputs again... Pin
BadKarma18-Apr-06 22:13
BadKarma18-Apr-06 22:13 
GeneralRe: Binary inputs again... Pin
Cedric Moonen18-Apr-06 22:15
Cedric Moonen18-Apr-06 22:15 
GeneralRe: Binary inputs again... Pin
Stephen Hewitt18-Apr-06 22:17
Stephen Hewitt18-Apr-06 22:17 
QuestionAccess to control problem Pin
Aqueel18-Apr-06 21:28
Aqueel18-Apr-06 21:28 
AnswerRe: Access to control problem Pin
Parthiban18-Apr-06 21:43
Parthiban18-Apr-06 21:43 

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.