Jump to content

johnnydp

Members
  • Content Count

    53
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by johnnydp

  1. johnnydp

    More precise countdown

    Apologize delay(illness) Thank you guys for all of your input and comments, CreateTimerQueueTimer seems to be the best method (cpu time vs accuracy) @KodeZwerg Multimedia timer(your first code posted) works very precise too, however I'm getting AV on form close(with low intervals <=50ms) - not always. As for the latest method, Can you show some basic implementatio like for the first one? Fire action every interval set mean for unit kz.Windows.Timer ; Probably it would be good to add procedures and properties for Period and DueTime(SetPeriod, SetDueTime) QFP, QPC seems to be non go for such usage like I first wanted, it's very good for meassure execution time for some portion of code e.g. for profiling/optimizations. But for other purposes CreateTimerQueueTimer seems to be the king. @Lars Fosdal Fire and run until app will be closed/destroyed (launch tasks every X time with precision where ttimer is too weak)
  2. johnnydp

    More precise countdown

    This was my initial question...;) Still don't know how to know do effecient check if X time was passed to fire action using stopwatch
  3. johnnydp

    More precise countdown

    Thanks for your input, I doubt I will do that better than anyone did already, I do not feel much strong to make it good enough. so after only quick initial research seems that topic with meassuring time is definetely not trivial.
  4. johnnydp

    Parallel Resampling of (VCL-) Bitmaps

    @Renate SchaafInteresting stuff, can you post this with all latest fixex? Have you got own repo with your projects?
  5. You need to build TDI driver then, but as Brian @Brian Evans said better way is use Windows API and proven technology, you can focus on UI things rather than much more complicated kernel driver part. Driver will be needed in both cases but WFP is much much simpler.
  6. johnnydp

    Are we just "Cash Cows"?

    I've just read that: https://community.idera.com/developer-tools/b/blog/posts/c-builder-and-platforms-support Yes IMO we are just cash cows. Many problems with quality and speed of development new things, modern tech. When I first heard many years ago about FMX and mobile, I just knew it that it going just nowhere. Delphi should stay mainly (and only) Windows desktop development tool (without mobile devices support) Programmers could have stable powerful absolute king of Windows desktop dev solution. Of cours full Rad studio with C++ as well. More features/platform = more mess, lower quality if you are not as big company as Microsoft or Alphabet, Apple, Oracle. Quick patches (Especially semi automatic from Getit) instead of waiting for major/minor release is very good step forward. So I see one small step in good direction in last years. Just unreal wishful thinking, going back to reality, waiting for 10.4.1 ; )
  7. Hi, Anyone has similar issues with 10.3.3 - Win64 Target? Empty VCL project Debug Run - mouse round cursor spinning it started 10 minutes ago while I'm writing this still freezed. Clean Win10 install, no AV installed no other security app, even Windows Defender totally disabled for paranoid mode. No problems with 32 bit.
  8. johnnydp

    Delphi 10.3.3 Problems with x64-Debugger

    Nothing tuned, std install computer perfectly stable, minimal install of 3rd party programs, I don't like to have oveloaded OS. Minute ago tried with IDE Fix Pack latest, also not helped, reboot either did not change anything. 100% frustrated like never before.
  9. Is there any official or less official info about that? 10.3.2 as next or long wait for 10.4 ?
  10. Hi, Looking for some realiable method of making screenshot BitBlt give sometimes blank screen of desktop Can anyone post working code of other method Speed is also important, I realize it might be little slower
  11. johnnydp

    screen shot - reliable method

    Thanks for all, @PeterBelow this method is preety cool but with big problem it will overwrite current potenrial image in clipboard...
  12. johnnydp

    screen shot - reliable method

    @Larry Hengen This does not work with full desktop and form independent @M.JoosThis could work, one disadvantage: Really modern only, for me wored from 8.1 (not 7) Thanks for input guys.
  13. johnnydp

    10.3.1 has been released

    Actually it's "EMB" text compression, probably they should patent it and proudly add in About product information. Much better than LZ4, LZO or LZMA, because it's 3d multilayer
  14. johnnydp

    10.3.1 has been released

    New Delphi, old bugs, including serious: I think I’m slowly starting to Understand Delphi Hater's blog... RSP-23466 RSP-23320 + hundreds of others.... I wonder if this will ever happen, to manage this product properly, why do they think that developers needs tons of new usless features instead of making fast and solid current functionality.
  15. Std func does not work in Windows 10 for certain apps like Calculator, when Window is focused it's detected as 'ApplicationFrameHost.exe'
  16. Sorry I mean that code: https://stackoverflow.com/questions/22002120/how-to-get-path-of-current-active-application-window Thanks. Yes mentioned URLs to stackoverflow contain the same problem asking, but there are many answers and comments I don't know which one is realiable. Has anyone had something similar in Delphi which works ?
×