Posts

Showing posts from October, 2015

DelphiDabbler.com - Live Or Die?

Image
If you're one of the regular visitors to DelphiDabbler.com then you may have noticed that it's not been updated much over the last year or so. Same goes for this blog, my applications, the code library and the code snippets database . What it boils down to is this: the time has come to decide whether to continue with the site or not.   And I need your help to decide. There are a couple of reasons why I've got to this point. The first is that my interest in music, playing the guitar and recording has resurfaced and it's taking up some of my spare time. The second, and most important, reason is that I'm getting disillusioned with Delphi (the compiler, not the language). I just can't, or won't, keep up with the cost of upgrades. The problem is that I'm just a hobbyist developer and the cost of staying up to date is getting prohibitive. I feel I'm getting more reward by spending my cash on musical instruments and studio kit than on a constant stre

Delphi XE and ShellExecute glitch

Just encountered a strange bug in one of my programs when running it from the Delphi XE IDE on Windows 10. Triggering a TBrowseURL action with a valid URL property value causes the program to hang and the default browser (Chrome) is not displayed. The BeforeBrowse event is triggered, but AfterBrowse is not until the program is closed. Sometimes the program hangs and I have to close it with Ctrl+F2. Running the same code outside the IDE works correctly, but running the program either with or without the debugger in the IDE makes no difference. I've tracked this down to where TBrowseURL calls ShellExecute from the ShellAPI unit. If I call ShellExecute directly I get the same problem. I never noticed this problem before when running Windows 7 on my old laptop - it just seems to have started on my new Windows 10 laptop. Still, it's possible the bug was still there on the old machine and I just never noticed it, but I doubt it. Anyone else had this problem? Any ideas what may be cau