-
Content Count
64 -
Joined
-
Last visited
Everything posted by Olli73
-
I am aware of issues with AI, Too often AI has invented Delphi functions which would be practical but are not available. I wanted only mention what AI has to say about this...
-
OK, but Copilot tells me:
-
Is it a laptop? Maybe the cores get too hot and so gets throttled...
-
Since the params parameter in the ExecuteProcess function is string, I would not use PChar casting in Parameters variable; use strings. And for testing I would try it without "stdout > ...". And I would try to use the path to the DB insterad of "gds_db".
-
How looks your call of RunProcess?
-
JSON output/result changed with upgrade
Olli73 replied to bj2cs's topic in MARS-Curiosity REST Library
I would try to set the options later in the code -
In the unit "OverbyteIcsSmtpProt.pas" you can find this line: StrCat(PAnsiChar(Line), PAnsiChar(SmtpDefEncArray[FMailMsgText.TransferEncoding])); But it must be: StrCat(PAnsiChar(Line), PAnsiChar(AnsiString(SmtpDefEncArray[FMailMsgText.TransferEncoding]))); Edit: Text translated, first I wrote in German 😉
-
How do you set the encoding?
-
Double, default value
Olli73 replied to Skrim's topic in Algorithms, Data Structures and Class Design
As local variable it is not initialized, as global it is. -
Which database and components? What are the settings for lockmode, isolation level and so on? In debugger there are shown exceptions by default always. The user (no debugging) will not see it. I think we need more details.
-
Reconnect TSQLConnection after lost wifi signal
Olli73 replied to dlucic's topic in Network, Cloud and Web
I have no experience with such a setup, but I would try to use "TDSProviderConnection.AfterDisconnect" event to start a timer which tries every second to call a "TDSProviderConnection.Open" until "TDSProviderConnection.connected" is true again. As long as the timer runs you block all actions which load or save data from/to the server. -
Reconnect TSQLConnection after lost wifi signal
Olli73 replied to dlucic's topic in Network, Cloud and Web
It is better to use a HTTP-/Rest-Server ... You could easily fill a client dataset on client in this way: On Server you make a Query and then via a provider you load it into a clientdataset. Out of that you can use a command to make XML or JSON of it. That XML/JSON you send (as a result of a get query from client) to the client and with a command you can generate a filled ClientDataSet on Client and work then with that. The other way, to update the database on server, could be a little bit more complex. -
var ItemClickEvent: TCustomListBox.TItemClickEvent;
-
I would try another way: Make a dervied class from TWebRowser and make MouseClick (or MouseDown / MouseUp) function(s) public there. Now call this function(s) with your mouse cursor coordinates.