Max Bowsher wrote:
> Branko Čibej wrote:
>
>> I think it makes
>> sense to encode both the major and minor version numbers in the DLLs,
>> because we need both to define the available set of APIs.
>
>
> If you want the DLLs to be usable in the ways described by our
> compatibility rules, you *must* encode only the major number in the name.
> Otherwise, something built against 1.1 won't work with 1.2, which our
> compat rules say it should.
There's a dilemma here, known as "Windows DLL hell". Since we have no
control over installations, we can't prevent somebody from _downgrading_
the installed DLLs. If the DLL names in svn-1.x are the same as in
svn-1.x+1, the newer stuff will break.
Come to think of it, I think we should even encode the runtime version
in the DLL name, so that a program compiled with VS.NET won't pick up
DLLs created with MSVC6 by mistake.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 18 00:59:47 2005