-
Content Count
3536 -
Joined
-
Last visited
-
Days Won
175
Posts posted by David Heffernan
-
-
I'd be surprised if converting from VCL to FMX was simple enough to be usefully automated.
-
Why would there be conflicts in files that you have not modified? My advice to you is that before you try to change the process to fix the problem, you make sure that you have fully diagnosed the problem.
- 2
-
If you are not working in A, B and C then you simply should never see any conflicts. My guess is that someone in your organisation is using git incorrectly. No reason at all that you should have any troubles with all this in a single repo.
- 2
-
7 hours ago, David Schwartz said:I think the repos should be set up on a per-project / import EXE / folder basis.
Oh. I took that to mean you want one repo for each of the 850 different variants.
-
850 repos for every client specific variation sounds kinda crazy. I suspect that you aren't getting great feedback here because your organisation's work flow is, er, unique.
- 2
-
14 minutes ago, Fr0sT.Brutal said:If you care about performance so much, you can use
if Ord(c) in [Ord('A')..Ord('Z')]
or
case c of 'A'..'Z': ... end;
Read Andy's comments to my answer in the SO post.
If you care about performance, measure it.
- 4
-
No reason to give any credence to that comment. Ignore it and move on.
Be happy that your code is not limited to text that can be encoded with whatever ANSI locale the machine it runs on is using.
- 2
- 1
-
Lightweight MREW sounds useful. One does wonder if it works, having experienced the monitor debacle.
- 1
-
These things are determined at compile time. You can't declare either at run time. So why do you feel this a run time issue?
-
FWIW, I have always installed Delphi, even as far back as D6 under program files. Once Vista and UAC arrived, I recall having to add a couple of permissive ACLs onto a couple of files, but it was pretty trivial. And had the benefit of keeping my machine nice and tidy.
I understand that people have different preferences, but I just wanted to point out that installing under program files is not as terrifying as it can be made out.
-
37 minutes ago, Lars Fosdal said:Windows 7 was released in 2009, and Delphi 7 was released in 2007. I guess it was not Windows 7 ready/aware.
UAC, virtualization, etc. was introduced with Vista in 2006
-
Doesn't virtualization take care of all of this? Or does the D7 IDE have an app manifest?
-
8 hours ago, dummzeuch said:D7 writes to its installation directory
What does it write there?
-
2 minutes ago, Fr0sT.Brutal said:Yep but I guess it's considered obsolete.
This topic is not about what is considered the right way to handle manifests. It's about tracking down the inclusion of a resource whose origin is not immediately obvious.
-
4 minutes ago, Fr0sT.Brutal said:XPman was there in D7 days, now the manifest is included by Project options -> Use runtime themes
XPMan is still there: http://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.XPMan.TXPManifest
-
The unit is named XPMan. Search for that.
-
You should have all your work in revision control. Then when your drive fails you still have it. Not to mention all the other benefits.
- 4
- 1
-
1 hour ago, Mike Torrettinni said:This seems to be the winner, so far.
It doesn't need any extra setting up (Funcs arrays, temp variables, ...). I can add as many as I need, and I don't need to change any other expressions (Result := A or B ...).
The simpler Result := Eval(...) or Result = A or B... looked really good in simple examples, but as soon as you have any comments needed or additional conditions, the winner becomes a better choice.
Thank you, I really appreciate all suggestions!
You still need comments for future readers.
- 2
-
It's automatically deleted here. Try setting up a brand new app and check how it behaves there.
-
3 hours ago, Edwin Yip said:But followed this HeidiSQL discussion this approach seems to be too issue-introducing...
I use SHAutoComplete and don't have any issues.
- 1
-
Why don't you use the native Win32 TEdit but just enable CTRL+BACKSPACE?
Call
SHAutoComplete(WindowHandle, SHACF_AUTOAPPEND_FORCE_OFF or SHACF_AUTOSUGGEST_FORCE_OFF);
in an overridden CreateWnd. Use an interposer, or some other mechanism to get this code to run.
- 1
-
16 minutes ago, Stefan Glienke said:That's why IMultiMap<TKey,TValue> from Spring4d is so cool
Only cool for the users. Mind-bending if it's your job to implement it!
- 1
- 1
-
Also the owned objects are destroyed when items are removed from the dictionary. This is the same ownership model as the classic TObjectList.
- 1
-
16 hours ago, at3s said:I'm interesting, if it's possible to call a Fortran function within the Delphi code like libopenblas.dll does?
When you said that I thought you meant that you were not able to call libopenblas from Delphi. But then you later said that you were doing that. So I still don't understand that statement.
Notwithstanding, I am sure you will be able to work out which library is best suited to your needs.
Open array parameters and subranges
in Tips / Blogs / Tutorials / Videos
Posted
What does this offer over what Stefan posted in his article?