Changes between Version 1 and Version 2 of AppLibraries


Ignore:
Timestamp:
Jun 4, 2009, 3:57:26 PM (15 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AppLibraries

    v1 v2  
     1= Dynamic library issues =
     2
    13Applications can use dynamic libraries;
    24just include them in the [UpdateVersions#multifile multi-file application].
    35
    4 A problem arises if you support multiple platforms,
     6A problem arises if you support multiple platforms
    57and the libraries for the different platforms have the same name.
    68In BOINC, if files are called the same, they must be the same file.
     
    1113it will end up trying to link the 64-bit library, and will crash.
    1214
    13 The solution is to give the libraries different physical names
    14 but the same logical name.
     15One solution is to give the libraries different names,
     16e.g. '''vcomp90_32.dll''' and '''vcomp90_64.dll'''.
     17This requires changing your Makefiles or VS project files accordingly.
     18
     19A second solution, which doesn't require changing Makefiles or VS project files,
     20is to give the libraries different physical names but the same logical name.
    1521Do this as follows:
    1622