Stack overflow error

  • After simple migration from Delphi 2005 to Delphi 2006 (using WPT 4.25 for Delphi 2006), a lot of users got "stack overflow" error and application termination when moving to the bottom of the document by the mouse wheel. Cursor disappear ofter document bottom and application raise a windows form with "Stack overflow" message, then halt.
    Thanks.

  • I am able to reproduce this consitantly.

    I simply left click in a document as if to make a selection of a range of text. Without lifting the left mouse button, attempting to scroll down the document with the wheel causes the stack overflow error, and the application terminates.

    BDS2006 Pro
    Win XP SP2
    WPTools 5

    • Offizieller Beitrag

    I think this are 2 different things - V4 and V5 is almost completely different.

    With V5 please get the latest. There was a problem with the Draw&Drop handler which was able to cause a loop. That has been fixed.

    For the MouseWheel problem in V4 I don't know.

    I can only suggest to deactivate the MouseWheel handler in the file WPWinCtr.PAS.

    Julian