Click here to Skip to main content
15,920,217 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: new operator Pin
Emilio Garavaglia28-Aug-05 21:01
Emilio Garavaglia28-Aug-05 21:01 
QuestionDate receiver Pin
Ali Tavakol26-Aug-05 3:27
Ali Tavakol26-Aug-05 3:27 
AnswerRe: Date receiver Pin
David Crow26-Aug-05 3:30
David Crow26-Aug-05 3:30 
GeneralRe: Date receiver Pin
Ali Tavakol26-Aug-05 3:41
Ali Tavakol26-Aug-05 3:41 
GeneralRe: Date receiver Pin
David Crow26-Aug-05 3:55
David Crow26-Aug-05 3:55 
GeneralRe: Date receiver Pin
Maximilien26-Aug-05 4:13
Maximilien26-Aug-05 4:13 
Questioncaling conventions Pin
Member 222581226-Aug-05 1:29
Member 222581226-Aug-05 1:29 
AnswerRe: caling conventions Pin
Cedric Moonen26-Aug-05 1:55
Cedric Moonen26-Aug-05 1:55 
The typedef of your function is correct but it doesn't not use the same calling convention as the one in your dll. Calling convention mean which part will call the stack after the function has been called: either the caller (your prog) or the callee (the function inside your dll). Here C++ doesn't use the same calling convention as pascal. You should change your typedef in:

typedef BOOL __stdcall(*PROC2)(int,int,int,int,int,int); <br />


(the syntax may be a little bit wrong because I never remember correctly how to typedef functions prototypes Poke tongue | ;-P ).

Like that you specifies that the function will use the standard calling convention.
GeneralRe: caling conventions Pin
toxcct26-Aug-05 2:26
toxcct26-Aug-05 2:26 
GeneralRe: caling conventions Pin
Cedric Moonen26-Aug-05 2:36
Cedric Moonen26-Aug-05 2:36 
GeneralRe: caling conventions Pin
Member 222581226-Aug-05 3:00
Member 222581226-Aug-05 3:00 
GeneralRe: caling conventions Pin
MailtoGops26-Aug-05 3:19
MailtoGops26-Aug-05 3:19 
GeneralRe: caling conventions Pin
David Crow26-Aug-05 3:22
David Crow26-Aug-05 3:22 
QuestionHow to get HWND of my application window ? Pin
Amarelia26-Aug-05 1:08
Amarelia26-Aug-05 1:08 
AnswerRe: How to get HWND of my application window ? Pin
Jack Puppy26-Aug-05 1:41
Jack Puppy26-Aug-05 1:41 
AnswerRe: How to get HWND of my application window ? Pin
MailtoGops26-Aug-05 3:28
MailtoGops26-Aug-05 3:28 
QuestionCmdUpdateUI Pin
Joel Holdsworth26-Aug-05 1:05
Joel Holdsworth26-Aug-05 1:05 
AnswerRe: CmdUpdateUI Pin
Roger Allen26-Aug-05 2:45
Roger Allen26-Aug-05 2:45 
AnswerRe: CmdUpdateUI Pin
David Crow26-Aug-05 3:13
David Crow26-Aug-05 3:13 
GeneralRe: CmdUpdateUI Pin
Joel Holdsworth26-Aug-05 4:39
Joel Holdsworth26-Aug-05 4:39 
GeneralRe: CmdUpdateUI Pin
David Crow26-Aug-05 4:48
David Crow26-Aug-05 4:48 
GeneralRe: CmdUpdateUI Pin
Joel Holdsworth29-Aug-05 22:20
Joel Holdsworth29-Aug-05 22:20 
GeneralRe: CmdUpdateUI Pin
Joel Holdsworth29-Aug-05 23:22
Joel Holdsworth29-Aug-05 23:22 
QuestionDynamically allocated strings Pin
Anonymous26-Aug-05 0:40
Anonymous26-Aug-05 0:40 
AnswerRe: Dynamically allocated strings Pin
Bob Ciora26-Aug-05 1:08
Bob Ciora26-Aug-05 1: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.