Jump to content

Olli73

Members
  • Content Count

    48
  • Joined

  • Last visited

Everything posted by Olli73

  1. Olli73

    Deployment to IIS

    Are you loading DLL's or other files you expect in root folder?
  2. Olli73

    Deployment to IIS

    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.
  3. Olli73

    Deployment to IIS

    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...
  4. Olli73

    *UPDATED!...Issue Populating The ListView Subitems

    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.
  5. Which error message? At which place (event) are you?
  6. You try to read "parameters", but send data in body!? Then you must read body of request,
  7. Is "data" variable of type string? Then try with Ansistring please,
  8. "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.
  9. 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...
  10. OK, but Copilot tells me:
  11. Is it a laptop? Maybe the cores get too hot and so gets throttled...
  12. 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".
  13. How looks your call of RunProcess?
  14. I would try to set the options later in the code
  15. Olli73

    email issues

    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 😉
  16. Olli73

    email issues

    How do you set the encoding?
  17. As local variable it is not initialized, as global it is.
  18. Olli73

    ​LOST DEBUGGER ON EDIT ERROR timeout trigger.

    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.
  19. 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.
  20. 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.
  21. Olli73

    D12 TItemClickEvent undeclared identifier

    var ItemClickEvent: TCustomListBox.TItemClickEvent;
  22. Olli73

    Mouse cursor

    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.
×