-
Content Count
2268 -
Joined
-
Last visited
-
Days Won
46
Everything posted by Fr0sT.Brutal
-
ChatGPT about the GExperts Uses Clause Manager
Fr0sT.Brutal replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
Next step would be "Write blog post about a blog post you'd write on topic X" 🙂 -
Why not just update data and truncate these too long cells?
-
I haven't found the exact restriction text. Is the connect limitation made in code or is a user's promise to not break the rules? Elementary port mapper proxy could turn any local connection to a network one...
-
TWSocketServer, TWSocketClient.OnDataAvailable tiggers without any data
Fr0sT.Brutal replied to ertank's topic in ICS - Internet Component Suite
AFAIR GetRcvdCount was marked as not 100% proof somewhere in the code and it was always recommended to try Recv in trigger.- 2 replies
-
- ics
- twsocketserver
-
(and 1 more)
Tagged with:
-
Error - 12030 The connection with the server was terminated abnormally
Fr0sT.Brutal replied to david_navigator's topic in Network, Cloud and Web
To investigate the issue, you should determine at which moment it happens. I'm not sure you can reach HTTPClient's internals but start with line number inside TWinHTTPClient.DoExecuteRequest in the call stack. Also check if it has any logging features. And try to gather as much info as possible - time, file size, concrete request, whether Internet is up at the moment of disconnect, etc -
Local variables broken when debugging .obj files?
Fr0sT.Brutal replied to terran's topic in General Help
What if you try to print arguments from that C function and test at runtime? I too didn't know that Delphi is able to step into OBJ. Probably this feature is buggy -
Local variables broken when debugging .obj files?
Fr0sT.Brutal replied to terran's topic in General Help
Is the function working well? I'd bet on incorrect parameters porting. 1st guess is differing calling convention but it seems valid -
Hint: you have the rights on your own home PC, why not try there?
-
What may happen, if uncomplete, unclear advices found ...
Fr0sT.Brutal replied to Rollo62's topic in Network, Cloud and Web
When even the empty page weights 1 Mb I guess there's no big sense in CDN's for fonts or libs. However they add one more point of possible failure. -
Note that neither key nor value must not contain separator char
-
Anyone know of an AVIF Image Decoder for Delphi?
Fr0sT.Brutal replied to Yaron's topic in General Help
https://ci.appveyor.com/project/louquillio/libavif/build/artifacts seems to have built binaries -
It was since the very beginning I suppose. But it was intended for key-value data like ini files but served also as a kind of surrogate of a dictionary until it was introduced.
-
delphi7 Delphi 7 compatibility with Windows 11?
Fr0sT.Brutal replied to jsen262's topic in General Help
Fair point! Probably D7 default MS Sans (IIRC) was removed from W11 -
delphi7 Delphi 7 compatibility with Windows 11?
Fr0sT.Brutal replied to jsen262's topic in General Help
Nice property, I wasn't aware of it. But it's D2009+ -
How can I allocate memory without raising exceptions ?
Fr0sT.Brutal replied to Marus's topic in General Help
Avoiding tries is weird style. Avoiding tries because of some perf impact you've once read about somewhere is much weirder. The really time critical parts should avoid tries indeed but that starts to play difference for millions ops/sec. My advice is to give up bothering about these nano things. If you really strive to achieve visually try-less code, just wrap AllocMem in try-except and hide the function somewhere deeply in utils unit. Anyway RTL has lots of tries inside -
How convert an android app into an i-phone app?
Fr0sT.Brutal replied to Fabian1648's topic in Cross-platform
Looks like GPT bot's answer)) -
delphi7 Delphi 7 compatibility with Windows 11?
Fr0sT.Brutal replied to jsen262's topic in General Help
According to old-fashioned controls, "XP styles" are not enabled and manifest is likely absent -
Out of curiosity - what's the reason of " eliminate the openssl distribution requirement. "?
-
I don't use CB but -> is not an operator here which are recommended to be delimited. It's member accessor that form a concrete variable. It should not be broken (with exception for newlines and chained calls if you wish)
-
Something like SimpleNote with an API?
Fr0sT.Brutal replied to David Schwartz's topic in General Help
Relax... if you don't get the answer on your exact question it means that people just don't know it and reply with something more or less related. Without these suggestions you'd just get zero responses, would that be better? -
TWSocketServer stop accepting connections
Fr0sT.Brutal replied to Eric Fleming Bonilha's topic in ICS - Internet Component Suite
WinSock only sends one event message and then waits for some function to be called in reaction to the event. If there's a pending connect, only one FD_ACCEPT is sent until you call WSAAccept. In theory, when the message processing thread is busy the message queue could get filled and the FD_ACCEPT message won't arrive causing this behavior. But default queue limit is 10k per thread, the app unlikely has so intensive message stream to have it exhausted in 5 sec. While the reason of this hangup is the matter of question, you can try to avoid the consequences. Try manually calling WSAAccept on a server socket - it should accept the pending connection, or imitate FD_ACCEPT event with PostMessage to socket control handle. -
About Delphi 11.3 CE Platform Selection
Fr0sT.Brutal replied to ChenShou's topic in Delphi IDE and APIs
There's big difference between "buy and try to maintain and let it die after some time" and "make agreement and provide free version to legal customers" approaches. Considering the history, the latter is better -
options: 1. borrow sort procedure from Classes and rework it to sort both lists 2. store references to 2nd list in the 1st list somehow (indexes or pointers to the strings) 3. change container - keep everything in a single TList<TStrPairRec> or a dictionary which is exactly meant to locate item2 by the value of item1
-
ICS lib has ability to use commercial embeddable OpenSSL version. In theory there's a chance to build cURL which can embed TLS engine as OBJ files and link them statically but that would be a mess
-
FMX-TTreeview: Intercept click on Expand-button
Fr0sT.Brutal replied to Renate Schaaf's topic in FMX
Usually the expand button is shown for all folder nodes and when you click it, it either expands or disappears if the folder contains no displayable items. But you can scan one level deeper beforehand to show correct buttons.