> > > As for Windows DLL hell, I don't know a lot about that, but if 
> > > that's such a problem, why didn't the original creators of the 
> > > windows port stick the version number in there from the start. On 
> > > UNIX, libpq is half versioned (the library is, but not 
> the symbols) 
> > > so I would have thought copying that idea would have been obvious.
> > 
> > Because we simply didn't think of it at the time, and it's 
> something 
> > that has irked me ever since.
> 
> In that case, I agree. I've always thought a lot of problem 
> in windows could be solved if they systematically added a 
> version number to every library (like in UNIX).
> 
> Are there any reasons why we shouldn't change the libname 
> with every release like for UNIX? I can't think of any, but 
> you never know...

Yes.
If FooApp is compiled against 8.0, it will then be unable to run if you
upgrade libpq to 8.1. IIRC on Unix it will "fall forward" to the new
version if it's just a minor version upgrade (correct me if I'm wrong).
On windows, it will break with an ugly dialog box. Which is why DLL
renames are usually only done for backwards incompatible changes.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to