Jump to content

Rollo62

Members
  • Content Count

    1674
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by Rollo62

  1. Probably that doesn't help you much right now, but I usually decompose more complex views into smaller modules, already before putting all components on one form. To have a few separate views, which show specific aspects of a whole view, like media.play.controller; media.play.playlist, media.play.viewer, all were placed into separate, selfcontaining frames or forms. In my final views I can simple compose them, and connect them via interface bindings and/or messages. Thats way makes it easier to test, compose, re-use and re-place separate parts of a projects view. All it needs is a little more discipline before clicking such complex views or datamodules together, and a little more efford, but I'm not ready either to do this always right, especially when I needed a "fast" solution again
  2. Rollo62

    The interfaces in Delphi are bad?

    @Dalija Prasnikar Yes, I think compiler/linker could get a little smarter though, maybe in the direction like FixInsight or PascalAnalyser can do. To find common anti-patterns, and give warnings, that should be not so far out of reach. But you're right, maybe this is a task for some separate tool probably.
  3. Rollo62

    looking for a lo-fi Delphi Style

    Maybe something is possible with FireUI, never checked that out more deeply. I usually make screenshots of each situation I need, e.g. on iOS phone, and then have a lot of files I can show.
  4. Rollo62

    The interfaces in Delphi are bad?

    Yes, Rx10.4 will move in the opposite direction then. Maybe someone else has some practical thoughts too, how to get most of it. I personally can live with the interface as is well, but of coarse the pitfalls are deep. How about a better error-detection by the compiler/linker, would that be thinkable ? Couldn't be all the do's and dont's in the compiler logic (as switchable error option of coarse, for those who need it as is) ? Probably that not possible either, but maybe the most common, drastic mistakes/misuses could be turned into some clear compile time errors (warnings).
  5. Rollo62

    The interfaces in Delphi are bad?

    Would be maybe a good time and place to make some clear proposals howto improve interfaces, instead of moaning all the time. So how exactly should they get fixed, so that all can be happy ?
  6. Maybe some kind of file monitoring .... But also then I would use notifications instead of polling.
  7. Rollo62

    Android FMX Game App not working reliably

    I would say this depends highly on what you want to achive. Pure visual stuff usually works nice, but FMX is not made for game development. I think the approach Windows-first was not a good idea, better start Mobile-first, and then use Windows for testing. What I would recommend is to modularize as much as possible, and try each little piece on Android, putting all together step-by-step, and well tested. I know this is not an easy way and maybe the problem lies somewhere else, but without any info the best thought I could get.
  8. Hi there, I have a very strange issue, which seems to be related to 3D graphics under Win10 guest in a MacOS host. My configuration is the following: Host: Macos 10.14.4 Guest: Win10 x64 Pro 1909, (16.12.19) VmWare Fusion: 11.5.1 (27.01.20), Graphics settings: USE 3D, when a 3D application is loaded RadStudio 1033 Ent. RIO (21.11.19 +Patches 30.12.19 Problem: Usually the configuration works fine under all projects, never seen an larger issue before. What happens is the following: When I open the standard RadStudio Demo \Object Pascal\Multi-Device Samples\User Interface\ModelViewer\ModelViewer.dproj - the loading shows half of the project form - then IDE freezes - the whole Win10 guest freezes - the whole VmWare fusion session freezes (including other running VM) (not able to stop/cancel/do anything) - I need to kill the VmWare processes to move forward. What I've tried is to - restart VmWare (same issue, 100% reproduceable), - restart/reboot the whole Macos host (same issue, 100% reproduceable), So I think this has something to do with graphics drivers, Vulkan support, etc. From VmWare there is a hint leading to Vulkan drivers https://kb.vmware.com/s/article/2151397?lang=en_US&queryTerm=3d+vulkan But I cannot find any Vulkan drivers under Windows}System32 I have not installed the VM via Bootcamp anyway, so this should be a different case. Has anybody seen such behaviour and probably has a solution to it ? I'm pretty sure that 3D worked before, in an earlier Host/Guest/Ide, but I cannot really say from when this started to crash. Probably change to Vulkan drivers is the best guess I have so far.
  9. I just wanted to add the comment from VmWare support about this case. They recommend to switch to OpenGL.
  10. Rollo62

    IPV6 to number

    @vfbb Why do you think this is not threadsafe, because of the AIPV6.Replace( or because of the use of BigInteger at all ? When using local string copies of the first case, this should be OK, or are the BigInteger intrinsically not threadsafe (never used them yet) ?
  11. Rollo62

    Global StyleBook component

    I use custom styles only at the very minimum possible, but some controls unfortunately doesn't allow any other chance for tinting and re-coloring backgrounds etc. Thats a pity, because if that would be possible I wouldn't need any custom styles at all. I know , the styles were made exactly for that purpose, but its way too much efford to make a custom design, when simple fill/stroke/text colors will do the job.
  12. Rollo62

    Global StyleBook component

    I use such "invisible" form in one of my projects. So that the styles are still be able to edit there, sometimes to make custom edits. I uses that form for editing, and removed all unneeded stuff later, but keep that StyleBook on that form for the whole application. I'm not happy with that either, but it does its job, and its more convenient than to have a separate form elsewhere, just for designer purposes. In a DataModule the stylebook designer didn't work as it should, at least you cannot edit any custom styles, or is there any workaround to it ? I doubt it, because DataModule is not visual.
  13. Dear Remy, thanks for the info, there is a nice tutorial howto do that in XCode. https://forum.unity.com/threads/xcode-storyboard-option-for-splash-screens-launch-screens-in-ios-build.811131/ Have not checked it, but I hope that works for me too, no idea yeat what else might this change affect. Will there be any special requirements to the images itself (size, type, etc.) ?
  14. Rollo62

    Boolean evaluation

    Call it: .IsAdministrator and all is clear
  15. Rollo62

    Delphi Rio IDE hangs again and again

    Usually such mess can start if you have cyclic unit definitions. I would try to cleanup and rearrange used units, to maybe find the possible root cause.
  16. Rollo62

    ANDROID64 Conditional compiling

    I didnt say And64 makes no sense, I just pointed out that this problably helps to solve some issues.
  17. Rollo62

    ANDROID64 Conditional compiling

    I think Android64 doesn't even start on Android32 OS, and the selection of libraries can be done in the deployment.
  18. Rollo62

    ANDROID64 Conditional compiling

    Maybe this will be there in Version 10.4 ...
  19. Rollo62

    Test your product with UTF-8 beta setting

    Thanks god the new managements didn't kill all old references in code and IDE as first step, causing all kinds of weired issues.
  20. Have a look into the KastriFree project from Dave Nottage.
  21. No time to do that at the moment, but my current setting was produced from such clean Windows image. Only I had some updates now, and its not that clean machine anymore. Maybe I will check later, I have no 3D applications at the moment, and the IDE is running well. Better I wait until Rx10.4, then I have a good reason to start with a clean installation again.
  22. Rollo62

    language updates in 10.4?

    Thanks for testing so deeply ☝️ Nothing, I love inline variables too. I just would wait until its really stable for production, maybe I look at it in Rx10.4.
  23. By the way, I just found out that my VmWare also crashes when VmWare+IDE is running, and when I start then PAServer via PAServerManager on the same host. But its a different crash type, since I can close and restart VmWare normally, but maybe this is related. When I start PAServer first, and then run VmWare+IDE, all is OK. So its a matter of startup sequence here. P.S. I just see there is a new VmWare version 11.5.2 available, I will check that out later. https://docs.vmware.com/en/VMware-Fusion/11.5.0/rn/VMware-Fusion-1152-Release-Notes.html
  24. Thanks, yes I have seen that link in the bottom. I referred to it here Does this leads to the same page in your system ? But the hints doesn'T help, as I wrote, I cannot find any Vulkan.xxx libraries under Windows/System32, etc. I think that VmWare simply is not ready yet for the full Vulkan support under Windows 10 (my assumnption).
  25. Short update: I've got proposals from VmWare support: 1. ReInstall VmWare tools 2. Disable 3D acceleration 1. I've tried, no success. That was forseeable for me, since I update VmTools usually always after updates (und usually I don't forget that). 2. Disable 3D acceleration helps of coarse, but switched off 3D acceleration. My 3D apps work again. Not 100% what 3D acceleration means under VmWare Fusion, but I assume this switches to new Metal driver. If disabled, I assume this falls back to OpenGL driver. https://docs.vmware.com/en/VMware-Fusion/11/com.vmware.fusion.using.doc/GUID-C0E9FDAC-BC40-4A6B-8940-013597CA5E5B.html https://docs.vmware.com/en/VMware-Fusion/11.5.0/rn/VMware-Fusion-1150-Release-Notes.html https://communities.vmware.com/thread/581677 https://communities.vmware.com/message/2562929#2562929 Anyway, maybe I have to wait until Metal drivers are more stable, no big issue for me at the moment. Of coarse I don't want to see any sudden, fatal crashes anymore.
×