Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Angus Robertson

    Poor mans HA

    Please make sure you are using MQTT from SVN or the overnight zip, I did a major rewrite a couple of months ago that is not yet released. Coming back to your original problem, the best solution will be a new wrapper component around the ICS MQTT client, that handles reconnection if the connection drops, including using a list of IP addresses for multiple servers. This will avoid applications needing to handle all the reconnection stuff, which is tedious. I'll put it on my list, but it may not make the next release, which is already overdue. The TIcsIpStrmLog client component already does reconnections, just need to take those properties and methods. Angus
  3. jesu

    access violation changing font

    Thanks for all the suggestions. I have the feeling that VCL should somehow protect events that can recreate controls. Something like if Creating then ForceQueue incompatible operations
  4. Olli73

    Changes in Delphi from D10 Till now

    The default behavior is the same since delphi 4, but since a few versions the optional "OldCreateOrder" property is ignored: https://docwiki.embarcadero.com/Libraries/Athens/en/System.Classes.TDataModule.OldCreateOrder
  5. Today
  6. Angus Robertson

    Send data to the server

    I said that TRestParams can not currently create an array of Json objects, at least without nesting multiple components, but it may in the future, Angus
  7. sirodcar

    Changes in Delphi from D10 Till now

    Notice one more change How Constructor Create and FormCreate event executed. Till D10.4 When I execute Create (with paramter or no ) , FormCreate get executed when encouter inherited keyword in Create constructor; in Delphi 12.3 When I execute Create (with paramter or no ) , FormCreate get executed only after created constructor execution complete.;
  8. Skrim

    Coding using AI

    I have just subscribed to an AI service. I already have working code for a REST service. Tested with code fram AI and OMG it looked impressive. My question was "How can I connect to REST service xxxx using Delphi 12.2?" AI gave me three times the amount of code I already use and the AI code does not work, even after several corrections. Non programmers making programs using AI, I think not :)
  9. KBazX

    Send data to the server

    Yes, the need for a request body is clearly described in the api documentation. This is logical - otherwise how to send a request to delete a hundred, a thousand, ten thousand items? As I understand it, such a number of parameters will not fit in the url. In my task, for example, I delete three thousand elements. I think I succeeded. In the OnSessionConnected handler, I assign the necessary values to the SendStream and ContentTypePost properties. In general, this scheme already works. Therefore, the component does not need to be changed. The only thing I would like, if possible, to have some low-level properties that could be used to manually generate the contents of the request body without using auxiliary tools such as the TRestParams class. This will still allow me to solve my own problems when there is logic that cannot be implemented using TRestParams.
  10. Yesterday
  11. FmxToPdf

    PDF Drawing Component for Delphi FMX

    Yes, you are right, I need to work on the site. Since I wrote the component as an individual developer, I could not pay much attention to the site. Currently, the component only supports Android devices.
  12. FmxToPdf

    PDF Drawing Component for Delphi FMX

    The UI is designed with a normal desktop application and processes the codes with the PDF drawing component, thus helping you create PDF files more easily and quickly.
  13. FmxToPdf

    PDF Drawing Component for Delphi FMX

    Hello I am a bit weak in web design so I didn't think of https and the payment is made via crypto, all you have to do is make a notification on the purchase page.
  14. Anders Melander

    Poor mans HA

    Alright then. So you are going to violate the license and don't want that aspect discussed. That's between you, Microsoft, and whatever unfortunate user/client, if any, this involves but maybe you shouldn't ask us to help you do it.
  15. bk31415

    Poor mans HA

    Thank you guys. I thought this was a good place to ask technical questions as opposed to philosophical or legal ones. Apparently, I was wrong. Here is the answer using command line. I will use TProcess (ported from FP/Lazarus) until I find a way to do all that natively.
  16. bk31415

    Poor mans HA

    Anders, I love the nitpicking. Still, let me answer: No, not userS. Not plural. Both machines (A and B) single-user, they will access one another over the local network --not from Internet or similar. If this is sin in M$ religion, I'll immediately stop using anything that acceses another machine (such as SSH), I promise.
  17. Anders Melander

    Poor mans HA

    You mean you are "installing the software on a device for use only by remote users"?
  18. bk31415

    Poor mans HA

    Second part applies.
  19. bk31415

    Poor mans HA

    I think this discussion is starting to go nowhere. Assigning a different IP address to NIC is already doable with: netsh interface ip set ... here is also a Youtube one. All I want to do is that. Using Delphi. And, I am perfecly fine with "I don't know" or no replies.
  20. Anders Melander

    Poor mans HA

    No it's not; You are not allowed to use a desktop Windows as a server. What other people that violate the license say about that isn't really relevant.
  21. bk31415

    Poor mans HA

    This must be the strictest possible interpretation out there. I wander what all those people running Web Servers on their personal machines on consumer OSes say about this.
  22. Anders Melander

    Poor mans HA

    Exactly. Read the EULA. Search for "server". It's stated pretty clearly what you can and cannot do.
  23. Attila Kovacs

    Poor mans HA

    if you're turning the machine into a server that violates terms intended for client/desktop use, i think you mixed something up, you meant it's running on the server version, and you like it
  24. bk31415

    Poor mans HA

    Specifically what? I mean, I can assign not just one but several IP addresses to a single NIC under Win11 Ent which I have been able to do for who knows how long. What could be in the EULA to forbid it, while the OS freely allows it? All I want to do is to just that under my own program's control.
  25. Anders Melander

    Poor mans HA

    Then I think you need to familiarize yourself with the Windows EULA.
  26. bk31415

    Poor mans HA

    You could call it that if you go by the choice on the Windows version. But, it isn't really. While me using Delphi may look it, it will be used in professional/serious environment.
  1. Load more activity
×