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

C / C++ / MFC

 
AnswerRe: How to keep track when a dialog is invoked second time.? Pin
ThatsAlok19-Oct-12 2:03
ThatsAlok19-Oct-12 2:03 
AnswerRe: How to keep track when a dialog is invoked second time.? Pin
Sajeesh Payolam19-Oct-12 20:51
Sajeesh Payolam19-Oct-12 20:51 
QuestionHow to use a png or jpg in visual studio? Pin
DanYELL18-Oct-12 16:12
DanYELL18-Oct-12 16:12 
AnswerRe: How to use a png or jpg in visual studio? Pin
Santhosh G_18-Oct-12 20:17
Santhosh G_18-Oct-12 20:17 
Question[Solved] How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Skippums18-Oct-12 12:38
Skippums18-Oct-12 12:38 
AnswerRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Richard MacCutchan18-Oct-12 23:18
mveRichard MacCutchan18-Oct-12 23:18 
GeneralRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Skippums19-Oct-12 7:07
Skippums19-Oct-12 7:07 
GeneralRe: How to Call an x86 3+ Parameter Method Using __fastcall Calling Conentions Pin
Richard MacCutchan19-Oct-12 22:23
mveRichard MacCutchan19-Oct-12 22:23 
If you create a dummy function in C with the __fastcall attribute and compile it with the /FAs compiler options, you can see how the C compiler generates the code for such a call. If you ignore the fact that the C generated code moves the parameters around quite a bit, you can see that it does not pop the arguments off the stack, but addresses them directly by their offset relative to the stack pointer. It then clears the pushed arguments by using the ret N return command.
One of these days I'm going to think of a really clever signature.

QuestionUsing Make - text books / references wanted Pin
Vaclav_18-Oct-12 4:47
Vaclav_18-Oct-12 4:47 
AnswerRe: Using Make - text books / references wanted Pin
Richard MacCutchan18-Oct-12 7:10
mveRichard MacCutchan18-Oct-12 7:10 
GeneralRe: Using Make - text books / references wanted Pin
Vaclav_18-Oct-12 7:31
Vaclav_18-Oct-12 7:31 
GeneralRe: Using Make - text books / references wanted Pin
Chris Meech18-Oct-12 8:03
Chris Meech18-Oct-12 8:03 
GeneralRe: Using Make - text books / references wanted Pin
Richard MacCutchan18-Oct-12 23:07
mveRichard MacCutchan18-Oct-12 23:07 
GeneralRe: Using Make - text books / references wanted Pin
Richard MacCutchan18-Oct-12 23:00
mveRichard MacCutchan18-Oct-12 23:00 
AnswerRe: Using Make - text books / references wanted Pin
jschell18-Oct-12 9:31
jschell18-Oct-12 9:31 
GeneralRe: Using Make - text books / references wanted Pin
Vaclav_19-Oct-12 5:53
Vaclav_19-Oct-12 5:53 
QuestionCPrintDialog doesn't see the printer Pin
blackbolek18-Oct-12 3:24
blackbolek18-Oct-12 3:24 
QuestionRe: CPrintDialog doesn't see the printer Pin
David Crow18-Oct-12 7:28
David Crow18-Oct-12 7:28 
AnswerRe: CPrintDialog doesn't see the printer Pin
blackbolek18-Oct-12 22:02
blackbolek18-Oct-12 22:02 
AnswerRe: CPrintDialog doesn't see the printer Pin
Brandon-X1200027-Oct-12 11:34
Brandon-X1200027-Oct-12 11:34 
GeneralRe: CPrintDialog doesn't see the printer Pin
blackbolek29-Oct-12 5:58
blackbolek29-Oct-12 5:58 
QuestionOpening a VC++ project into Adobe Flash Builder Pin
002comp18-Oct-12 3:00
002comp18-Oct-12 3:00 
AnswerRe: Opening a VC++ project into Adobe Flash Builder Pin
Richard MacCutchan18-Oct-12 3:28
mveRichard MacCutchan18-Oct-12 3:28 
QuestionRe: Opening a VC++ project into Adobe Flash Builder Pin
Chris Meech18-Oct-12 8:06
Chris Meech18-Oct-12 8:06 
AnswerRe: Opening a VC++ project into Adobe Flash Builder Pin
002comp18-Oct-12 18:05
002comp18-Oct-12 18:05 

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.