http://d.puremagic.com/issues/show_bug.cgi?id=1695


Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #4 from Walter Bright <[email protected]> 2013-04-07 
01:23:20 PDT ---
All /system does is prepend a _. See:

http://www.digitalmars.com/ctg/implib.html

The trouble is that the names in Windows systems DLLs use the extern (Windows)
calling convention, but they don't use the extern (Windows) mangled names. The
Windows mangled names have the @nn suffix.

The names happen to match up with the C names, but the stack treatment is
different, hence the crash.

There is nothing implib can do about this situation. The only thing you, as a
user, can do is create a correct module definition file in order to map the
internal and external names. Implib can't do that, as it doesn't have the
information to do it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to