<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 2 December 2013 06:05, Martin Nowak <span dir="ltr"><<a href="mailto:code@dawg.eu" target="_blank">code@dawg.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 11/18/2013 06:12 AM, Walter Bright wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I'm very much against the suggested rewriting of obj files to strip the<br>
export records :-)<br>
</blockquote>
<br></div>
That is only one particular aspect of the DIP. It's not essential and maybe we'll find a different solution during implementation.<br>
The need to statically link a library into a DLL is rare enough to delegate this to an extra tool.<br>
</blockquote></div><br></div><div class="gmail_extra">Sorry, I'm just casually following this thread. I'm very interested to have this mess resolved, but don't have a great deal of input.</div><div class="gmail_extra">
This comment surprised me a little though, you say it's rare to statically link a lib into a DLL?</div><div class="gmail_extra"><br></div><div class="gmail_extra">In my experience, I don't think that's rare at all, I'd say it's very common, in fact, in my experience, I can't think of many instances where I've built some code as a DLL which hasn't included other lib's (statically linked).</div>
<div class="gmail_extra">Maybe it's just me, but if I'm building something as a DLL (rather than a static lib), it's precisely because it is quite large, and offers generally self-contained functionality (which often depends on other libs).</div>
<div class="gmail_extra">The only exception in my experience is plugin functionality.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Just a comment on other aspects of this thread...</div><div class="gmail_extra">
There's all this debate around dllimport vs dllexport. And this is probably my ignorance, but I have to wonder why dllimport even exists?</div><div class="gmail_extra">I've been using DLL's for a long time, and I've never used dllimport (that I'm aware of).</div>
<div class="gmail_extra">I either statically link an import lib (which binds to the exports in a nice efficient way), or I call LoadLibrary and find symbols manually...</div><div class="gmail_extra">I'm not really even sure what dllimport does. Why is it so important, and why is it causing so much fuss?</div>
</div>