[Issue 7186] New: Only the first exported extern(C) function has underscore prefix

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 30 17:04:15 PST 2011


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

           Summary: Only the first exported extern(C) function has
                    underscore prefix
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: major
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrej.mitrovich at gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2011-12-30 17:04:13 PST ---
See attachment. When the DLL is built the exported symbols are:

_foo1
foo2
foo3

AFAIK on Windows all exported C functions have an underscore prefix.

You can use DLL Export Viewer to see the symbols:
http://www.nirsoft.net/utils/dllexp.zip

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


More information about the Digitalmars-d-bugs mailing list