www.digitalmars.com         C & C++   DMDScript  

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


           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