Adventures in application compatibility: The cost of forgetting to specify a calling convention

1 · Raymond Chen · Sept. 2, 2021, 2:02 p.m.
We saw last time that the Windows header files sometimes look at world through __stdcall-colored glasses, and that causes problems when the header file fails to specify an explicit calling convention. The developers of one particular component made the mistake of omitting an explicit calling convention for one of their callback function pointer types, The post Adventures in application compatibility: The cost of forgetting to specify a calling convention appeared first on The Old New Thing....