-
Content Count
3504 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
Does this code still work? https://stackoverflow.com/questions/23410377/delphi-active-window-screenshot Once you capture the window as a bitmap, then you can print.
-
Remote Debug not generating blue Dots in 11.3
Lars Fosdal replied to Robert Gilland's topic in Delphi IDE and APIs
Is it a service you are trying to debug? -
Feature req: Compiler unit dependency graph / log with warnings about circularity
Lars Fosdal replied to Lars Fosdal's topic in Delphi IDE and APIs
Among other things. See comments in issue. It has also been said that dealing with circularity is increasingly challenging for the compiler. -
FireDAC Create table with TFDTable class at SQL Postgres 14
Lars Fosdal replied to shalapai's topic in Databases
Does using field name 'loginid' instead of 'login' have any effect? I am merely guessing here now - I have not used PG much.- 18 replies
-
- create table
- tfdtable
-
(and 1 more)
Tagged with:
-
FireDAC Create table with TFDTable class at SQL Postgres 14
Lars Fosdal replied to shalapai's topic in Databases
> pk_test_table" PRIMARY KEY ("login", ticket) Why is login quoted, but not ticket?- 18 replies
-
- create table
- tfdtable
-
(and 1 more)
Tagged with:
-
FireDAC Create table with TFDTable class at SQL Postgres 14
Lars Fosdal replied to shalapai's topic in Databases
In my experience, list separators tend to follow the locale - hence the question.- 18 replies
-
- create table
- tfdtable
-
(and 1 more)
Tagged with:
-
FireDAC Create table with TFDTable class at SQL Postgres 14
Lars Fosdal replied to shalapai's topic in Databases
What was the solution?- 18 replies
-
- create table
- tfdtable
-
(and 1 more)
Tagged with:
-
FireDAC Create table with TFDTable class at SQL Postgres 14
Lars Fosdal replied to shalapai's topic in Databases
I saw an example that added IndexDefs.Clear; before IndexDefs.Add... Edit: Another thing - are you certain that the field list is semi-colon delimited?- 18 replies
-
- create table
- tfdtable
-
(and 1 more)
Tagged with:
-
Software Testing Recommendations
Lars Fosdal replied to CharlesI's topic in Software Testing and Quality Assurance
There is so much on this online, that I am not sure if a course would pay off. However, making a test plan with relevant test cases is a great start. Use f.x. Jira + X-Ray to document and track test results. -
IMO, that is a bad idea.
-
Does the clients access the DB directly, or is there a service between the clients and the db? If direct access, you have to take extra care in your design of the backup - to avoid clients making partial changes during the backup. It is not a trivial problem you have here...
-
Is the DB a single instance on a server, accessed by multiple users? There are several strategies, but it is hard to say which one is the right one without insights into how your DB is setup and used. https://blog.devart.com/mysql-backup-tutorial.html https://dev.mysql.com/doc/refman/8.0/en/backup-and-recovery.html Your application could probably be installed from scratch, but what about application configuration? Stored locally in file or registry? Complex config or simply a URI to the DB + credentials?
-
MMFs are good for "random R/W access" - but not so great for sequential R/Ws of huge files. Have a look at all the SO posts about systems crawling to a halt when using MMFs.
-
Console application - CRT Unit - Console Library
Lars Fosdal replied to Wolfgang03's topic in I made this
Back in those days, I wrote a GUI for my first commercial DOS app. It supported Hercules, EGA, and VGA cards at the time. Source code on GitHub - UPPERCASE reserved words and all... -
Console application - CRT Unit - Console Library
Lars Fosdal replied to Wolfgang03's topic in I made this
Wow, that sent me back to the 80's 🙂 Nicely done! -
Any plans to add Android/iOS support in the future?
-
We use FastReports for simple reports, and it has been somewhat challenging due to quirky behaviours such as not liking to be used in parallell threads. Since we didn't need client tools for report design, but only crafted the reports in the development phase, it was chosen due to being available out of the box. We also use a server version of Crystal Reports that is fed through database queue tables and driven by a standalone integration to produce labelling and documents.
-
combining two characters to a string switches them
Lars Fosdal replied to dummzeuch's topic in RTL and Delphi Object Pascal
Delphi 11.3 28.0.47991.2819 (Update 3 + Patch 1) Off-topic: Ctrl+O + Ctrl+O behaves weirdly, IMO. It inserts at top of file instead of at cursor, and it doesn't respect existing options like {$APPTYPE CONSOLE} -
combining two characters to a string switches them
Lars Fosdal replied to dummzeuch's topic in RTL and Delphi Object Pascal
Why does your sim code execute in the expected order for me? -
We used OutputDebugString for a while, but found that if you had a large number of logged outputs from multiple threads, it would occasionally drop the output. We ended up changing the way we logged by writing debug data in text format to a threadsafe ring buffer and have a background thread burst the logged data to a textfile periodically, and that would transition to a new file every midnight.
-
BlockRead & BlockWrite - E2010 error
Lars Fosdal replied to Jud's topic in RTL and Delphi Object Pascal
Buffers that work with AssignFile/Readln/Writeln? That is the use I describe. -
BlockRead & BlockWrite - E2010 error
Lars Fosdal replied to Jud's topic in RTL and Delphi Object Pascal
I am open to suggestions for alternatives? -
Delphi11.3 - TRestClient - MSGraphAPI - Error 12029
Lars Fosdal replied to mvanrijnen's topic in Network, Cloud and Web
So much fun with moving parts! -
Doesn't the grid get OnKeyDown events once you are in the cell editor? https://docwiki.embarcadero.com/Libraries/Sydney/en/FMX.Controls.TControl.OnKeyDown
-
Delphi11.3 - TRestClient - MSGraphAPI - Error 12029
Lars Fosdal replied to mvanrijnen's topic in Network, Cloud and Web
When do you get the error? During connect, authentication or later?