Jump to content

Hallvard Vassbotn

Members
  • Content Count

    15
  • Joined

  • Last visited

Posts posted by Hallvard Vassbotn


  1. May be caused by scope issues? Looks like the interface references 

    var
      FTask1: IOmniTimedTask;
      FTask2: IOmniTimedTask;

    Are global variables and thus live longer than the internal window handles that Omni uses internally to post messages?

     

    Clear the interface references (and thus free the underlying objects), or do something else in the app close down to stop / wait for the threads before the app goes down?

     

    Sounds like programmer error.


  2. XE 6 has been pretty good to us.

     

    We want/need to upgrade the production version (we already have the licenses) to latest to get proper (?) HighDPI support, but are still reluctant due to performance and stability issues. 

     

    From the roadmap, it seems they still have to fix HighDPI issues, probably won’t be fully fixed until they dog food it by using it in the IDE, as indicated in the roadmap. 

    • Like 1

  3. Incomplete code?

     

    Using pointers is fine(*), repeating code, especially inside a loop, is not. 

     

    Move expressions like:

     

    PUInt64Array(@oString[0])

     

    outside the loop, assign to local vars. Then you can probably just use inc on the pointer vars instead of using slower array notation. 

     

    (*) as long as you understand them, use them correctly, efficiently and readably. 

×