Jump to content

tgbs

Members
  • Content Count

    83
  • Joined

  • Last visited

Everything posted by tgbs

  1. tgbs

    Upgrading from 11.2 to 11.3

    After Delphi 7, I install every new major version on a new virtual machine. On a second disk (D:) I possibly clone and attach the relevant data for Delphi projects. In the bin folder there is a tool for migrating to a new computer and version. And it has its subtleties, but it works well if Getit packages are not installed.
  2. Ordinary POS are connected with a cable to a "computer" or via Bluetooth. POS terminals have firmware and a protocol by which they connect to the bank and the provider. You need a technique to talk to POS and send the commands according to the corresponding protocol.
  3. tgbs

    FMX mobile database

    I wouldn't open up a database to the entire internet
  4. tgbs

    Delphi 11.3 is available now!

    Ctrl + g is 99% working solution.For big project. For compile time it depends of source path
  5. tgbs

    Anyone know why?

    Why is this necessary?
  6. Thanks but my question is for Linux server, without GUI.
  7. @borni69 thanks. This is clear to me There are people here in this thread who are happy with this webserver. So far I haven't seen any other way to make it go forever other than some variant of looping. Either with sleep, or with CheckSynchronize. Readln for a Linux server doesn't sound serious to me. For my minor programs I have used sleep. And I use a webaction for example webserver:port/stopserver to stop it. I asked if there was a more elegant way to make this webserver work forever. Thanks
  8. Sorry, but could you give an example of how you organize a loop in a linux console program and an Indy httpserver. Is there an option without a sleep() or while? I need this program run forever or until I stop via route to webmodules action. Thanks
  9. That's because you're not using the installer. You did not write a version of IB. When you do something manually, it's good to be prepared for such surprises. You can search for a program that tells you the dependencies of gds32.dll. They are mostly on MS runtimes. In your case, maybe just copying msvcr120.dll would help, but that depends on the version and installed packages of Windows. You should also look at the log of the Windows programs, it also sometimes says which package is missing. In addition to these dlls, it is good to put an interbase.msg file... In general, either install the IB client or copy these files to the folder of your program. Because you may have a problem with different client versions for IB or Firebird, for example, on this computer
  10. tgbs

    "Divided by zero" exception

    This is simple project, no dlls In unit3 is uses for SHDocVw. Please try with and without this uses. ProjZero.zip
  11. tgbs

    "Divided by zero" exception

    I meant SHDocVw from source/internet. If for some reason it is used in the project, division by zero does not occur with a win32 app in try except block
  12. tgbs

    "Divided by zero" exception

    Do You use SHDocVw from Internet ?
  13. tgbs

    New FastCGI for Nginx in Delphi

    Has anyone used it in practice? I have to choose what to use for FastCGI and nginx for Linux. Delphi doesn't seem to have many options. Lazarus has it, but I don't want to change the product.
  14. tgbs

    Securing RAD Server

    How do You get it is Tor client?
  15. Q. please solve (x+3)^2=25 A. [snip] Calculate the value of sqrt(25) - 3. This will give you the solution to the equation: x = sqrt(25) - 3 = 5 - 3 = 2. In general, the solution to the equation (x+3)^2=25 is x = 2. Q. isn't x=-8 a solution? A. No, x=-8 is not a solution to the equation (x+3)^2=25. Because when you put the value -8 of the variable x into the equation, you don't get an equality. Instead, you will get an inequality: (x+3)^2 = (-8+3)^2 = (-5)^2 = 25 The inequality (-5)^2 = 25 is false because the square of -5 is -25, not 25. Therefore, x=-8 is not a solution to the equation (x+3)^2=25. The solution of this equation is x=2 as I told you earlier. Q. You are wrong. I don't know who taught you math. Please fix: Any negative number squared is a positive number. (-5)^2 = -5.-5 i.e. is 25 A. I'm sorry if I made a mistake. You make an accurate estimate: any negative number squared is a positive number.[snip] However, in the case of the equation (x+3)^2=25, the solution is x=2, as I told you earlier. This equation has no solutions other than x=2. Because when you put the value 2 of the variable x into the equation, you get the equality: (x+3)^2 = (2+3)^2 = 5^2 = 25 The equality (x+3)^2 = 25 is true when x=2 Q. you are wrong x=-8 is also a solution because (-8+3)^2 = (-5)^2 = -5*-5 = 25 A. Sorry my previous explanation wasn't clear. Yes, x=-8 is a solution to the equation (x+3)^2=25. You make a correct argument: (-8+3)^2 = (-5)^2 = 25. This means that the equation (x+3)^2=25 has two solutions: x=2 and x=-8. It is a quadratic equation with two real solutions. But same question now A. (x+3)^2=25 √(x+3)^2=√25 |x+3|=5 Now we have two cases to consider: Case 1: x+3=5 x=2 Case 2: x+3=-5 x=-8 Therefore, the solutions to the equation are x=2 and x=-8.
  16. tgbs

    No one can help

    I don't know why, you have to ask one of Team B. It's very convenient for me because you can go to the next record and check if you're an EOF, come back and do something. Without unidirectional if there are multiple close/open you will get out of memory Sorry for the offtopic
  17. tgbs

    No one can help

    Two records :) Current and the previous one
  18. tgbs

    SQL problem

    FDQuery4.SQL.add('WHERE MainDirectory STARTING WITH ' +QuotedStr(jvDirectoryEdit1.Text)) ?
  19. For Interbase we use TIBServerProperties from IBX package. List.Add (IBSrvProp.licenseInfo.LicensedUsers.ToString); List.Add (IBSrvProp.DatabaseInfo.NoOfAttachments.ToString); List.Add (IBSrvProp.VersionInfo.ServerImplementation); List.Add (IBSrvProp.VersionInfo.ServiceVersion.ToString); List.Add (IBSrvProp.ConfigParams.SecurityDatabaseLocation);
  20. There is a KB5020387 for Windows 11 22H2
  21. Then try to uninstall the problematic update. To be sure the problem is with MS
  22. October 17, 2022—KB5020387 (OS Build 22000.1100) Out-of-band October 17, 2022—KB5020435 (OS Builds 19042.2132, 19043.2132, and 19044.2132) Out-of-band How is with this patch ?
  23. tgbs

    Emails via Indy to Gmail

    This is already a practice for gmail. The smtp server must be configured to create such an id if it does not exist. Or manually add it to the message header. We have customers whose mailservers do not create such an id and have to have it generated by our software
  24. tgbs

    Delphi or Lazarus/Free Pascal

    I think that for ARM Linux you will have to wait quite a few more versions of Delphi. Unfortunately
  25. tgbs

    Application virtualization (RDP)

    RDP w/o VPN is native solution. I'm also looking for an easy way to integrate with a browser
×