Backwards compatability

  • I am using Delphi 5 with WP4 but encountering some problems. Obviously the first thing to do is upgrade to the latest version so....

    Is WP7 compatible with D5 or conversly which was the latest version of WP that was compatable with D5? Any comments please.

    • Offizieller Beitrag

    WPTools 7 can be compiled with Delphi 5. The new DefaultAction module cannot be used with Delphi 5, but the old module is still there. DefaultAction is optional anyway. The good old TWPToolbar is still there and was greatly enhanced for WPTools 7.

    With TWPRichText there is only a restriction with the use of UTF8 - Delphi 5 does not support it.

    WPTools 7 is as backwards compatible to WPTools 4 as WPTools 5 and 6 was. It is based on a different architecture which does not use pointers as WPTools 4 did (the concept origins in 1996 where pointers were required for optimal performance).

    Code which uses pointers to attributes (PTAttr) needs to be rewritten. In most cases the new code will be *a lot* shorter and easier than the old, due to the many low level functions of the TParagraph object.

    The architecture of WPTools 7 uses a few more units than V5 and 6 for the engine and a few more abstract classes.

    Regards,
    Julian Ziersch