tgbs
Members-
Content Count
97 -
Joined
-
Last visited
-
Days Won
1
Everything posted by tgbs
-
FYI - Several Embarcadero services are currently unavailable
tgbs replied to Keesver's topic in General Help
The problem is not the monitoring. The problem is that very often it becomes a problem with these services. Is it the fault of the sysadmin or the programmer, but this service drop needs to stop -
FYI - Several Embarcadero services are currently unavailable
tgbs replied to Keesver's topic in General Help
It's getting ridiculous now with these servers and software shutdowns -
And once you manage to call getdbrecord, you'll still need to fill in the meaning of sName, now it's unknown
-
program Project2; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils, System.Math; begin var a,b:double; a:=1.015; b:=2.275; writeln(round(a*Power(10,2))); writeln(round(b*Power(10,2))); readln; end. Please run as 32 and 64bit I split this off to its own topic, so that future readers will find this tightly packaged. Please consider creating a new thread for any question/issue/remark that is not exactly the same as the opening post of a thread - Sherlock
-
Rounds perfectly. I test and Ex
-
The numbers are indicative and taken from a database. I expect Delphi to behave as described in the documentation (help). I have not read anywhere that it is possible to have a difference between the same code for a Windows 32 and 64 bit application. I don't think if I interfere with the platforms. And again I ask why, for example, in a 64-bit program, rounding depends on specific numbers. Using the same types of variables and functions one rounds up and the other down. I haven't touched the rounding settings and debugged that is rmNearest
-
I still can't figure out why 1.015 * 100 and rounded is different than 3.015 * 100 and rounded. The first is counted down and the second up - 101 and 302?
-
Because results are differen
-
Little off-topic: what is Your host system
-
We use gbak.exe for backup/restore via CreateProcess
-
The name of Firebird service is different after 2.5 or 3.0 version i think Edit: But how works in debug then... "service 127.0.0.1:service_mgr is not defined." no port here ?
-
"connection was rejected by remote server" - maybe different server and client version. IBX is written for IB not for FB. If app is using FB then grab dll from FB install. But rewrite program to use Firedac or native FB client. Also run Process explorer and see what dlls is using app with Debug(working) and Release.
-
Any chance for mixing 32 and 64bit in Release ?
-
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.
-
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.
-
I wouldn't open up a database to the entire internet
-
Ctrl + g is 99% working solution.For big project. For compile time it depends of source path
-
Why is this necessary?
-
WEB Standalone console APP “Indy http” in production ?
tgbs replied to borni69's topic in Network, Cloud and Web
Thanks but my question is for Linux server, without GUI. -
WEB Standalone console APP “Indy http” in production ?
tgbs replied to borni69's topic in Network, Cloud and Web
@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 -
WEB Standalone console APP “Indy http” in production ?
tgbs replied to borni69's topic in Network, Cloud and Web
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 -
client pc database connection problem with interbase server
tgbs replied to muratcelik64's topic in Databases
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- 15 replies
-
This is simple project, no dlls In unit3 is uses for SHDocVw. Please try with and without this uses. ProjZero.zip
-
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