| bio | website | |
|---|---|---|
| location | Ulverston, United Kingdom | |
| age | 42 | |
| visits | member for | 2 years, 6 months |
| seen | Mar 30 at 9:52 | |
| stats | profile views | 162 |
Twitter @davidheff
Answers that I frequently refer to:
- How does accepting an answer work?
- How to return text from Native (C++) code
- How can I allow a form to accept file dropping without handling Windows messages?
- TLabel and TGroupbox Captions Flicker on Resize
- How do I make my GUI behave well when Windows font scaling is greater than 100%
- Buffered files (for faster disk access)
- TProgressBar never fills up all the way - seems to be updating too fast?
- Why should I not use "if Assigned()" before using or freeing things?
- Control enumerators to turn recursive parent/child walking into simple for/in loops
- List of Delphi language features and version in which they were introduced/deprecated
- Undefined Behavior and Sequence Points
- Reduce exe file
- How can I make a form that is not disabled when another form is shown modally?
- How can I stop my application showing on the taskbar?
- Simply code hooking
- Consumer thread / blocking queue
Other useful resources:
- Rob Kennedy's What is the exact value of a floating-point variable?
- Launching an interactive process from Windows Service in Windows Vista and later
- Teach Your Apps To Play Nicely With Windows Vista User Account Control
- Window Features
- Short, Self Contained, Correct (Compilable), Example
- Raymond Chen's epic series on modality
|
Jul 7 |
awarded | Nice Answer |
|
Jun 20 |
comment |
Is “no installation” software a good thing? I don't really care how it's installed so long as it does the job |
|
Jun 19 |
comment |
C++ For C# programmers Trial and error? I don't think so! |
|
Jun 6 |
comment |
Which of these 3 languages is easiest to convert to Delphi? This really is your answer. You'll be up and running the quickest and you'll know that the code is correct. When the developer brings out an upgraded version you'll be able to use it and not have to port again! |
|
May 21 |
comment |
Fast cold start text editor It's not free, if that is relevant. |
|
May 20 |
awarded | Mortarboard |
|
May 20 |
comment |
Best practices concerning exit in Delphi @Nick I know what you mean. That sort of "prove it to me" approach is certainly very useful in much more complex functions. |
|
May 20 |
comment |
Best practices concerning exit in Delphi @uwe Consensus is often taken to mean a majority. So there's no reason why a consensus could not be reached. |
|
May 19 |
comment |
Best practices concerning exit in Delphi @stijn your understanding is incorrect it does not raise an exception. If it did it would propagate up the exception handler chain in the call stack. |
|
May 19 |
answered | Library version control best practices |
|
May 19 |
comment |
Best practices concerning exit in Delphi @Mason Then you would need a begin/end. |
|
May 19 |
comment |
Best practices concerning exit in Delphi I think this is an over-simplified view of the issue. You can't really mean that programming guidelines would be the only reason to avoid using exit. |
|
May 19 |
comment |
Best practices concerning exit in Delphi @Nick What warning? When moved inside the if, the compiler can determine that Result is always assigned to. |
|
May 19 |
comment |
Best practices concerning exit in Delphi Why would you set Result := False outside the if statement? That appears wasteful and imprecise. |
|
May 19 |
answered | Best practices concerning exit in Delphi |
|
May 18 |
comment |
Why to let / not let developers test their own work Developers are best placed to find some bugs, testers are best placed to find others. Who says it has to be either or? |
|
May 12 |
comment |
Correct pronunciation of `:=` +1 "gets" is how you pronounce it in S or R where it is written <- I like gets. |
|
May 12 |
comment |
Correct pronunciation of `:=` "A equals 5" is not quite A = 5, that should be "A is equal to 5". |
|
May 12 |
answered | Correct pronunciation of `:=` |
|
Apr 11 |
comment |
Copyrighting New Ideas "Should I create the control?" Do you want to keep your new job? |