Главная страница | назад

Article #17797: Library compatibility between BC4.5x and BC5.0x

 Question and Answer Database

FAQ2797C.txt   Library compatibility between BC4.5x and BC5.0x
Category   :Command Line Tools
Platform    :Win95/NT
Product    :   BC++4.5x   BC++5.x

Are libraries built in BC4.5x compatible with BC5.0x & vice versa?

If they are strictly "C" libraries, things will probably be OK.  However, for C++ libs, 
there are three issues to contend with that make compatibility iffy:

1) Exception handing was changed in BC5.0x;
2) The native "bool" type was added in BC5.0x;
3) Some name-mangling changes were made (in part due to the inclusion of the 
    native "bool" type)

Although some C++ libraries could, undoubtedly, be used as-is between the two
versions, in general, C++ libraries should be rebuilt when going from one version 
to the other.

8/4/98 9:17:38 AM

Last Modified: 01-SEP-99