Delphi programming
It's a matter of mindset
Submitted by ldsandon on Sat, 2010-06-26 22:08When I wrote the QC entry about Datasnap 2010 HTTP client missing proxy support, I marked it as a bug. It was later changed by a sysop to an "enhancement request". That simple change shows why Delphi is in the actual state. It's a problem of mindset. Embarcadero people still lack the mindset to deliver applications made for the 2010s.
- ldsandon's blog
- Login to post comments
- Read more
Why Datasnap 2010 is a toy library
Submitted by ldsandon on Tue, 2010-06-15 20:01To this StackOverflow question, I simply answered to forget D2010 Datasnap because IMHO it is only half-backed and lacks several needed features and is not flexible. Two people commented my answer was not helpful, and wrote Datasnap is absolutely flexible (later one comment was withdrawn). I am going to explain in details why the "new" Datasnap is not a usable solution for remoting in Delphi, and while the "old", DCOM based one is under several aspects far more powerful although DCOM is a complex beast to use, and Delphi doesn't exploit its power fully.
- ldsandon's blog
- Login to post comments
- Read more
Dr. Bob "discovers" Datasnap 2010 security is nonexistent
Submitted by ldsandon on Sun, 2010-01-24 23:50I've complained a lot about the security (or better, lack of) of Datasnap 2010. The usual answer was that I was wrong, and anyway filters could be used to implement it. Now Bob Swart - who wrote the Delphi 2010 Datasnap white paper - filed two QC entries about Datasnap security. The first asking for HTTPS support, the other reporting a serious performance issue when using filters.
- ldsandon's blog
- Login to post comments
- Read more
Delphi the chauvinist
Submitted by ldsandon on Thu, 2009-11-19 18:06In the "global" market of today, with the Internet enabling you to sell you software everywhere in the world, you may think great care would be given to localization tools. Delphi ones reached a barely usable state in Delphi 7, and you may think BorCodeDero could only improve it since then. No. They did and still are doing the best to ensure Delphi can't localize applications by itself.
- ldsandon's blog
- Login to post comments
- Read more
Delphi@Embarcadero: in the wrong hands?
Submitted by ldsandon on Tue, 2009-10-13 16:41Lately I started to ask myself if all the cheerings about Embarcadero being the right home for Delphi were wrong. I do not mind they killed the CodeGear brand, I never believed in it. And being Italian, I have no problem to spell Embarcadero. I just feel almost nothing is changed from Borland days, and new issues look to arise.
- ldsandon's blog
- Login to post comments
- Read more
Delphi "Greed" Edition
Submitted by ldsandon on Wed, 2009-09-23 21:06In the last year often pop up articles, blog or forum posts (like this), asking for a very low cost of free edition of Delphi. Most of them build up a business case for the use they would made of it, although noone tries to build a business case for Embarcadero to demonstrate releasing a free edition is sutainable and won't impact revenues, or increases them. Let's analyze the motivations most advocates of a free release bring.
- ldsandon's blog
- Login to post comments
- Read more
Debugging Delphi applications with ProcessExplorer or WinDbg
Submitted by ldsandon on Wed, 2009-08-19 11:50In these days I was working on tracking down a bug causing a service of ours to stop processing data. It didn't happen often, and was not simple to reproduce - it may take hours or days to appear, and was easir to see it on test/production machine than on my own development PC. Inspecting a system with SysInternals ProcessExplorer (after configuring it to download Windows symbols), showed in all processing threads a call stak like this:
- ldsandon's blog
- Login to post comments
- Read more
DCOM callbacks and "Simple file sharing"
Submitted by ldsandon on Tue, 2009-05-05 22:27In the past days I hit another DCOM issue: callbacks do not work if "Simple file sharing" is enabled (Settings → Control Panel → Folder Options → View). That's because the full name of that option is "Simple file sharing and ForceGuest". When enabled, Windows will ignore incoming calls credentials and will authenticate everybody as "guests".
- ldsandon's blog
- Login to post comments
- Read more
DCOM, Delphi and Windows short filenames
Submitted by ldsandon on Mon, 2009-03-02 21:28While trying to undestand why a Delphi DCOM server was properly instantiated while set up to run as "launching user", but hung when run using "this user", I found out - comparing the setup on a machine where it works and one where it doesn't - that if the server exectable name is longer than eight character the server may get registered with a mix of long and short filenames in the registry.
- ldsandon's blog
- Login to post comments
- Read more
Making Delphi work with DCOM
Submitted by ldsandon on Sun, 2009-02-01 23:20In the past few days I had many troubles making our application work when the client was installed on a PC outside the application domain. It was due to several Delphi 2007 issues with DCOM.
- ldsandon's blog
- Login to post comments
- Read more
