-
Content Count
1977 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
ISAPI DLL concurrent requests
Attila Kovacs replied to Mark Williams's topic in Network, Cloud and Web
show web.config and MCVE -
Do we need a sign up captcha?
-
Parsing Google Search Results redux
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
apt-get install elinks // or whatever distro you use, install elinks elinks https://www.google.com/search?q=dentist+in+scottsdale >output.file but as I told you already, you will face captchas very soon -
It happens to me every time I add a new unit to the project, mainly because I have other compiler directives in the .dpr. I think it works as designed...
-
Running the IDE in a VM on Mac Book Pro?
Attila Kovacs replied to PeterPanettone's topic in General Help
https://9to5mac.com/2017/08/10/macbook-pro-ssd-capacity-samsung-4tb/ -
JSON - Why self ins't updated with new values ?
Attila Kovacs replied to Stéphane Wierzbicki's topic in Network, Cloud and Web
Pretty weird. Never seen assigning something to "self", I'm wondering that this compiles. But for your problem, think on "self" like if it was a variable. It should be rather Person := TJSon.JsonToObject<TPerson>(aJsonString); -
TWebBrowser + dynamic JS question
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
Not to mention, once you get it to work, you will face in a very short time capthcas on every google pages for your IP. -
TWebBrowser + dynamic JS question
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
I told you already that this is not something google wants to be able and they are very good at this and changing continuously their code. Good luck -
Refer to Form Control without using the Form unit?
Attila Kovacs replied to Mike Torrettinni's topic in VCL
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? -
parsing Google search results
Attila Kovacs replied to David Schwartz's topic in Network, Cloud and Web
Even if you get it to work, they will vary the output in a very short time, obviously. -
WinAPI to query if a form is ready to Rock.
Attila Kovacs replied to Tommi Prami's topic in Windows API
you can detour TForm's DoCreate, DoDestroy, DoShow, Activate etc... from a separate unit and set some flags if it helps -
Record constants that are actually constant?
Attila Kovacs replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
@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) -
No. What exactly do you want to know?
-
Record constants that are actually constant?
Attila Kovacs replied to Lars Fosdal's topic in RTL and Delphi Object Pascal
@Lars Fosdal use json for your attribs, syncommons.pas can convert them to records -
Disaster planning by archiving GetIt installers
Attila Kovacs replied to Tom F's topic in Delphi IDE and APIs
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. -
Things that every desktop program should do
Attila Kovacs replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
So true. Everything else is just botching. User setting belongs to roaming. -
Best way to check if an internet SMTP server is available?
Attila Kovacs replied to Ian Branch's topic in General Help
<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 -
try a decent API tester like https://www.soapui.org/
-
on the second screenshot username: Joe password: 12345
-
Do not read too much documentation. Just enter the plaintext l/p into the boxes.
-
@Dalija Prasnikar Ah, I see. Hopefully they will automate it or get rid of it.
-
? @Dalija Prasnikar did something change in the licensing? No more perpetual license?
-
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
-
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
-
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;