www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 1552] New: DLL writing instructions do not mention _moduleDtor()

reply d-bugmail puremagic.com writes:

           Summary: DLL writing instructions do not mention _moduleDtor()
           Product: D
           Version: 1.022
          Platform: PC
               URL: http://digitalmars.com/d/dll.html
        OS/Version: Windows
            Status: NEW
          Severity: minor
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thecybershadow gmail.com

The documentation page "Writing Win32 DLLs in D" located at
http://digitalmars.com/d/dll.html does not have a _moduleDtor() call in the
"DLLs with a C Interface" source template. This makes the example/template
incomplete, and the need to call _moduleDtor() is only mentioned in the "D code
calling D code in DLLs" section - which might not be read by people who are not
writing DLLs that will be used by D programs.

Oct 07 2007
parent d-bugmail puremagic.com writes:

Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla digitalmars.com
         Resolution|                            |INVALID

--- Comment #1 from Walter Bright <bugzilla digitalmars.com> 2012-01-21
20:43:00 PST ---
Calling Runtime.terminate() will call _moduleDtor().

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