-
Content Count
2016 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
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. -
How to detect when a Form is active in Designer
Attila Kovacs replied to luciano_f's topic in GExperts
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 -
When will we have a 64-bit IDE version ?
Attila Kovacs replied to luciano_f's topic in Delphi IDE and APIs
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? -
Which Delphi version? I have a Ctrl-A patch unit in my Berlin but the only comment is that it's fixed in Tokyo 😄 edit: ok, it's something different from your issue.
-
Import / Export PIPE delimited text <> SQLite3 64Bit Database
Attila Kovacs replied to Blavatsky's topic in Databases
I don't really want to answer anything, I'm just making a remark that https://sqlitestudio.pl/ can import CSV files with a custom separator. It's such a basic feature, if "Database NET Pro 5" can't do that, drop it. I can't comment on the other issues related to slow data entry into a Unicode database, as it doesn't make much sense to me. 32,000 entries are not even that many. -
A lot of water has flowed under the bridge since the release of Berlin U2, and I'm starting to feel that I need a more recent version and there is this September discount until the 30th.. Is the current one as stable as Berlin?
-
Question: Is there a way to tell whether a method is overloaded using rtti?
Attila Kovacs replied to pyscripter's topic in RTL and Delphi Object Pascal
hm, right. I think virtual / overriden having a DispatchKind of dkVtable and overwitten different parent. A bit of puzzle. -
Question: Is there a way to tell whether a method is overloaded using rtti?
Attila Kovacs replied to pyscripter's topic in RTL and Delphi Object Pascal
Yes and no. The overloaded methods will be listed one by one with the same name in getmethods but only the public ones. -
What DB are you using? Does it have a logfile? Can it be turned into verbose mode?
-
can you spot here your exe or path? Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
-
Which one is the GOOD news?
-
Holy cow, can you enable saving the html? a part of the FlexCel library o.O Sagittarius in the FlexCel universe.
-
did you restart the PC?
-
Did you try to relocate the computer in the room?
-
We still don't know what "works" means and why is there nothing to debug?
-
It's FSK 12, I could suggest to consult a doctor if you are disturbed by those words.