Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Run-Time Check Failure Pin
George_George3-Oct-08 0:37
George_George3-Oct-08 0:37 
AnswerRe: Run-Time Check Failure Pin
Cedric Moonen1-Oct-08 0:17
Cedric Moonen1-Oct-08 0:17 
GeneralRe: Run-Time Check Failure Pin
George_George1-Oct-08 0:23
George_George1-Oct-08 0:23 
GeneralRe: Run-Time Check Failure Pin
Cedric Moonen1-Oct-08 0:53
Cedric Moonen1-Oct-08 0:53 
GeneralRe: Run-Time Check Failure Pin
George_George1-Oct-08 1:01
George_George1-Oct-08 1:01 
GeneralRe: Run-Time Check Failure Pin
Cedric Moonen1-Oct-08 1:12
Cedric Moonen1-Oct-08 1:12 
GeneralRe: Run-Time Check Failure Pin
George_George3-Oct-08 0:12
George_George3-Oct-08 0:12 
GeneralRe: Run-Time Check Failure Pin
Cedric Moonen3-Oct-08 1:42
Cedric Moonen3-Oct-08 1:42 
In fact it is logical when you think a bit about it. Your function is in your dll and you use it by calling LoadLibrary and GetProcAddress. To load the function you use a typedef in your exe to specify how the function looks like, this is the only way for your exe to know the function. So, if you don't specify on the function typedef that the function uses a __stdcall calling convention, the exe has no way of knowing that information.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

GeneralRe: Run-Time Check Failure Pin
George_George3-Oct-08 1:51
George_George3-Oct-08 1:51 
QuestionSystem Volume Information folder Pin
john563230-Sep-08 23:01
john563230-Sep-08 23:01 
AnswerRepost: System Volume Information folder Pin
Iain Clarke, Warrior Programmer1-Oct-08 5:03
Iain Clarke, Warrior Programmer1-Oct-08 5:03 
GeneralRe: Repost: System Volume Information folder Pin
Michael Schubert1-Oct-08 5:27
Michael Schubert1-Oct-08 5:27 
AnswerRe: System Volume Information folder Pin
Michael Schubert1-Oct-08 5:29
Michael Schubert1-Oct-08 5:29 
GeneralRe: System Volume Information folder Pin
john56322-Oct-08 20:40
john56322-Oct-08 20:40 
GeneralRe: System Volume Information folder Pin
Michael Schubert2-Oct-08 22:26
Michael Schubert2-Oct-08 22:26 
QuestionHow to change the number of bits per pixel of BMP file? Pin
hanlei000000000930-Sep-08 22:59
hanlei000000000930-Sep-08 22:59 
AnswerRe: How to change the number of bits per pixel of BMP file? Pin
Naveen30-Sep-08 23:22
Naveen30-Sep-08 23:22 
QuestionDebug Assertion Failed... Pin
RYU^^30-Sep-08 21:34
RYU^^30-Sep-08 21:34 
AnswerRe: Debug Assertion Failed... Pin
Roger Stoltz30-Sep-08 23:58
Roger Stoltz30-Sep-08 23:58 
GeneralRe: Debug Assertion Failed... Pin
RYU^^1-Oct-08 13:50
RYU^^1-Oct-08 13:50 
AnswerRe: Debug Assertion Failed... Pin
Roger Stoltz1-Oct-08 20:05
Roger Stoltz1-Oct-08 20:05 
Questionwarning C4503 in using multimap <wstring,wstring> map1 Pin
preeti sharma30-Sep-08 20:58
preeti sharma30-Sep-08 20:58 
AnswerRe: warning C4503 in using multimap <wstring,wstring> map1 Pin
Cedric Moonen30-Sep-08 21:00
Cedric Moonen30-Sep-08 21:00 
QuestionOpenDialog Pin
Chandrasekharan P30-Sep-08 20:34
Chandrasekharan P30-Sep-08 20:34 
AnswerRe: OpenDialog Pin
Naveen30-Sep-08 20:48
Naveen30-Sep-08 20:48 

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.