Top "Stdcall" questions

Anything related to the `stdcall` calling convention, i.e. one of the common subroutine calling conventions used on systems with x86 architecture.

stdcall and cdecl

There are (among others) two types of calling conventions - stdcall and cdecl. I have few questions on them: When …

c++ stdcall cdecl
What is __stdcall?

I'm learning about Win32 programming, and the WinMain prototype looks like: int WINAPI WinMain ( HINSTANCE instance, HINSTANCE prev_instance, PSTR …

c winapi calling-convention stdcall
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 …

c++ linux porting stdcall
Why are Cdecl calls often mismatched in the "standard" P/Invoke Convention?

I am working on a rather large codebase in which C++ functionality is P/Invoked from C#. There are many …

c# c++ pinvoke stdcall cdecl
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 work with an application (fyi: mIRC) that …

c++ visual-c++ dllexport name-mangling 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 …

c# c++ dllimport stdcall
Create a C# DLL That Can Be Imported in a Delphi App Using stdcall - Possible?

I have a program that I need to create a DLL for, hopefully in C#. The program is written in …

c# delphi delphi-2007 stdcall
mingw32 g++ and stdcall @suffix

I declared some C++ functions prototyped as follows: extern "C" void __stdcall function(); I also have some third-party dll with …

c++ linker mingw name-decoration stdcall
Is there any equivalent for stdcall in GCC?

I'm working on my own kernel using GCC, and when calling C functions from asm code, I have to do …

gcc assembly kernel stdcall