-
Content Count
277 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Jacek Laskowski
-
How to install Android in VMware?
-
Does Delphi have a function in RTL that will encode the text to a form consistent with the JSON value? For example, from string: "value\with {strange}chars/" to: "\"value\\with\r\n{strange}chars\/\"" It is possible?
-
How to set Delphi compiler to stop with error on classes where unknown attributes were used (no appropriate units in the uses section)? Delphi 10.3
-
Unknown attribute
Jacek Laskowski replied to Jacek Laskowski's topic in RTL and Delphi Object Pascal
Thanks for tip! -
Try DBWorkbech
-
Unknown attribute
Jacek Laskowski replied to Jacek Laskowski's topic in RTL and Delphi Object Pascal
There is no access to such a warning! In turn, the compiler directive does not work globally, but locally (per unit), so it is useless. -
Unknown attribute
Jacek Laskowski replied to Jacek Laskowski's topic in RTL and Delphi Object Pascal
This bug is ...resolved: https://quality.embarcadero.com/browse/RSP-20384 -
Unknown attribute
Jacek Laskowski replied to Jacek Laskowski's topic in RTL and Delphi Object Pascal
In previous versions of delphi I did so, in 10.3 it doesn't work, that's why I asked a question. -
Delphi Security Components SecureBridge Got a Huge Update
Jacek Laskowski replied to Jordan Sanders's topic in Delphi Third-Party
There is another subforum for announcements and information about third-party packages: https://en.delphipraxis.net/forum/13-delphi-third-party/ -
RFindUnit is for me the second, after MMX, the most important IDE extension! It is irreplaceable and "almost" perfect.
-
I suggest you report to the tracker, maybe they will do: https://github.com/cnpack/cnwizards I like this style too 😉
-
I've noticed a very big difference in the speed of generating hints/suggestion in Code Insight Plus and in MMX between Delphi 10.2 and 10.3. Sometimes I have to wait more than a minute to show the type or variable selection list! The same applies to MMX and editing by ctrl + E ... sometimes I waiting 2-3 minutes. Since two independent experts have the same problem, I guess the problem is in the new Delphi, specifically in OpenToolAPI. Something was broken and performance slowed down a lot. Probably only Andreas Hausladen @jbg can improve anything 😞
-
I came across this by accident, interesting literature 😉 https://www.delphiclassics.com/ sorry for light offtopic 🙂
-
Delphi 10.3.2, two different computers, a friend on the left (1), mine on the right (2). How to set line numbering in the editor as on the left screenshot (numbers on every tenth line)? I can't find this option anywhere, my friend says he has it from the beginning and doesn't know how to set it up.
-
Line numbers in code editor
Jacek Laskowski replied to Jacek Laskowski's topic in Delphi IDE and APIs
Thanks! -
Is it possible to transfer MMX settings between computers with different Delphi versions? How to do it? from Delphi 10.2 to Delphi 10.3 thanks
-
How to correctly use the MergeDataset method from TFDQuery? I have FDQuery and FDMemTable, in FDMemTable I have data copied from FDQuery: FDMem.Data: = FDQuery.Data; ...then I modify the record in FDMemTable, and then I extract the differences to a separate FDMemTable: FDMemDelta.Data := FDMem.Delta; // <--- delta to data Finally, I want to save these changes (stored in FDMemDelta as data) to the database, so I do: FDQuery.MergeDataset(FDMemDelta, TFDMergeDataMode.dmDataMerge, TFDMergeMetaMode.mmNone); and in FDQuery I see changes ... but I do not know how to force FDQuery to write this changes to the database. FDQuery.Commit - does not save anything. How commit changes to DB?
-
[FireDAC] Access to the connection object using Connection Definition Name
Jacek Laskowski posted a topic in Databases
I use private connection definition configured by Connection Definition Name. FDQuery1.ConnectionName := 'Ora_Demo'; FDQuery1.Open('select * from "Customers"'); But now I need to assigned events on FDConnection level: Connection.OnRecover := ...; Connection.OnRestored := ...; Connection.OnLost := ...; How can I do this when I have only Query and the Connection is automatically created from the connection pool? -
[FireDAC] Access to the connection object using Connection Definition Name
Jacek Laskowski replied to Jacek Laskowski's topic in Databases
Ok, I know this solution, but I search for other, without TFDConnection, I use a FireDAC connection pooling. -
I read help topis about MergeDataMode options in Firedac datasets: http://docwiki.embarcadero.com/Libraries/Tokyo/en/FireDAC.Stan.Intf.TFDMergeDataMode How is difference between dmDeltaMerge and dmDataMerge?
-
Embarcadero http server is probably installed on Marco smartphone, and sometimes it happens that Marco is out of reach of the network 😉
-
I installed Spring4D in IDE, after this I installed DSharp packages. All without errors. Next I tried to compile some example applications from DSharp and I get error: [dcc32 Error] DSharp.ComponentModel.Composition.SpringContainer.pas(194): E2003 Undeclared identifier: 'Kernel' Please see on screen: What is the reason for the error? Spring4D with hotfix 1.2.3 DSharp from "spring-1.2.1" branch Delphi 10.2
-
Firedac and simultaneous connection to different version of Firebird
Jacek Laskowski posted a topic in Databases
Is it possible to connect to two versions of the Firebird server (2.5 and 3) at the same time using Firedac? Both connections should use a different version of fbclient.dll, how to do it? -
Firedac and simultaneous connection to different version of Firebird
Jacek Laskowski replied to Jacek Laskowski's topic in Databases
I answer my question. Yes, it is possible to simultaneously connect to several versions of the same server. Here's the solution: http://docwiki.embarcadero.com/Libraries/Tokyo/en/FireDAC.Phys.TFDPhysDriverLink.DriverID -
Firedac and simultaneous connection to different version of Firebird
Jacek Laskowski replied to Jacek Laskowski's topic in Databases
I tried to use the library from version 3 and for now it seems to work also for connections to the 2.5 server. But I have not written anything to the base yet, only readings. But is it safe and stable?