-
Content Count
79 -
Joined
-
Last visited
Posts posted by weabow
-
-
I'm not strong at threads, but have to use them due to crossplatform app. So :
TThread.Synchronize is made to display something in the gui, surely. But I often prefer TThread.ForceQueue.
After you have a lot of timers. In the past on Windows, that wasn't a good strategy. I'd prefer one timer with a switch.
After you can use, I think, tthread.CreateAnonymousThread, but when you want it to do something to be displayed, you have to Synchronise, or ForceQueue, from this Anonymous thread.
Also, if you have a variable in the main thread, and you want to change its value from Anonymous, you have to do it in a Synchronyse, from th Anonymous.
And to finish, be careful of Android, which threads are a little bit differnet from the other plateforms.
Hope this helps.
-
Yes it does for me...
-
Runs fine. Thanks a lot !
-
No way for me to have the
TFDPhysSQLiteDriverLink
with those uses... Can't find library
-
-
Of course !
Thanks a lot
-
Hi there,
I've installed Athens, so of course I lost all my configuration, and above all, the types of messages printed in the output frame.
I do not need all these informations, that "mask" my own informations. So in previous version I've arrived to control the output, but I can't arrive to do it on Athen.
Where do I decide what appears in the output frame ?
Typically, all the std messages during the use of the software are too mutch to me. I'd like to output only the messages I decide to output.
-
My app runs with sqlite and uses 2 files, stored in deployment page for MacOs like that :
libcgsqlite3.dylib in Contents\MacOs
libcgsqlite3_fde.dylib in Contents\MacOs
I have a Notarization error :
{
"severity": "error",
"code": null,
"path": "intelli7.app.zip/intelli7.app/Contents/MacOs/libcgsqlite3.dylib",
"message": "The signature does not include a secure timestamp.",
"docUrl": "https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues#3087733",
"architecture": "x86_64"
},Any idea will be very appreciated...
Solution
The pb was that one of the libs had a path like that : c:\...\;
It needs a path like : $(BDS)\Redist\osx64\
So need to edit myapp.deployproj to change the path.
-
-
I think it depends on the OS target.
On Windows, I do not add any file
On Android, I add lib-native-activity.so
On MacOs I add libcdsqlite.dylib and libcrypto.dylib
On IOS I add ... nothing
On Linux I add ... nothing
But I'm not sure all these libraries concern SQLite
-
[SOLVED]
I've put on app boot a on the main form :
TFDPhysSQLiteDriverLink,
with the property :
EngineLinkage -> sIFDEStatic
Maybee an idea do do that from code ?
- 1
- 1
-
Thanks for your replies.
I've read the FireDAC SQLite Version Update and I understand I have to use option 3 : Continue using SQLite 3.31.1 or previous versions with FireDAC encryption (FDE).But I didn't see anywhere how to do that (sorry, it's not my best expertise).
What's the code I need to put and where ?
-
Hi there,
I've an app which runs fine on Delphi 11, using crypted (aes-256) SQLite db, throught FireDac.
This code no longer runs under Delphi 12.
An error is fired from FireDAC.Phys.SQLiteWrapper.pas, procedure TSQLiteDatabase.Key(const AKey: String);, line 2119 : if Assigned(Lib.Fsqlite3_key) then begin...
It seems that Lib.Fsqlite3_key is not assigned.
Any idea will be very appreciated...
-
Thank you Alexander. I will not hesitate one second...
-
It helps a lot. Thank you
-
Great. Thank you
-
Very interesting. Thanks a lot.
-
Thanks.
For Windows I know associations, but as I know, it needs to have a file. I've already implemented it and it runs fine with the file. But the need I have is to use a link, something like Zoom...
It's a good news to know that on MacOs it can run. On mobiles, I've been told that it can run too, but on Apple maybee there are restrictions ?
Linux is not in a hurry for me.
-
Hi there,
I would like to open my app (windows, macos, ios, android & linux) clicking on a link (inside an email for example), and pass to the app a parameter which is inside the link.
Is it possible ?
Regards
-
-
First :
fDocPDF.BeginDocument(FileName);//where filename is the name of the pdf file
Second :
fDocPDF.EndDocument(true);
-
I use TMS Libraries for that : runs fine.
-
Runs fine too under Linux Ubuntu.
-
Maybee. I'm on Alexandria
Help with Thread on FMX
in FMX
Posted
Very technical answer : it helps a lot. Thanks