Jump to content

Attila Kovacs

Members
  • Content Count

    1943
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Refer to Form Control without using the Form unit?

    I don't get it. Even if you have a translator (which I would make with rtti), how would you handle different instances of a specific form?
  2. Attila Kovacs

    parsing Google search results

    Even if you get it to work, they will vary the output in a very short time, obviously.
  3. Attila Kovacs

    WinAPI to query if a form is ready to Rock.

    you can detour TForm's DoCreate, DoDestroy, DoShow, Activate etc... from a separate unit and set some flags if it helps
  4. Attila Kovacs

    Record constants that are actually constant?

    @Lars Fosdal you could also pass classes in attributes. there you could have class vars for example. I like the json way. More flexible. (And more fragile, true)
  5. Attila Kovacs

    SVG Magic released

    No. What exactly do you want to know?
  6. Attila Kovacs

    Record constants that are actually constant?

    @Lars Fosdal use json for your attribs, syncommons.pas can convert them to records
  7. I was watching the getit versions of Raize after the acquisition but the only change in the sources were just updates in the ifdefs for the new compiler version. Did something change since then? Also, AFAIR, there were always 2 batch files included for Raize, to compile and/or install the whole lib for x86 and x64.
  8. So true. Everything else is just botching. User setting belongs to roaming.
  9. Attila Kovacs

    Best way to check if an internet SMTP server is available?

    <o> And what if the smtp server works when your app starts, but then I shut it down? on every IO, file / network / etc.... try it / catch the error / do what you want
  10. Attila Kovacs

    REST BASIC Authentication

    try a decent API tester like https://www.soapui.org/
  11. Attila Kovacs

    REST BASIC Authentication

    on the second screenshot username: Joe password: 12345
  12. Attila Kovacs

    REST BASIC Authentication

    Do not read too much documentation. Just enter the plaintext l/p into the boxes.
  13. Attila Kovacs

    Delphi 10.3 Update 2 available

    @Dalija Prasnikar Ah, I see. Hopefully they will automate it or get rid of it.
  14. Attila Kovacs

    Delphi 10.3 Update 2 available

    ? @Dalija Prasnikar did something change in the licensing? No more perpetual license?
  15. Attila Kovacs

    Bad build a mystery

    the last time I got runtime error 217 on startup was an winapi call in the initialization where I queried the computer name into a (15-16?) byte lenght buffer but the computer name was longer. I can't remember the problem/solution, it was on g+. btw. you could step through with ollydebug, maybe you find something
  16. Attila Kovacs

    NTP which component to use?

    here you can read about the time protocol: https://tf.nist.gov/tf-cgi/servers.cgi and because I would not query an oversea server https://www.pool.ntp.org/zone/europe
  17. Attila Kovacs

    Funny Code in System.Types

    Here is an implementation which passes @Schokohase's tests. class operator TPoint.Explicit(Value: TPoint): TSmallPoint; begin case Value.X of High(SmallInt), High(SmallInt) + 1: Result.X := High(SmallInt); Low(SmallInt), Low(SmallInt) - 1: Result.X := Low(SmallInt); else begin Randomize; Result.X := Random(High(SmallInt)); end; end; Result.Y := Result.X end;
  18. Never seen this behavior. Maybe because I have Autosave Project Desktop on?
  19. Attila Kovacs

    POSTing binary data with TIdHTTP

    Glad to hear that. You can't. And you will get it resolved the second time tomorrow by others 😉 It's ok.
  20. Attila Kovacs

    POSTing binary data with TIdHTTP

    umm, if "boundary=---2-1d1a304dc9" in the header, shouldn't be the boundary -----2-1d1a304dc9 in the body? And closing with -----2-1d1a304dc9--? Or just omit a -- in the header.
  21. Attila Kovacs

    POSTing binary data with TIdHTTP

    Hm. Maybe the missing closing '--' suffix on the last boundary.
  22. Attila Kovacs

    POSTing binary data with TIdHTTP

    What happens if you set the stream's position to zero before posting?
  23. Attila Kovacs

    Funny Code in System.Types

    Should be SmallInt(Value.<x/y>);
  24. Attila Kovacs

    CDATA CSV Component

    http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/Classes_TStrings_StrictDelimiter.html
  25. Attila Kovacs

    SVG Magic released

    No, it comes from TRSSVGImageList ( Riversoft SVG Library ) and the trackbar sets its width and height. Exactly the same as in your demo. Ah, and just for the record, Riversoft's SVG Library comes with the sources.
×