D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3886 - Bad example of definition file for DLLs
Summary: Bad example of definition file for DLLs
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: spec
Depends on:
Blocks:
 
Reported: 2010-03-06 09:04 UTC by Rainer Schuetze
Modified: 2015-06-09 05:14 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Schuetze 2010-03-06 09:04:15 UTC
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