Bug 14523 – New Windows Application uses incorrect initialization/termination code

Status
RESOLVED
Resolution
FIXED
Severity
minor
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2015-04-29T20:00:00Z
Last change time
2015-05-17T07:05:41Z
Assigned to
nobody
Creator
Philip.Daniels1971

Comments

Comment #0 by Philip.Daniels1971 — 2015-04-29T20:00:53Z
When you create a new Windows Application it adds two lines to winmain.d Runtime.initialize(&exceptionHandler); Runtime.terminate(&exceptionHandler); these invocations are deprecated. The correct ones seem to be Runtime.initialize(); Runtime.terminate(); Ref: See http://wiki.dlang.org/D_for_Win32 and http://forum.dlang.org/thread/[email protected]
Comment #1 by r.sagitario — 2015-05-03T14:35:40Z
Thanks for reporting. It will be updated in the next release.
Comment #2 by r.sagitario — 2015-05-08T21:21:39Z
Comment #3 by r.sagitario — 2015-05-17T07:05:41Z