The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,862 other subscribers

Archive for June, 2014

Team Foundation Server Express and Team Foundation Service: some links

Posted by jpluimers on 2014/06/04

I know covering TFS 2012 has been in the blog queue for way too long (:

A few links:

–jeroen

PS: Nowadays, Team Foundation Service is called “Visual Studio Online”. But many people still call it TFS. See www.visualstudio.com

Posted in CodePlex, Development, DVCS - Distributed Version Control, git, Software Development, Source Code Management, TFS (Team Foundation System) | 1 Comment »

Delphi multithreading and DLL exports: watch your exceptions (via: Stack Overflow)

Posted by jpluimers on 2014/06/03

Talking about Danny Thorpe: he also posted a nice hint on threading methods for ancient Delphi versions that equally applies to DLL exports in any Delphi version, even any programming environment.

Recently, I had to do some surgery in such a Pre-Delphi 6 application, and I was really happy to remember this answer: it instantly solved some process crashes, and the added logging allowed for investigating the actual cause.

Note that this tip isn’t just a good advice for old Delphi versions.

Even in younger Delphi versions, you have to watch methods that can be called from outside a regular Delphi context, for instance exported methods.

Heck, it applies to virtually any development environment: exceptions usually are very specific to that environment and should never cross a process boundary.

Summary

Take the approach below

  • for Execute methods in your own thread classes in Delphi 5 or earlier
  • for any method that can be called externally (like DLL exports) Read the rest of this entry »

Posted in Delphi, Delphi 1, Delphi 2, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 3, Delphi 4, Delphi 5, Delphi 6, Delphi 7, Delphi 8, Delphi x64, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | Leave a Comment »

Registry keys to prevent Java installs from adding sponsors (Ask/Google/Yahoo Toolbar, McAfee virus, etc) via: Super User

Posted by jpluimers on 2014/06/02

One of the reasons I quit Java development a while ago is that for years, each and every Java client update on Windows wants to install “add-ons” like Ask/Google/Yahoo toolbars, McAfee viruses, etc.

Many people have complained about it, just to name a few and show an on-line petition against it:

There are many cumbersome ways around it:

Though suited for corporate installs, all of those are impractical when your friends keep calling “hey, how do I get rid of these toolbars” and you cannot control their complete install process.

Super User user Danilo Roascio made my day when wanting to get rid of that behaviour.

His registry way to prevent those installs is way easier!

It not only disables the installs of any sponsored add-on, the Java update does not even show the checkbox any more (so the install process is shorter).

This is what he answered: Read the rest of this entry »

Posted in Development, Java, Power User, Software Development | 5 Comments »