Jump to content

Attila Kovacs

Members
  • Content Count

    1915
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by Attila Kovacs

  1. Attila Kovacs

    D11.3 Surfaces a Bug in 8-Year-Old Code that reads DBF file...

    Yes, but then you set up the fields' FData to point to there +iTmp and later you are trying to read the data from there, and AV raises. But if I'm wrong just ignore me, I had only a minute to look into it.
  2. Attila Kovacs

    D11.3 Surfaces a Bug in 8-Year-Old Code that reads DBF file...

    "Data" is not initialized in your demo GetMem(Data, iRecordLen); and that's it, it ponts to trash
  3. Attila Kovacs

    Club 12

    So, I've updated to Delphi 12 from Berlin, and I have to say, it's a big {expletive} WOW, especially during the first couple of hours. What immediately stands out is that the IDE is much faster, both in terms of code and graphics. (There were zero issues installing it and both old and new IDE's are running parallel.) But as I proceed, some questions are slowly arising... I'm currently converting my experts, and I can't find the clipboard history window/function in Delphi 12. Has it been removed? Also, the web is full of help files with custom managed records and their constructors and destructors, but it doesn't work and I accidentally found a user comment on Marco's blog that it became the initialize and finalize operators. Does it? Is there any reading on how this evolved and if there are any drawbacks/pitfalls or can I start converting my "smart" objects to use that?
  4. Oh yeah, this should be addressed too.
  5. the path to controls.res is in the library (options/language/delphi/library), it's the first entry $BDSLIB/$platform/blabla, use procmon to see what happens
  6. Attila Kovacs

    Club 12

    Thank you Stefan, I think this one: https://docwiki.embarcadero.com/RADStudio/Sydney/de/Benutzerdefinierte_verwaltete_Records And google gave me that link, maybe it shgould be deleted then.
  7. Attila Kovacs

    Club 12

    I see, thanks. I had that on Ctrl-Shift-F1 while cycling through the items with multiple F1 presses while holding the Ctrl-Shift key. I'll just reimplement this function then, not a big deal. I can even make sure that only text copied or previously pasted into the IDE appears there, so it stops "spying".
  8. Attila Kovacs

    Introducing Delphi Uses Helper

    thx for the november update too
  9. me neither, I just read what he wrote So maybe he could store the group number to the integer, as he is writing he is using this as a lookup table.
  10. For me it sounds like an indexing task, store the data to the integer and not the opposite.
  11. Attila Kovacs

    FireDAC Alternative

    I think you should first tell your story. How did you come to the conclusion to change the Universal Data Access Components (UniDAC) to a 'universal database solution'?
  12. Attila Kovacs

    TMS: Component compilation error

    there is a used package in the chain, built with the old rtl
  13. Attila Kovacs

    What is the benefit of sorting the Uses clause?

    Ah, wasn't it you who got rid of the comments in the form class declarations? 😛
  14. Attila Kovacs

    What is the benefit of sorting the Uses clause?

    Each unit name belongs to a new line, with groups separated by an empty line.
  15. Attila Kovacs

    Delphi 12 is available

    If you already a time billionaire, you could check these tools too https://www.google.com/search?q=install+monitor
  16. Attila Kovacs

    Script Errors galore when launching Delphi

    What menu is that? Found it in the main menu context. It looks like I uninstalled (along with many others) the BPL that had this community thing.
  17. Attila Kovacs

    Script Errors galore when launching Delphi

    I see. Maybe you could try some other values, like 11001 or 9999, but I'm out of ideas if that's not helping. 😕
  18. Attila Kovacs

    Script Errors galore when launching Delphi

    try to add bds.exe with decimal value 11000 full version list here https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/general-info/ee330730(v=vs.85)?redirectedfrom=MSDN
  19. Attila Kovacs

    Script Errors galore when launching Delphi

    Yeah I see that. I wrote FEATURE_BROWSER_EMULATION
  20. Attila Kovacs

    Script Errors galore when launching Delphi

    did you accidentally changed the rendering mode for Delphi? HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
  21. I can't remember which unit it was, and which Delphi release, but there was a constructor similar to this where some graphics or hash table was filled with thousands of lines. After a certain size, the compiler silently cropped the code and linked the exe without any error. Nevertheless, I would rewrite the generator to produce 16 (0-F first byte) array constants, sorted by the MAC address rather than the vendor. Additionally, I would substitute the vendor string with a lookup table to eliminate the redundant entries.
  22. will it catch? place it at the top of the uses list in the dpr, set a breakpoint at the "begin" in "TExceptionCatcher.RaiseException" and examine the call stack unit ExCatcher; interface uses Winapi.Windows; type TExceptionCatcher = class public class procedure RaiseException(dwExceptionCode, dwExceptionFlags, nNumberOfArguments: DWORD; lpArguments: PDWORD); stdcall; end; implementation class procedure TExceptionCatcher.RaiseException(dwExceptionCode, dwExceptionFlags, nNumberOfArguments: DWORD; lpArguments: PDWORD); begin // place breakpoint here end; initialization RaiseExceptionProc := @TExceptionCatcher.RaiseException; end.
  23. I call MessageBox because ShowMessage had some issues before initialization.
  24. Attila Kovacs

    How to detect when a Form is active in Designer

    I think you are looking for IDesignNotification / DesignerOpened in DesignIntf.pas the menu item is EditLockControlsItem:TMenuItem on the main Form, and the action is EditLockControlsCommand:TAction
  25. Attila Kovacs

    When will we have a 64-bit IDE version ?

    You have selected "Search in directories" on that screenshot. I never used this feature since I use a proper file manager for tasks like that, but the question that arises is: Is it possible that you have a circular directory link, and Delphi is not able to detect it?
×