-
Content Count
2268 -
Joined
-
Last visited
-
Days Won
46
Everything posted by Fr0sT.Brutal
-
SVN server updated
Fr0sT.Brutal replied to Angus Robertson's topic in ICS - Internet Component Suite
I believe it serves both protocols as Angus said in #1 -
Instead of compiling scripts plugins inside your app (which is pretty exotic) why don't just use scripts? If you want plugins, you can build a DLL with script interpreter and embed script text there. Alternatively, any compiler could be embedded into a binary as resource, then just extract it to TEMP and execute. I believe this won't violate GPL Is it possible to embed this engine into Delphi app?
-
Mostly it enables styling of controls (like D7's XPManifest component did). But you also can specify some useful options there, f.ex. require elevation on startup
-
SVN server updated
Fr0sT.Brutal replied to Angus Robertson's topic in ICS - Internet Component Suite
Awesome, at last I can forget that shaman dances to reach port 8443 through our corporative firewall -
Sometimes a Ping fails (ICS v5)
Fr0sT.Brutal replied to Techo's topic in ICS - Internet Component Suite
+1, for this reason, it's more reliable to check for a concrete service rather than just online status of a host. It could be online but a needed service could be down or pings could be disabled while host is up and service is running. -
The only big incompatibility between D2007 and modern sources is Unicode. Depending on sources' quality, conversion could vary from 0-effort (just recompile) to very hard. I've completed some conversions besides my own apps (SimpleXML, ehLib, iPro) so it's not impossible. Anyway you should reconsider using these libs as abandonware is always a potential danger. Or you'll have to support it yourself 🙂 Alternatively you could contact with author, he's accessible at GH and Facebook
-
Why can't I install this monospaced font in Delphi ?
Fr0sT.Brutal replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Seems very similar to Lucida console -
Thinfinity VirtualUI - cloud-based conversion
Fr0sT.Brutal replied to Mark Williams's topic in General Help
Probably you could look at UniGui as well -
My crystal ball is too tired to guess what OP wants 🙂
-
It's unclear what do you mean. From description, following should do what you want (half-pseudocode) var Clip: string = ''; procedure TForm1.ControlOnKeyDown(Sender, Key, Shift); begin if Shift=[ssCtrl] then if Key = VK_C then Clip := Sender.SelectedText else if Key = VK_V then Sender.SelectedText := Clip; end;
-
wsConnected triggered even if client not connected
Fr0sT.Brutal replied to mitzi's topic in ICS - Internet Component Suite
Weird, I have timeouts working OK. Socket.TimeoutConnect := Settings.ConnTimeout*MSecsPerSec; -
wsConnected triggered even if client not connected
Fr0sT.Brutal replied to mitzi's topic in ICS - Internet Component Suite
Msecs IIRC but it was quicker to check that by yourself 😉 -
wsConnected triggered even if client not connected
Fr0sT.Brutal replied to mitzi's topic in ICS - Internet Component Suite
If you define timeout, you'll have OnTimeout event triggered, that's all. You'll have to add an action (i.e. close the socket) by yourself -
wsConnected triggered even if client not connected
Fr0sT.Brutal replied to mitzi's topic in ICS - Internet Component Suite
Well, probably I'm getting it wrong but I see no problem here SockObj creates socket handle = $111 SockObj tries to connect SockObj gets timeout SockObj closes socket handle = $111 and has its internal field FSockHandle set to -1 SockObj creates socket handle = $222 SockObj tries to connect ... some time later socket handle = $111 really closes and becomes available to the next use -
wsConnected triggered even if client not connected
Fr0sT.Brutal replied to mitzi's topic in ICS - Internet Component Suite
Why reusing sockets is so important? Do you really have 100000 of active socket handles on the client side? -
wsConnected triggered even if client not connected
Fr0sT.Brutal replied to mitzi's topic in ICS - Internet Component Suite
Ehm... guys why so complicated, TWSocket inherits from TCustomTimeoutWSocket if BUILTIN_TIMEOUT define is set so it has both connect timeout and idle timeout. -
How to share data between apps
Fr0sT.Brutal replied to Tom F's topic in Algorithms, Data Structures and Class Design
Topicstarter has stream of data; nothing suites better for transferring a stream than an another stream. -
Where do I declare a function inline ?
Fr0sT.Brutal replied to dummzeuch's topic in RTL and Delphi Object Pascal
Just try to F7 into that function. -
How to share data between apps
Fr0sT.Brutal replied to Tom F's topic in Algorithms, Data Structures and Class Design
I'd vote against shared resources in favor of streaming via pipes or socket. -
It is well-known D7 bug with UInt64. Sometimes it could be solved with explicit typecasts, sometimes only disabling range checks helps. {$IFDEF WITH_UINT64_C1118_ERROR}{$R-}{$ENDIF}
-
This strongly depends on what is being done in these threads
-
Why is my firebird database code unstable under load? (code included)
Fr0sT.Brutal replied to Yaron's topic in Databases
You're quite brave to say such insulting words as ".net" here on Delphi forum 😄 -
Well, that's only my POV. Language of just 8 years old, developed by Google only, with initial intention to be a front-end JS killer, now it seems to be Java/Swift killer... I wish it luck though especially if they manage to produce multiplatform apps lighter and faster than Electron does and sweep that monster out from the market.
-
If the main app is closing, terminating a thread doesn't differ much from terminating a process. So in this very case, this function could be used
-
Why is my firebird database code unstable under load? (code included)
Fr0sT.Brutal replied to Yaron's topic in Databases
Hmm, AFAIK dirty reads are considered a bad practice even if they seem to work. Here (in Russian - translator will help) is described a use case similar to yours, the advice is to try "read committed no_record_version"