Jump to content

Lajos Juhász

Members
  • Content Count

    1063
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Delphi Datasnap Android unicode problem

    You can try to use a mapping rule on the Datasnap server to map AnsiString to WideString that should solve the problem.
  2. Lajos Juhász

    Delphi Datasnap Android unicode problem

    My guess is that the data in the database is written using codepage 1250. On Windows the program converts the field values from CP 1250 to UTF-16 while Android does not.
  3. No, it is not. It also breaks the deprecated code formatter. Unfortunately, we must wait until Delphi 15 to use this new feature.
  4. I am aware. Unfortunately that is thr only right way to do it. You can try to hack the system. Unfortunately that depends heavily on the memory layout and the classes current definitions as a result most probably will break with every version of the Delphi.
  5. I guess you already know the answer. Enter a ticket on the Quality Portal to request access to the fields you want. Give a good explanation why whould you want those fields to be public or protected in order to reach MFGA (Make Firemonkey Great Again).
  6. Lajos Juhász

    Use old glyph with tpngobject in 10.4?

    The glyph is an old "obsolate" property to assigning the image, also using png is an old and should not be used in modern applications. Nowdays you should use svg stored in virtual image list to be able to support various DPI settings.
  7. Lajos Juhász

    Receiving an 'Unsafe app blocked' message

    As it was mentioned earlier developing for mobile platforms is a moving target. In case of Android you have to follow the rules that Google sets every year. You cannot use the same tool for years like for Windows.
  8. Lajos Juhász

    Can Control Elements have "EventHandlers"?

    Without having more information: - If a component is placed on the form using the IDE the owner of the component is going to be the form. This can be different when the component is created runtime. - You can go using in the component hierarchy using the parent property until you find the form you are looking for.
  9. Lajos Juhász

    "Death to WITH" in your Delphi Code

    There is no need for with in your example: procedure TMyForm.UpdateInventoryItem(const NewQty: Integer); var a: <the required type>; b: <the required type>; begin a:= dmStoreInventoryData; b:= A.tblUpdateItemForStore; B.Edit; B.FieldByName('Qty').AsInteger := NewQty; B.Post; end; With will not make this code any cleaner.
  10. Lajos Juhász

    Navigator disappeared from GetIt

    Which version of Delphi?
  11. Lajos Juhász

    TreeView Grid lines

    While the component has no property you can send a message to the underlying win32 component. Everything you need is in Winapi.CommCtrl. There is a TreeView_SetLineColor to send a message.
  12. Lajos Juhász

    Delphi 2007 and XE5 Crashes on Windows 11

    Do it from Delphi 12, the License action were added after XE5.
  13. Lajos Juhász

    Delphi 2007 and XE5 Crashes on Windows 11

    I believe this was a sign that the IDE thought it was cracked? There were posts about this. Try to open LicenseManager from XE5 and refresh the license.
  14. Lajos Juhász

    Delphi 2007 and XE5 Crashes on Windows 11

    I can use Delphi XE5 on a Windows 11 without a problem. I have never tried to install Delphi 2007 on Windows 11.
  15. This is most probably going to lead to memory fragmentation. My advice is to watch the working set size in Task Manager. If the memory grows very fast change the implementation if not live with it. Having said that, I have an application that is a bridge between two databases. It is prone to a low memory fragmentation that requires that I restart it 2-3 times every year.
  16. Lajos Juhász

    WideString.c_bstr() operation in 11.2

    The solution is this thread.
  17. Delphi 12.1, MMX Code Explorer - Version 15.1.8 build 2580: [7AC6E4F2]{mmx_bds23.dll} CustomPascalExplorers.TCustomPascalModuleExplorer.ReadToken (Line 1576, "CustomPascalExplorers.pas" + 106) + $11 [5321A4D2]{rtl290.bpl } System.ErrorAt (Line 5914, "System.pas" + 3) + $4 [532203B3]{rtl290.bpl } System.@AsClass (Line 18911, "System.pas" + 3) + $5 [7AC6E4F2]{mmx_bds23.dll} CustomPascalExplorers.TCustomPascalModuleExplorer.ReadToken (Line 1576, "CustomPascalExplorers.pas" + 106) + $11 [7AC70575]{mmx_bds23.dll} DelphiExplorers.TDelphiModuleExplorer.InternalRefresh (Line 409, "DelphiExplorers.pas" + 12) + $3 [7AC6BD6B]{mmx_bds23.dll} CustomPascalExplorers.TCustomPascalModuleExplorer.DoRefresh (Line 548, "CustomPascalExplorers.pas" + 63) + $8 [7AC5CB91]{mmx_bds23.dll} ModuleExplorers.TModuleExplorer.DoRefresh (Line 406, "ModuleExplorers.pas" + 4) + $9 [7AC5CE4A]{mmx_bds23.dll} ModuleExplorers.TModuleExplorer.Refresh (Line 548, "ModuleExplorers.pas" + 0) + $2 [7AC77DF8]{mmx_bds23.dll} ModCache.TModuleCache.ImmediateRefresh (Line 1187, "ModCache.PAS" + 5) + $17 [7AC766E4]{mmx_bds23.dll} ModCache.TModuleInfo.ForceSynchronization (Line 439, "ModCache.PAS" + 6) + $7 [7AD41CC5]{mmx_bds23.dll} MMXModLinks.TMMXModuleLink.ForceSynchronization (Line 270, "MMXModLinks.pas" + 1) + $9 [7ADF14A6]{mmx_bds23.dll} DelphiTopModTrackers.TDelphiTopModuleTracker.IDEModuleSaved (Line 112, "DelphiTopModTrackers.pas" + 😎 + $5 [7AD6D04F]{mmx_bds23.dll} OTANotifiers.TOTANotifications.ModuleSaved (Line 677, "OTANotifiers.PAS" + 6) + $6 [7AD6C14F]{mmx_bds23.dll} OTANotifiers.TOTANotifier.AfterSave (Line 230, "OTANotifiers.PAS" + 2) + $E I hope this can help to identify a bug. This is a first time it happened to me.
  18. Lajos Juhász

    Show executable size after successful build?

    That is why I should be interested in the size of executable to not be get beaten by you? Strange but okay. Now please ASAP implement to show the size of executable on compile!
  19. Lajos Juhász

    Show executable size after successful build?

    In that case, you should answer to us the important question. Why would anyone care after every compile on the size of an executable file. We are eager to find out the reasons. It is now the most important topic on this forum and our questions remain unanswered.
  20. Lajos Juhász

    Show executable size after successful build?

    Why would it matter if it is 10MB or 100MB or even 1000MB?
  21. Lajos Juhász

    Devin AI - Is it already happening?

    Please read the previous sentence: "I doubt that nobody would buy any product if it was available for free to write an AI prompt:" I wrote if AI would learn everything from our source and would be able to generate such an application. Companies would not be able to sell their products. Everyone would using AI generate the application they want / need. Without buying custom or available programs. Yes I am aware also on various "SPAM" youtube videos how you can get rich using AI using prompts to generate application for stock trading based on AI and similair. I block those videos as soon as Youtube tries to show them.
  22. Lajos Juhász

    Devin AI - Is it already happening?

    I believe the last perfect IDE was Turbo Pascal?
  23. Lajos Juhász

    Devin AI - Is it already happening?

    Usually the source code of the closed source application is a top secret. That might contain algorithms that are fine tuned, most products are developed and fined tuned for years. I doubt that nobody would buy any product if it was available for free to write an AI prompt: Write and compile an application that behaves like application X that is 200% more efficient and consumes less memory. Beside as Dalija wrote there is a chance that a large company will ignore the law. I believe there were some law suits on that matter for example the Volkswagen diesel scandal. I doubt that nobody noticed that they were breaking laws. Similairly tech companies from time to time get sued for various mistakes when they break the law.
  24. Lajos Juhász

    Avoid parameter evaluation

    do not forget that multi-line strings completely broke the IDE. For D13 they will have to change the code in the IDE to support them.
  25. Lajos Juhász

    Add onClick event on TCanvas

    you cannot do add a property to a class that doesn't have it.
×