-
Content Count
48 -
Joined
-
Last visited
Everything posted by Olli73
-
Are you loading DLL's or other files you expect in root folder?
-
Servers mostly send only an "internal error", so that hackers have not much information about an issue (Vulnerability). So only a log on server can tell you more.
-
Your answer body in readable format: Could be an issue in your dll or other internal issues. Is your DLL 32 or 64 bit and it is propper configured in IIS? EDit: You must search / find a server log...
-
So you can add a sub item: LsubItem := ListView1.Items.Add; LSubItem.Text := 'Sub-Item'; LSubItem.Parent := LItem; But I think you should try TListBox. FMX list box is more comparable to VCL list view.
-
Httpcliet (post) x Httpserver (Passando parametros)
Olli73 replied to IltonK's topic in ICS - Internet Component Suite
try OnPostedData event -
Httpcliet (post) x Httpserver (Passando parametros)
Olli73 replied to IltonK's topic in ICS - Internet Component Suite
Which error message? At which place (event) are you? -
Httpcliet (post) x Httpserver (Passando parametros)
Olli73 replied to IltonK's topic in ICS - Internet Component Suite
You try to read "parameters", but send data in body!? Then you must read body of request, -
Httpcliet (post) x Httpserver (Passando parametros)
Olli73 replied to IltonK's topic in ICS - Internet Component Suite
Is "data" variable of type string? Then try with Ansistring please, -
Error sending data: (12029) A connection with the server could not be established.
Olli73 replied to mazluta's topic in Network, Cloud and Web
"Access-Control-Allow-Origin: *" and Credentials / "Access-Control-Allow-Credentials: true" do not work together. Try with "Access-Control-Allow-Origin: null" or better a propper address. -
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.