Click here to Skip to main content
15,894,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hiding Application from taskbar.. Pin
gothic_coder8-Oct-08 3:50
gothic_coder8-Oct-08 3:50 
GeneralRe: Hiding Application from taskbar.. Pin
David Crow8-Oct-08 3:59
David Crow8-Oct-08 3:59 
AnswerRe: Hiding Application from taskbar.. Pin
Perspx8-Oct-08 5:46
Perspx8-Oct-08 5:46 
Questionstdcall_api & troubles Pin
thoru8-Oct-08 1:46
thoru8-Oct-08 1:46 
AnswerRe: stdcall_api & troubles Pin
toxcct8-Oct-08 2:16
toxcct8-Oct-08 2:16 
GeneralRe: stdcall_api & troubles Pin
thoru8-Oct-08 2:22
thoru8-Oct-08 2:22 
GeneralRe: stdcall_api & troubles Pin
toxcct8-Oct-08 2:47
toxcct8-Oct-08 2:47 
AnswerRe: stdcall_api & troubles [modified] Pin
Roger Stoltz8-Oct-08 2:28
Roger Stoltz8-Oct-08 2:28 
thoru wrote:
#define stdcall_api __stdcall


You probably meant the other way around since __stdcall is a reserved word, i.e. you want the identifier stdcall_api to be substituted with __stdcall during the preprocessing phase, right?

The errors you got are from the windows header files wherever __stdcall is substituted by stdcall_api which is an unknown identifier.

Do it like this:
#define __stdcall stdcall_api


Forget that the above ever existed, it's embarrassing.


"It's supposed to be hard, otherwise anybody could do it!" - selfquote
"High speed never compensates for wrong direction!" - unknown


modified on Wednesday, October 8, 2008 8:56 AM

GeneralRe: stdcall_api & troubles Pin
thoru8-Oct-08 2:38
thoru8-Oct-08 2:38 
AnswerRe: stdcall_api & troubles Pin
Roger Stoltz8-Oct-08 2:59
Roger Stoltz8-Oct-08 2:59 
GeneralRe: stdcall_api & troubles Pin
toxcct8-Oct-08 2:45
toxcct8-Oct-08 2:45 
GeneralRe: stdcall_api & troubles Pin
thoru8-Oct-08 2:50
thoru8-Oct-08 2:50 
GeneralRe: stdcall_api & troubles Pin
toxcct8-Oct-08 3:00
toxcct8-Oct-08 3:00 
AnswerRe: stdcall_api & troubles Pin
Roger Stoltz8-Oct-08 2:56
Roger Stoltz8-Oct-08 2:56 
GeneralRe: stdcall_api & troubles Pin
toxcct8-Oct-08 3:00
toxcct8-Oct-08 3:00 
GeneralRe: stdcall_api & troubles Pin
Roger Stoltz8-Oct-08 3:05
Roger Stoltz8-Oct-08 3:05 
GeneralRe: stdcall_api & troubles Pin
thoru8-Oct-08 3:03
thoru8-Oct-08 3:03 
GeneralRe: stdcall_api & troubles Pin
Roger Stoltz8-Oct-08 3:13
Roger Stoltz8-Oct-08 3:13 
QuestionGetFileSize Pin
mdsameerahsan8-Oct-08 1:22
mdsameerahsan8-Oct-08 1:22 
AnswerRe: GetFileSize Pin
Jijo.Raj8-Oct-08 1:46
Jijo.Raj8-Oct-08 1:46 
AnswerRe: GetFileSize Pin
Michael Schubert8-Oct-08 1:50
Michael Schubert8-Oct-08 1:50 
QuestionRe: GetFileSize Pin
Mark Salsbery8-Oct-08 5:01
Mark Salsbery8-Oct-08 5:01 
JokeRe: GetFileSize Pin
David Crow8-Oct-08 10:03
David Crow8-Oct-08 10:03 
GeneralRe: GetFileSize Pin
Sauce!9-Oct-08 18:17
Sauce!9-Oct-08 18:17 
GeneralRe: GetFileSize Pin
David Crow10-Oct-08 3:05
David Crow10-Oct-08 3: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.