Jump to content

DelphiUdIT

Members
  • Content Count

    752
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by DelphiUdIT

  1. May be is a stupid information: and try with ATTACH instead to do a direct debugging ?
  2. I don't know about log files from IDE. Have you installed the latest May patch (you can find it on Getit)? You can also download it on MyDownloads of Embarcadero. Uncheck the options "Tools/IDE/Saving and recovering/ "Reopen last open project ..." so the IDE start without loading a project. P.S.: If you have any third-party add-ons installed, try uninstalling them all and adding them one at a time to see which ones might be causing you problems.
  3. It looks like Google wants a paid account too. After that the certificate is going to be free... I tried the Acme version with Let's Encrypt and with Buypass and all is working.
  4. DelphiUdIT

    Has the toolbar problem been fixed?

    I have 1, 2 or 3 monitors in use (depens on working places, project type and debug features needed). In the early versions I had those annoying problems but in the last version (12.3) I didn't found them. I always use monitors with 100% scale settings and always IDE with HIGH-DPI-Aware (normal start). My IDE is ALWAYS in the first monitor (the primary) and the applications run always in the secondary monitor if available. In the third monitor I put some units undocked or documents. I use this IDE layout: and as I already said in the new Rad Studio's release I never had those issues. In High-DPI tests, I found some issues like those reported in other topics and in the ESP (Embarcadero service portal).
  5. @dmitrybv The concept you express, that of simplifying the organization of the code in some way, has been discussed several times (so much so that now we can build the view of the "link" tree). However, the current organization, in my humble opinion, allows us to maintain a well-separated and at the same time compact organization of the code. The concept of "breaking" the code into unitary elements fits perfectly with the concept of units. It also fits with the concepts of scope (private / strict private / ...) and how they are now applied. The problem of "blocking" circular references is actually a problem that concerns the implementation of the code not carried out with rigor. Out of haste or inexperience, everything is put into a few units and then ... "you can't unring the bell". The concept of packages is already present (see third-party distributions or even bundles like Indy or FireDAC) but the use is still tied to units, and so you can "load" only what is necessary without having to compile the entire package, ensuring a fast and compact generation (... compact ... 🙂maybe it could be improved) of the executable code. For the runtime the concept of packages is already present similarly to other "languages". Of course, it is necessary to know what to reference as a unit but it is a hurdle that is easily overcome with time ... and it also helps to understand how the package was conceived and organized (which never hurts).
  6. He requested a specific version, and I was not aware that it was still possible to obtain it. The fact that there are or not the source packages is irrelevant, he would not have made the request by listing them if he had them. ALL my projects are updated to the latest distribution version (maybe not in zero time), rarely some that are archived and remain there as historical memory. The fact that there is great backwards compatibility is a quality that has always been one of the main reasons linking with Delphi. However, even if the biggest obstacle was the advent of unicode as a standard, there are many other reasons (and a lot of) that push me to think that a project (or maybe more than one) with all those third-party packages is not so simply portable to the new version. But I have no information on this, so I can only assume (maybe I'm wrong).
  7. You can use the last edition released (Rad Studio 12.3 Athens) But the packages are not free, and the code will have to be changed. A 16 year leap (especially external packages) will be laborious and not cheaper. I think that is better to talk with Embarcadero rappresentative and explain the situation, they can redirect you to a professional developer. Of course some member of this community can help you, but I think they can contact you in private. You will provide them more information about the application and your knowledge.
  8. I don't think it's possible, if you don't have an Embarcadero subscription. And if you have it, I don't think that those packages are available anymore (most of them were not free).
  9. DelphiUdIT

    restore ansi from utf8

    @Uwe Raabe sorry, I mistakenly understood it was advice...
  10. DelphiUdIT

    restore ansi from utf8

    Really? My notepad does not and has never done such an operation on its own, until I force it It reads a file with an encoding and saves it with the same encoding. And the only real usable option is to convert a file in ANSI to Unicode (UTF-xx) and not the "other way around". Converting a data that can have thousands (at least) of combinations into a data that can only have 256 makes no sense. In these cases you only work with ANSI encoding without any conversion (as in the case of iterations with old industrial systems or very old equipment). Taking into account that those who use Delphi normally develop for a multitude of "clients" (I mean develop applications that can be used in various environments) thinking of doing something similar is really a risk.
  11. DelphiUdIT

    restore ansi from utf8

    I don't know why that page present those data. but in many "converters" and also looking at Unicode BMP, surrogate and extended this combination is not valid. This is the right coding (with chinese char for test, all confirmed with UTF online services):
  12. DelphiUdIT

    restore ansi from utf8

    Why someone would do this ? Depends on places where you do it (I mean OS, LANGUAGE, ....) you will have differents results.
  13. Like I wrote, there is also Elapsed, that is based on TTimeSpawn: https://docwiki.embarcadero.com/Libraries/Sydney/en/System.TimeSpan.TTimeSpan You can use that advanced record ...
  14. DelphiUdIT

    restore ansi from utf8

    (P.S.: I refer to Windows OS). First of all, take care that what you write in Delphi IDE may be in Ansi or UTF and depend on this your characters my be misunderstanding after read from files (in the laste release of Delphi those things work better). Second, string type in Delphi is equivalent to Unicode string (UTF-16). Normally the compiler does all the conversions needed, but in same cases it cannot. Look this for you convenience: https://docwiki.embarcadero.com/RADStudio/Athens/en/String_Types_(Delphi) Look better at you characters encoding: c3 8d may not be the exact character did you exepect:
  15. You can use from unit System.DIagnostics the TStopWatch "record": Uses System.Diagnostics; var a:TStopWatch; begin a := TStopWatch.StartNew; .... .... a.Stop; ShowMessage(a.ElapsedMilliseconds.toString); end; For better info: https://docwiki.embarcadero.com/Libraries/Athens/en/System.Diagnostics.TStopwatch P.S.: you have also the "Elapsed" property that maintain the features you required (but you can simple calculate them from "milliseconds".
  16. DelphiUdIT

    website shows more packages than by IDE

    Instaead to use getit from IDE, you can try this from cmdline: getitcmd -c=useonline getitcmd --list= -f=all If you find it in the list you can install it from the cmdline: getitcmd -i=WindowsAPIfromWinMD-1.0
  17. DelphiUdIT

    website shows more packages than by IDE

    Uhmm strange, WINMD was released before the release of 12.1 and doesn't require a subscription.
  18. DelphiUdIT

    No vertical space for all toolbars - hidden

    Uhmm, I don't understand very well the issue, but you can move and resize the component toolbar how and where you want .... and not only the component ...
  19. OT: I normally do it during summer days on a beach but with a Windows PC (and not for a small scripts) .... drinking beer and looking at the sea. I can't wait for summer to finally arrive. Sorry for the OT but reading the post made me feel nostalgic for summer.
  20. DelphiUdIT

    Why i haven't Android SDK after intall RAD Studio 12?

    Start looking this:
  21. DelphiUdIT

    Why i haven't Android SDK after intall RAD Studio 12?

    The links point to a russian forum with a topic like this. Is not a spam ... it's just a clumsy reference.
  22. DelphiUdIT

    May patch

    It should be for 64 bit Modern C++ (bcc64x): https://docwiki.embarcadero.com/RADStudio/Athens/en/BCC64X
  23. DelphiUdIT

    certificate error

    These things will happen more and more often in the future, as Let's encrypt will no longer send certificate expiration notices.
  24. DelphiUdIT

    certificate error

×