-
Content Count
1967 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
Overview of the generated files after build/compile
Attila Kovacs replied to Attila Kovacs's topic in Delphi IDE and APIs
It should be; it would spare a lot of headaches when migrating projects to new IDEs. -
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
-
D11.3 Surfaces a Bug in 8-Year-Old Code that reads DBF file...
Attila Kovacs replied to Steve Maughan's topic in General Help
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. -
D11.3 Surfaces a Bug in 8-Year-Old Code that reads DBF file...
Attila Kovacs replied to Steve Maughan's topic in General Help
"Data" is not initialized in your demo GetMem(Data, iRecordLen); and that's it, it ponts to trash -
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?
-
Embarcadero can you please STOP making your install sooooo MARVELOUS?
Attila Kovacs replied to alogrep's topic in General Help
Oh yeah, this should be addressed too. -
Embarcadero can you please STOP making your install sooooo MARVELOUS?
Attila Kovacs replied to alogrep's topic in General Help
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 -
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.
-
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".
-
thx for the november update too
-
Data structure for Integer ranges
Attila Kovacs replied to Tommi Prami's topic in Algorithms, Data Structures and Class Design
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. -
Data structure for Integer ranges
Attila Kovacs replied to Tommi Prami's topic in Algorithms, Data Structures and Class Design
For me it sounds like an indexing task, store the data to the integer and not the opposite. -
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'?
-
there is a used package in the chain, built with the old rtl
-
What is the benefit of sorting the Uses clause?
Attila Kovacs replied to RCrandall's topic in MMX Code Explorer
Ah, wasn't it you who got rid of the comments in the form class declarations? 😛 -
What is the benefit of sorting the Uses clause?
Attila Kovacs replied to RCrandall's topic in MMX Code Explorer
Each unit name belongs to a new line, with groups separated by an empty line. -
If you already a time billionaire, you could check these tools too https://www.google.com/search?q=install+monitor
-
Script Errors galore when launching Delphi
Attila Kovacs replied to instrumentally's topic in Delphi IDE and APIs
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. -
Script Errors galore when launching Delphi
Attila Kovacs replied to instrumentally's topic in Delphi IDE and APIs
I see. Maybe you could try some other values, like 11001 or 9999, but I'm out of ideas if that's not helping. 😕 -
Script Errors galore when launching Delphi
Attila Kovacs replied to instrumentally's topic in Delphi IDE and APIs
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 -
Script Errors galore when launching Delphi
Attila Kovacs replied to instrumentally's topic in Delphi IDE and APIs
Yeah I see that. I wrote FEATURE_BROWSER_EMULATION -
Script Errors galore when launching Delphi
Attila Kovacs replied to instrumentally's topic in Delphi IDE and APIs
did you accidentally changed the rendering mode for Delphi? HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION -
Storing a large amount of elements in a 50k lines unit
Attila Kovacs replied to Clément's topic in Algorithms, Data Structures and Class Design
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. -
Tracking down exception in initialization section ? (RaiseExceptObject)
Attila Kovacs replied to Eric Grange's topic in RTL and Delphi Object Pascal
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. -
Tracking down exception in initialization section ? (RaiseExceptObject)
Attila Kovacs replied to Eric Grange's topic in RTL and Delphi Object Pascal
I call MessageBox because ShowMessage had some issues before initialization.