-
Content Count
2268 -
Joined
-
Last visited
-
Days Won
46
Everything posted by Fr0sT.Brutal
-
There are plenty of software that does this through both policies and settings. I have auto update disabled on my laptop but I can run it manually. Alas, specific updates could not be selected with built in Windows apps but there are 3rd party apps that do this. Awkward but that's the best we can have.
-
Probably you have to set Action to something?
-
This method is prone to race condition. Why not set the Cownumber as unique field and let DB server solve the collision?
-
Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla Firefox & Thunderbird, Google Chrome, and it is also used by proprietary software packages, like macOS, InDesign, memoQ, Opera and SDL Trados I guess it's more reliable than a proprietary product of a some unknown company
-
Well, business software and user software are two different things. I'd prefer many controls on a single form instead of tens of tabs with 2-3 controls on each (if you have to loop through all of them anyway). Just like a launchpad of an airplane. I doubt pilots would want to change all these buttons to a single touch screen.
-
Firemonkey App using RESTRequest is sending POST instead of GET on Android
Fr0sT.Brutal replied to Jon R's topic in Network, Cloud and Web
You're probably right. However I'd consider proxy that removes headers it doesn't like an ill one. -
Firemonkey App using RESTRequest is sending POST instead of GET on Android
Fr0sT.Brutal replied to Jon R's topic in Network, Cloud and Web
IDK how good this practice is but you also can add your payload to headers -
How to render an HTML structure using EdgeBrowser?
Fr0sT.Brutal replied to Thonwelling's topic in VCL
IDK what is displayed here. This forum is for English conversations. I only can suppose that login has failed. Probably there's some protection at server side and that generated page didn't provide sufficient requisites (referrer, cookies, scripts). I suggest you to setup a sniffer and compare exact requests for working case from the browser and not working one from your app. -
Call for Delphi 12 Support in OpenSource projects.
Fr0sT.Brutal replied to Tommi Prami's topic in Delphi Third-Party
I'm completely with you here and I even created my own compiler version/capabilities include file. BUT. $IF's are not recognized by IDE at code-time. Still after 20+ years it breaks on every $IF. That is annoying -
What is the benefit of sorting the Uses clause?
Fr0sT.Brutal replied to RCrandall's topic in MMX Code Explorer
RTL itself suffers from this flaw for some identifiers (mostly WinAPI / generic types clash). Luckily these issues are detected by compiler but could cause serious issues if these types are used as untyped pointers -
Call for Delphi 12 Support in OpenSource projects.
Fr0sT.Brutal replied to Tommi Prami's topic in Delphi Third-Party
Yeah, nice, they did it right. I think every lib dev should do the same, and probably shrink some older packages like f.i. "XE2-XE8" -
Implementing sync requests in async communication
Fr0sT.Brutal replied to brk303's topic in Network, Cloud and Web
So you need to have sync method but made with async tools? Or need just one worker to do sync method while others continue executing? The exact task really influences the solution. If you have several async workers in a single thread and want one of them to execute a sync action while others still work, use additional worker state, bg thread and async notification: fState := clstRequesting thr := CreateAnonThread( ... do request ... PostThreadMessage(Self.OwnerThread, MSG_REQDONE, ...) // or any other async notification ) and in the worker's owner thread: MSG_REQDONE: worker.State := clstRequestDone worker.ContinueStuff And don't forget to: - Track timeout - Free the thread after finish - Ensure thread could be forcefully terminated if user closes the app -
Call for Delphi 12 Support in OpenSource projects.
Fr0sT.Brutal replied to Tommi Prami's topic in Delphi Third-Party
This package madness really bothers. Especially knowing most versions doesn't differ at all. -
Can ICS thread cause memory violation? (EOutOfResources error)
Fr0sT.Brutal replied to PizzaProgram's topic in ICS - Internet Component Suite
Nothing wrong here. Hint: Widestring also doesn't have exactly one WideChar for every Unicode code point @OP: try to run the app without using SSL (have ICS connect to plain socket server). This way you can either locate the issue or exclude whole SSL stuff- 76 replies
-
- thread
- eoutofresources
-
(and 2 more)
Tagged with:
-
Delphi CE application accesses unknown IPs
Fr0sT.Brutal replied to everybyte's topic in Network, Cloud and Web
Why believe 3rd party, just check it yourself locally. You also can run Wireshark and see what exactly is sent -
Can ICS thread cause memory violation? (EOutOfResources error)
Fr0sT.Brutal replied to PizzaProgram's topic in ICS - Internet Component Suite
Windows automatically does it. So to avoid unloading you can create a life-time socket or load DLLs manually- 76 replies
-
- thread
- eoutofresources
-
(and 2 more)
Tagged with:
-
IdTCPServer IdTCPClient knowledge.
Fr0sT.Brutal replied to limelect's topic in Network, Cloud and Web
When server accepts client connection, it creates its internal client object. You can send anything to that server-side client object. But client must be ready to read that data which it hadn't requested. You can assign any data to a server-side client object when it gets created to identify it. -
Class function vs constructor for object creation
Fr0sT.Brutal replied to Michael Taylor's topic in Algorithms, Data Structures and Class Design
Or explicitly mark assignment to a field: Self.Item := Item -
mORMot is non-visual so it doesn't depend on FMX/VCL, AFAIK
-
Delphi CE application accesses unknown IPs
Fr0sT.Brutal replied to everybyte's topic in Network, Cloud and Web
Probably it's some activity from WinInet. But IDK how you get connections from Virustotal, just run a sniffer and then your app to make sure what's going on -
First you have to ensure that Samba folder is accessible on Android as Samba on Linux has long history of pain and suffer. Try some advanced file manager like TC, Far etc.
-
Try to recreate project file from scratch. It sometimes gets corrupted when applying complex option sets and especially if upgrading from older versions
-
Are you sure the build config is the same? Version info settings could differ for any target/config. 64Mb is damn too much for release so you probably build debug but version info is only configured for release
-
-
Can ICS thread cause memory violation? (EOutOfResources error)
Fr0sT.Brutal replied to PizzaProgram's topic in ICS - Internet Component Suite
You'd be right if it was WideString / string after D2009 but Utf8String is just an AnsiString having char size = 1 byte with special codepage. Not talking about code points (or symbols, letters, etc) here because they're not relevant. This exact code gets "chars" which are in fact bytes (char - in Delphi terms, an item of a utf8 string variable, could have no sense as it could be just a part of encoded Unicode "character" aka code point).- 76 replies
-
- thread
- eoutofresources
-
(and 2 more)
Tagged with: