Jump to content

Attila Kovacs

Members
  • Content Count

    1967
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by Attila Kovacs

  1. Attila Kovacs

    Overview of the generated files after build/compile

    It should be; it would spare a lot of headaches when migrating projects to new IDEs.
  2. Attila Kovacs

    Delphi 12 is available

    rotfl, so much about multiline strings i'm begging since ages for a directive excluding blocks from the formatter..... @Marco Cantu it would give you a break too
  3. 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.
  4. 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
  5. 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?
  6. Oh yeah, this should be addressed too.
  7. 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
  8. 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.
  9. 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".
  10. Attila Kovacs

    Introducing Delphi Uses Helper

    thx for the november update too
  11. 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.
  12. For me it sounds like an indexing task, store the data to the integer and not the opposite.
  13. 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'?
  14. Attila Kovacs

    TMS: Component compilation error

    there is a used package in the chain, built with the old rtl
  15. 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? 😛
  16. 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.
  17. 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
  18. 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.
  19. 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. 😕
  20. 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
  21. Attila Kovacs

    Script Errors galore when launching Delphi

    Yeah I see that. I wrote FEATURE_BROWSER_EMULATION
  22. 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
  23. 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.
  24. 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.
  25. I call MessageBox because ShowMessage had some issues before initialization.
×