dfl
dfl copied to clipboard
DFL64 rev.2
Win64 support
Note: This depends on #49 COFF Format Support.
Goal
- Minimal patches.
- No breaking change to win32 programs.
Limitations
- Win64-support by DMD requires MS Visual Studio and Windows SDK.
- dfl.socket and dfl.registry are NOT supported ths time. ( ignored by "version (Win64) {...}" )
Fix compile error
Fix Dozens of size_t conversion error.
Add toI32 helper function instead of type cast.
Especially, collection helpers are rather complicated.
Fix runtime error
Update WIn32 APIs
- SetWindowLong family. SetWindowLong -> SetWindowLongPtr, and so on.
- Common dialogs: structures and callbacks. UINT -> UINT_PTR, and so on.
- Windows timer functions: callbacks.
Fix application manifest
embedded in dfl/application.d.
Split off Toolchain update
See #49
appended a small fix of the richtextbox.
Though these all needs modified against the 2.070 druntime which brings full Win32 APIs and conflicts...