-
Content Count
77 -
Joined
-
Last visited
Everything posted by Olli73
-
Destroying a TThread recreating TThread the destroying again hangs Process
Olli73 replied to JackT's topic in Delphi IDE and APIs
Do not use "FreeOnTerminate" and free it in your code after your "waitfor". Alternatively do not use "WaitFor", use the event "OnTerminate" of the thread to proceed your work. This event is called from MainThraed -
ISuperObject decimal issue with currency values
Olli73 replied to Davide Angeli's topic in Delphi Third-Party
https://github.com/pult/superobject.delphi v1.2 support of currency data type -
ISuperObject decimal issue with currency values
Olli73 replied to Davide Angeli's topic in Delphi Third-Party
Use latest version and then try O.C['...'] -
Can I use TsslWebSocketCli in a thread?
Olli73 replied to GG2023's topic in ICS - Internet Component Suite
When you want to use the object inside a thread, then you should create it inside the thread - the constructor still runs in the main thread! -
Where is the list of strings kept inside TStrings?
Olli73 replied to JohnLM's topic in RTL and Delphi Object Pascal
From the documentation: Derive a class from TStrings to store and manipulate a list of strings. TStrings contains abstract or, in C++ terminology, pure virtual methods and should not be directly instantiated TStrings does not hold any string, it should be treated as abstract class, you must always inititae a derived class of it, which implements the data (string) storing. -
Is Connection.UpdateTransaction set? What is the setting of Connection.TxOptions.StopOptions? "xoIfCmdsInactive" could show your behavior.
-
Makes it no difference if you use platform or fmx edit? Other solution: 😉 https://giphy.com/gifs/reactionseditor-reaction-3o7btNRTJ700Vzmn5e
-
You could save the content of the edit in a variable and then first check if content has changed. And you could try if it makes a difference when you set the edit to "platform" or not.
-
At least I could tell them that the issue is related to Samsung. For the picture issue there were only a workaround (when you had still the pictures on android device): Copying the issued pic to a new empty folder with android file app and then copy this to windows. I by myself avoid Samsung galaxys and recommend other phones to peaple who ask me.
-
And the most strange issue I had with Samsung devices, was that when you copied a bulk of pictures to a windows device via USB, some pictures had the content of another picture. And we had links to such pictures in our database and the customer told us we are doing something wrong, showing the wrong pic. Difficult to find the issue...
-
In the past, when I had issues with my Android apps, it happned nearly only on some Samsung devices; so I thought already that it is the Samsung keyboard... Samsung can everything, besides software 😉
-
Have you tried another keyboard (gboard?) ?
-
First you should implement an exception handling and log it, for example: try //Get Command ... except on E: EIdHTTPProtocolException do Log('HTTP Error: ' + E.Message + ' (Code: ' + IntToStr(E.ErrorCode) + ')'); on E: EIdSocketError do Log('Socket Error: ' + E.Message + ' (Code: ' + IntToStr(E.LastError) + ')'); on E: Exception do Log('General Error: ' + E.ClassName + ' - ' + E.Message); end;
-
You should not use Delphi XE7 for Android 12. XE7 supports Android <= 4.4. https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page
- 1 reply
-
- delphi xe7
- image
-
(and 2 more)
Tagged with:
-
For us TS Plus works great.
-
I think tsplus webserver could do the job ...
-
The default behavior is the same since delphi 4, but since a few versions the optional "OldCreateOrder" property is ignored: https://docwiki.embarcadero.com/Libraries/Athens/en/System.Classes.TDataModule.OldCreateOrder
-
FireDAC connection lost on setting TFDQuery's SQL.Text
Olli73 replied to Mark Williams's topic in Databases
You could also try to create a select query and assign it to conection first and let it open until everything was done. This could avoid to the connection to the pool and unassign it. -
FireDAC connection lost on setting TFDQuery's SQL.Text
Olli73 replied to Mark Williams's topic in Databases
How looks the code for the creation of the query? -
FireDAC connection lost on setting TFDQuery's SQL.Text
Olli73 replied to Mark Williams's topic in Databases
What is the setting for Connection.ResourceOptions.KeepConnection ? -
You could also try to enable ExtendedMetaData for connection.
-
What are your connection settings?
-
Do you have in your HTML part something like <img src="cid:FileName"> ?
-
FireDAC FDQuery Outer Join with fdUpdateSQL fails when Inserting Records
Olli73 replied to BushAl's topic in Databases
You are using a Generator and a trigger? I thought you were using "generated by default as identity" for field in create table. -
FireDAC FDQuery Outer Join with fdUpdateSQL fails when Inserting Records
Olli73 replied to BushAl's topic in Databases
In Firebird 4 something like this could work: UPDATE OR INSERT INTO ESTDTL (EST_ID, ESTDTL_ID, CSC_ID, ESTDTLDSC, CSTPLS, GSTINC, GSTPCT, QTYCLC, QTY, CST, GST, SLE, VAL) OVERRIDING USER VALUE VALUES (:NEW_EST_ID, coalesce(:NEW_ESTDTL_ID, -1), :NEW_CSC_ID, :NEW_ESTDTLDSC, :NEW_CSTPLS, :NEW_GSTINC, :NEW_GSTPCT, :NEW_QTYCLC, :NEW_QTY, :NEW_CST, :NEW_GST, :NEW_SLE, :NEW_VAL) MATCHING (EST_ID, ESTDTL_ID) RETURNING EST_ID, ESTDTL_ID