-
Content Count
3019 -
Joined
-
Last visited
-
Days Won
108
Posts posted by dummzeuch
-
-
Two more formatter bugs just got axed:
#133 Code formatter does not support the "Final" keyword
#134: Formatter does not handle variant records with methods correctly
Also found a problem with the Uses Expert, but that was not in the released code yet.
-
1
-
-
When you register a new wizard with the IDE using the Open Tools API function IOTAWizardServices.AddWizard you get an index back.
Is there a way to get any information about wizards added that way? I'd prefer getting a list of them with the associated index, but a function that for a given index gives me information about that wizard would also be fine.
The reason I'm asking is that I sometimes get an error message when closing the IDE telling me about an error in Wizard xx, where xx is a number (17 in my case), and I would like to know which of the installed wizards is causing it without having to disable each of them and hoping the error occurs (which does not happen reliably enough for this method).
-
1
-
-
My recommendation is simple: Don't use the WITH keyword.
There are not just the problems you mention. It can also be difficult to determine the scope of an identifier within a WITH block. Example:
var Caption: char; procedure TMyForm.Button1Click(Sender: TObject); type TSomeRec = record Caption: integer; end; var Caption: double; SomeRec: TSomeRec; begin // [lots of code] with SomeRec do begin // [lots of code] Caption := 'bla'; // <- which Caption variable/property/field is accessed here? And why does it not compile? end; end;
We have had this discussion so many times that it is really pointless to start it afresh. Just google it.
-
1
-
-
Unfortunately I don't have an existing installation. But I would be more interested in the source code anyway.
-
2 hours ago, chkaufmann said:I had to deactivate the GExperts project manager. Now I can open a .dproj and the previous will be closed. Not perfect, but one problem less.
There is nothing called "project manager" in GExperts. What functionality exactly are you talking about?
-
Which functions / classes are missing if you remove that unit?
-
Google translates this to: FW123-The website may have filing problems or sensitive information. Please check the filing status or website content.
Not sure what it means.
-
5 hours ago, Bill Meyer said:The limitations on RDP are very sad. I understand in Windows 7 that Ultimate was a requirement for multiple -- not spanned -- monitor operation. Not happy with it, but at least it was a clear policy position.
With Windows 10, I have searched and searched, and have yet to find any clear statement as to multiple monitor operations with RDP.
I can't say anything about Windows 10, but with Windows 8 Remote Desktop's dual monitor support is available with pro and works quite well. (It's probably multi monitor support, but I've got only two.)
-
7 hours ago, Mike Torrettinni said:I can extend my VM to 3 monitors and no change in performance, still annoying little delays, but no worse than on 1 monitor.
Have you tried Remote Desktop yet?
-
One option to consider: Instead of using the monitor/mouse/keyboard emulation of the VM, try connecting to the VM through Remote Desktop. In my experience that makes a lot of a difference.
-
3
-
-
26 minutes ago, PeterPanettone said:No, but seriously: Is it allowed to use a closed source DLL dependence? Or do you know a good open-source diagram component?
That depends on the license of that DLL, I guess. This sounds as if you have got a particular DLL in mind. Which one?
-
So, when can I expect a patch, that implements this functionality?
-
38 minutes ago, Lars Fosdal said:How many of these are spammers?
So far I have only seen a single spam post here. Not sure whether the reason is that there aren't that many or that people and admins are fast in reporting and removing it.
-
Yet another one. 😉
I guess sooner or later everybody ends up writing his own, because the built in one is/was not up to par and none of the publicly available ones was popular enough. (When I wrote mine in 2006 I searched for an existing solution that fit my needs and found none.)
Here is mine:
https://osdn.net/projects/dzlib-tools/scm/svn/blobs/head/dzlib/trunk/src/u_dzCmdLineParser.pas
It allows to register options with and without parameters as well as parameters and can generate help for them. The latter was the feature I was missing with any existing solutions I found.
-
1
-
-
I second VirtualTreeview, but be prepared for a steep learning curve.
(Every time I use it in a new project I have to look up how to use it.)
-
Try do temporarily disable your virus scanner and see whether the problem goes away.
(That's the only idea I came up with, everything else is so obvious that I think you probably already tried it.)
-
The assertion in SynTextDrawer usually only happens after another exception on exit, that probably prevented DeactivateFontInfos from being called. I have yet to find the cause. The Assertion is new, introduced by my recent update of SynEdit to the current version from GitHub.
I have just played a bit with the "disable all editor enhancements" option, no crash at all.
10.3.2 seems to be usable now. I'll try to do some work in it and see if I can reproduce the problem.
-
1
-
-
3 hours ago, Lars Fosdal said:So many apps today no longer follows the Windows Theme color settings. That annoys me.
Given some of the available color schemes that might be a feature. 😉
-
2
-
-
Since I have never used GetIt for anything: Does installing those components that are free (not just demos) and those that you can buy via GetIt (is that actually possible?) also install the source code?
In that case I would not bother backing up the components or any installer files but would move the source code to my own SCM. Whenever an update from GetIt is available, I would then update that SCM. Updating from GetIt would only be done on one particular installation, every other installation would use files from the SCM.
In particular I would expect a company that uses Delphi to have a policy of never directly using GetIt and never use binary only components. Any company that does not have such a policy I consider likely to go belly up in the near future. It has become more likely that a component vendor goes out of business than ever before.
(OTOH, I am not sure whether a company that uses Delphi nowdays isn't doomed anyway. But hey, I am working or one. 😉 )
-
3
-
1
-
-
Stored window sizes and positions (in whatever) should not roam, unless one can be sure that the user always has the same hardware.
That's why I switched to the registry from a centrally stored ini file (the latter could also be questioned, but in this particular case it makes sense to have a common configuration for all users).
-
2 hours ago, Hunni said:Intersting. The other menus seem to be fine, only the PE Information has this behaviour.
I'd bet that the problem would go away if I removed the icons. (But I haven't tried it yet.) Theming is 💩
-
I haven't used it really, but isn't code folding meant for exactly that use case? There is code that you don't want to see, so fold it away.
Of course automating that would be really nice, which brings us back to the parsing requirement.
-
2 hours ago, LCAO-MO said:It's in-process-server (file AddinATools.dll), programmed in delphi language.
Thanks for the suggestion, but that sounds like quite some overkill for my purpose.
-
So you want the compiler to check all the references for you without giving it the references to check? Not possible.
You could put all the form variables into a global unit, typed as TForm and only use that unit.
Unit AllMyForms;
Interface
Uses Forms;
Var
TheMainForm: TForm;
ASecondaryForm: TForm;
Implementation
End.
Unit TheMainFormUnit;
Interface
Type
TTheMainForm = class (TForm)
// stuff here
end;
// remove the variable declaration here
// Var
// TheMainForm : TTheMainForm;
I'm not sure this would work. It might wreak havoc with the IDE.
(Sorry for the source code mess. I'm on mobile and for whatever reason there is no insert source code button.)
-
1
-
Is there a way to get the wizard name / executable from a nindex?
in Delphi IDE and APIs
Posted
I didn't say that I think some other wizard is causing mine to crash. I just know that there is one wizard which crashes the IDE (or rather causes the error message) on shutdown.
I am not sure that it is my wizards that's causing the crash. That's why I wanted so see which one "expert17" actually is. If it's mine, I have to look further, if it's another one, I might just have to live with it.
Yes, of course I have tried to debug it. I have found one problem that might have caused the error (never mix interfaces and object references...). It hasn't occurred since then, but that might just have been pure chance.
Yes, I do. The wizard I am talking about is GExperts, so listing what it does might be rather time consuming. It depends on the default IDE designtime and runtime packages.