Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. FredS

    UAC request minimized instead of full-screen

    I also ran a couple of tests and it made no diff; Zero, GetDesktopHandle, GetActiveWindow, Application.Handle and Mainform.handle all appeared as normal.
  3. Eric Bonilha

    iOS 15.1

    KenR, so when you build a blank application and deploy to iOS 15 with XCode 13 from Delphi 11, it crashes as well and doesn't run?
  4. Wloochacz

    TFDQuery Async execution aborts with out of memory

    OK, great, but... In this kind of application, fetching all data from the server and all BLOBs is definitely not a good solution... When I write a query, I don't always want to fetch all the data from the server - the first 100 records are enough for me (sure, you can move such a constant to the application configuration), and the rest on demand. Therefore, it might be better to set up FDQuery this way: Result.FetchOptions.Mode := fmOnDemand; Result.FetchOptions.Items :=[]; Result.FetchOptions.Cache :=[]; Besides, if I write such a query and I get an "out of memory" error message I really won't know what went wrong? Where did it run out of memory? On the server? In the application? If in the application, why? Oh well, and most importantly overall - if you always fetch all the data, the query execution time will be long. Or at least it will look like that, but in fact the execution of the query is say 0.1 sec and retrieving all the data is 10 sec.
  5. PeterPanettone

    Strategies for minimizing app start time

    Are you sure that would entertain the user?
  6. PeterPanettone

    Hot Reload in Delphi?

    A great way to change things at run-time in Delphi applications is a RUN-TIME OBJECT-INSPECTOR.
  7. Today
  8. It works fine , tank you!!
  9. Attila Kovacs

    Strategies for minimizing app start time

    move the splash screen randomly to 0,0 (topleft) corner and show it blurry for no reason
  10. PeterPanettone

    Strategies for minimizing app start time

    Although that is a good idea, I am unsure whether this could be categorized as a "strategy."
  11. Der schöne Günther

    Strategies for minimizing app start time

    Use a profiler to find out what takes time and fix those parts 😎
  12. dummzeuch

    Hot Reload in Delphi?

    I use it often to repeat a call to a function where I missed something when stepping trough the first time. Works without a problem for this and saves the time to restart the processing. e.g.: SomeCodeHere; try SomeFunctionCall(SomeParameters); // <== Code raised an exception I need to investigate except on e: Exception do LogException(e); end; SomeMoreCodeHere; // <== so I place a breakpoint here // (after the debugger stopped on the exception) // and then set the execution point back to the function call Of course after that the call stack may be broken, but usually I stop the process anyway to fix the problem.
  13. I call the time the user has to wait from double-clicking the app program file until the app window becomes visible AND usable the "App Start Time" (AST). If I want to minimize AST, there are different strategies: 1. Instantiate secondary forms dynamically at run-time and not before the user needs that form. The time needed for such dynamic instantiation during the app's run-time usually is neglectable. 2. During AST, show the user a funny animated splash-screen to entertain him, so he becomes unaware of the passing time. Does anybody know of other such strategies?
  14. Any the should remove that hint after installing the patch. I'm working with several VMs; and sometimes I forget which VM includes the patch and which one still needs the patch. Some information in the About-box would be helpful, too. Delphi 11 Patch 1 still shows <No Updates Installed>.
  15. Remy Lebeau

    combobox with custom drop down (treeview)

    The native VCL TComboBox does not support a custom drop down. There is nothing like that for the native VCL TComboBox, so you will have to use a 3rd party solution (for instance, TMS has a TAdvTreeComboBox component, and there is (an older) TreeComboBox available on Torry.net). Otherwise, you would have to write your own component. No.
  16. KenR

    iOS 15.1

    I get the same. Surely they must have tested the patch with a new project!
  17. Eric Bonilha

    iOS 15.1

    Same results with iPhone 11... the blank app just crahes when opening.. in fact I can't even debug it because it crashes before Application.Initialize is even called
  18. Eric Bonilha

    iOS 15.1

    I got the same results with XCode 13.0... Blank application is compiled, deployed to the phone, but it crashes when it opens.. I will try on another iphone now
  19. Der schöne Günther

    UAC request minimized instead of full-screen

    It is what happens when the application that called ShellExecute did not provide a HWND of a foreground window. What is the value of your hndCaller ? Maybe you passed something like Application.Handle? Compare to GetForegroundWindow - Is your value the same?
  20. Silver Black

    UAC request minimized instead of full-screen

    Also other VM/PC. My app is an installer!
  21. Uwe Raabe

    Hot Reload in Delphi?

    That is basically what you already can achieve with Delphi when you work with dynamic package loading. The point with such an approach is that the code must be able to store and restore states between a reload.
  22. Anders Melander

    Hot Reload in Delphi?

    I'm not questioning the usefulness of it. I would absolutely love that feature. I'm questioning why Embarcadero would want to invite the inevitable complaints when the feature, inevitably, failed to work 100% of the time - or even just not as good as VC/VC++. AFAIK, what UE does is just reloading dynamic DLLs if you recompile them. Not really comparable I think.
  23. Eric Bonilha

    iOS 15.1

    Ken, I'm using XCode 13.1 Everything in the compilation and deployment goes smooth but when running the application it crashes Dave, Maybe it could be the XCode, but I don't know if I can downgrade to 13.0 from 13.1 as I'm using XCode 13.1 because that is what was available to me.. I noticed that the apps that were previously compiled works on iOS 15.1 but if I try to make a new app, blank form, with this toolchain (Delphi 11, XCode 13.1 for iOS 15.1 on iPhone 7) then the app crashes. I will try on another iPhone just in case and will try to downgrade XCode
  24. Martin Sedgewick

    Hot Reload in Delphi?

    I remember years ago watching a video of "Notch" using Java to create a game and he leaned heavily on hot reload. It was immediately obvious the benefits. The game was running. He modified some function or other and hit a key and the game updated with the change. The time saved over days, weeks and months would be incredible. Obviously it depends on the software. but if you have to compile, run, login, get to point X it all adds up.
  25. Stefan Glienke

    Hot Reload in Delphi?

    Because hot reload is a modern part of the R in RAD. Stopping, recompiling and getting to the point where you were before the change would be completely unnecessary. Game devs using UE or similar tools have been using this for quite a while.
  26. They are visual in the designer and the designer has to know the resolution the datamodule has been designed last. I know this is annoying and even error prone. That's why I made a suggestion to store all dfm with an implicite PixelsPerInch value of 96 and scale only for designing: Option to design in Screen PPI but save in 96 PPI That may cause the non-visual components on the datamodule moving out of sight in the designer when the datamodule is opened about 2-3 times.
  27. Mike Torrettinni

    Hot Reload in Delphi?

    At first I couldn't imagine why could this be useful. But then I thought about all the little visual changes I need to do to on some forms to fit the desired look, and being able to hot reload a simple change of position or alignment or text and no need for reloading the project, this wold be really cool to have. Not sure how could it be useful for anything more than simple changes, but even just for my use case, I would vote for the 11.1/11.2 patch to include this feature!
  1. Load more activity
×