So I've come to the point where I have the WinAPI modules from <a href="http://dsource.org">dsource.org</a> and want to add them to druntime.<div><br></div><div>Here are the issues, that need to be discussed before I can send a pull request:</div>
<div><br></div><div><div style="font-family:arial,sans-serif;font-size:13px">1. There is a number of version flags that are expected to be specified to the compiler, which specifies the Windows version, Internet Explorer version, winsock version and a bunch of other stuff. I suppose these will go into the sc.ini under Windows, because those won't change too often and are equivalent to linking with phobos (not necessary, but provided as a default).<br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">2. There are some static libraries, which are pragma(lib, ...) -ed inside those modules, so those libraries will have to be included to the DMD distribution.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">3. They include MinGW copyright and header comments, which I don't know if can be submitted to druntime as is and if they can be removed either.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">4. They contain a special WindowsUnitTests version, which could probably be replaced with a regular unittests or removed from the DMD distribution.</div>
<div><br></div><div>5. The package to put them is to be decided, because core.sys.windows contains druntime-specific modules whic hare not to be mixed with WinAPI modules.</div><div><br></div><div>Please leave your comments regarding this.</div>
<div>Maintainers of druntime: is this ok?</div><div><br></div>-- <br>Bye,<br>Gor Gyolchanyan.<br>
</div>