Jump to content

Jacek Laskowski

Members
  • Content Count

    277
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Jacek Laskowski

  1. Jacek Laskowski

    Android in VMWare

    How to install Android in VMware?
  2. Jacek Laskowski

    JSON string value

    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?
  3. Jacek Laskowski

    Unknown attribute

    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
  4. Jacek Laskowski

    Unknown attribute

    Thanks for tip!
  5. Jacek Laskowski

    Firebird SQL 3.0.4 content encoding issue

    Try DBWorkbech
  6. Jacek Laskowski

    Unknown attribute

    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.
  7. Jacek Laskowski

    Unknown attribute

    This bug is ...resolved: https://quality.embarcadero.com/browse/RSP-20384
  8. Jacek Laskowski

    Unknown attribute

    In previous versions of delphi I did so, in 10.3 it doesn't work, that's why I asked a question.
  9. Jacek Laskowski

    Delphi Security Components SecureBridge Got a Huge Update

    There is another subforum for announcements and information about third-party packages: https://en.delphipraxis.net/forum/13-delphi-third-party/
  10. Jacek Laskowski

    Working Find Unit...

    RFindUnit is for me the second, after MMX, the most important IDE extension! It is irreplaceable and "almost" perfect.
  11. Jacek Laskowski

    Code formatter in CnPack

    I suggest you report to the tracker, maybe they will do: https://github.com/cnpack/cnwizards I like this style too 😉
  12. Jacek Laskowski

    IDE Background Work

    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 😞
  13. Jacek Laskowski

    Delphi Classics

    I came across this by accident, interesting literature 😉 https://www.delphiclassics.com/ sorry for light offtopic 🙂
  14. Jacek Laskowski

    Line numbers in code editor

    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.
  15. Jacek Laskowski

    Line numbers in code editor

    Thanks!
  16. Jacek Laskowski

    MMX 15 (Beta) Available

    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
  17. Jacek Laskowski

    [FireDAC] Query.MergeDataset - how to use?

    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?
  18. 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?
  19. Jacek Laskowski

    [FireDAC] Access to the connection object using Connection Definition Name

    Ok, I know this solution, but I search for other, without TFDConnection, I use a FireDAC connection pooling.
  20. 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?
  21. Jacek Laskowski

    Delphi 10.3 Update 2 available

    Embarcadero http server is probably installed on Marco smartphone, and sometimes it happens that Marco is out of reach of the network 😉
  22. Jacek Laskowski

    DSharp problem

    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
  23. 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?
  24. Jacek Laskowski

    Firedac and simultaneous connection to different version of Firebird

    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
  25. Jacek Laskowski

    Firedac and simultaneous connection to different version of Firebird

    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?
×