[Issue 1695] Calling some functions out of PSAPI.dll corrupts stack
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Dec 29 22:55:22 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1695
bugzilla at digitalmars.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #1 from bugzilla at digitalmars.com 2007-12-30 00:55 -------
The problem is declaring Windows API functions as being extern(C). They should
be extern(Windows). Stack corruption is the result of incorrectly declaring
what function calling convention to use.
--
More information about the Digitalmars-d-bugs
mailing list