stdcall
declspec and stdcall vs declspec only
I\'m a new person to C++ dll import topic and may be my question is very easy but I can not find it on google.[详细]
2023-03-12 21:32 分类:问答stdcall and cdecl stack alignment size
I have two questions: Is the stack alignment for the stdcall calling convention always 4 bytes, or is it 4 for a 32 bit mach开发者_如何学编程ine and 8 for a 64 bit machine?[详细]
2023-02-17 01:03 分类:问答__stdcall typedef g++ problem
This code compiles (as I would expect): typedef void __stdcall (*Func)(); struct A { static void __stdcall f() { }[详细]
2023-02-01 10:34 分类:问答stdcall name mangling using extern c and dllexport vs module definitions (msvc++)
I was trying to export a simple test function for a dll to w开发者_运维问答ork with an application (fyi: mIRC) that specifies the calling convention as:[详细]
2023-02-01 06:51 分类:问答Linker Error LNK2019 traced back to an __stdcall I think I got the right lib - what can I do to resolve this?
I tried to port a LabCVI Project to MSVS 2010 C++ Express. There is a line of code which reads like this:[详细]
2023-01-31 09:31 分类:问答Why did Microsoft choose stdcall as their API convention?
Is there a good re开发者_如何学JAVAason? Are their internal functions (not exported) also stdcall convention?It was an adaptation to the pascal calling convention for 32-bit code.Pascal was the calli[详细]
2023-01-12 16:40 分类:问答Mixed calling conventions make compilation errors
I have a library (C++) which has some API functions. One of them is declared as __cdecl, but gets a function poiner from __stdcall. Something like:[详细]
2023-01-04 22:44 分类:问答Is there STDCALL in Linux?
I\'m trying to port a Windows app to Linux. This appplication marks some functions with the __stdcall attribute. However, I was told by a friend that stdcall is used only on Windows and has no meaning[详细]
2023-01-03 12:07 分类:问答In C++, do variadic functions (those with ... at the end of the parameter list) necessarily follow the __cdecl calling convention?
I know that __stdcall functions can\'t have ellipses, but I want to be sure there are no platforms that support the stdarg.h functions for calling conventions other than 开发者_如何学运维__cdecl or __[详细]
2022-12-24 06:01 分类:问答Creating an MSVC import library from a DLL that uses stdcall
I have a dll that exports extern \"C\" __declspec(dllexport) int __stdcall Foo( void ); A dump of the dll shows[详细]
2022-12-22 06:53 分类:问答