[Issue 3886] New: Bad example of definition file for DLLs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 6 09:04:16 PST 2010


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

           Summary: Bad example of definition file for DLLs
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: nobody at puremagic.com
        ReportedBy: r.sagitario at gmx.de


--- Comment #0 from Rainer Schuetze <r.sagitario at gmx.de> 2010-03-06 09:04:15 PST ---
dll.html "Writing Win32 DLLs in D" includes an example def-file with the line

DATA            PRELOAD SINGLE

which causes multiple processes that use the same DLL to share memory. This is
not the normal use case for DLLs and causes crashes.

It should be

DATA         PRELOAD MULTIPLE

-- 
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