Windows: stdcall with dlopen()

Issue #161 resolved
Armin Rigo
created an issue

Windows stdcall has (usually?) a name mangling that dlopen() needs to be aware of: a function "funcname()", instead of being called "funcname", ends up in the DLL under the name "_funcname@N", where N is apparently the stack displacement, at least on 32-bit.

From the mailing list (Xiaoqiang Wang):

""" I have just checked how ctypes.windll implements std call, it is like what you proposed, try and fail. """

Comments (2)

  1. Log in to comment