Help to debug form’s handle re-creation (10x / sec+)

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #71313
    SzakiLaci
    Participant

    Since I’ve upgraded AC from 2019 to latest 17.01 (2023.04.22) version,
    it’s re-re-recreating one of the form’s handle all the time. (Min 10+ times / second!)

    How can I find out, what is causing it?

    How do I know for sure?
    Whenever I check with a timer, the Form’s Handle is not the same as before.

    if hand = 0 then
        hand := Form2.Handle
    else if hand <> Form2.Handle then
        inc(new_handle);

    “Break when changed” is greyed out at Watch window.
    Overriding the Form’s .CreateHandle did not help either, because it does not stop there.

    This is a huge project (70+ forms, 1M lines), so I’ve created a tiny project with same SkinManager setup (Copy-Paste)
    but I can not reproduce it!

    So it does NOT seem to be a direct AC problem,
    I need help to find what is causing it, If I did not change my code, but only upgraded AC?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.