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 August, 2013

Mouse Jiggler – MouseJiggle.exe will (virtually) move your mouse cursor so the screen saver does not start

Posted by jpluimers on 2013/08/12

Ideal to prevent unwanted screen savers: MouseJiggle.exe

  • Required .NET framework 2.0.
  • Commandline parameter -j or –jiggle will autostart it.
  • Works on all Windows versions I tried (including Windows 7 and up)
  • Does not prevent RDP/MSTSC idle detection imposed by the Session Time Limits group policy.

–jeroen

via: Mouse Jiggler – Documentation.

Posted in Power User, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | Leave a Comment »

When your Delphi XE Browsing Path has been destroyed Ken White to the rescue (via: Stack Overflow)

Posted by jpluimers on 2013/08/11

Something overwrote the Browsing Path of my Delphi XE installation.

Symptoms:

  • When debugging a project in “use debug DCUs” mode, the IDE cannot find RTL, VCL and Indy units.
  • When you type `System` in a source file, then press `Ctrl+Enter`, the IDE cannot find the source code to the `System.pas` unit.

It was faster to examine the Delphi XE Library registry settings from Ken White than comparing them with a backup or a fresh Delphi XE install.

Now it works fine…

–jeroen

via: Delphi can’t find System.dcu; what should the default path settings be? – Stack Overflow.

Posted in About, Delphi, Delphi XE, Development, Software Development | Tagged: , , | 2 Comments »

LOTR Prequels – YouTube

Posted by jpluimers on 2013/08/10

Fun! LOTR Prequels – YouTube.

Posted in About, Personal | Leave a Comment »

Must Read: Penny Pinching in the Cloud: When do Azure Websites make sense? – Scott Hanselman

Posted by jpluimers on 2013/08/10

Scott Hanselman wrote a Must Read post on Penny Pinching in the Cloud: When do Azure Websites make sense?

The first comment says it all:

Nuts, maybe marketing should put out more stuff like this. I have looked at Azure in the past and learned more from this post than then reading through all the pages of pricing on the Azure site. Thanks

Be sure to also read the comments, for instance this one, as they cover some more in depth explanation.

–jeroen

via: Penny Pinching in the Cloud: When do Azure Websites make sense? – Scott Hanselman.

Posted in Development, Power User, Software Development, Windows, Windows Azure | Leave a Comment »

Reminder to self: Delphi XE2 x64 debugging on Windows 8 is a no go, you get [Error] Disconnected session

Posted by jpluimers on 2013/08/09

Just found out this the hard way, glad I found it soon which prevented me from doing like Ondrej Kelle – Google+ – Wasted a few hours with this….:

Debugging 64 bit Delphi applications with Delphi XE2 on Windows 8 does not work

Problem: Debugging a 64 bit Delphi application using Delphi XE2 with Windows 8 results in the error Disconnected session.

Solution: Windows 8 is not a supported platform for versions of Delphi prior to Delphi XE3. To get debugger support for 64 bit applications on Windows 8, you must get Delphi XE3. If you are upgrade sensitive, Embarcadero recommends you get Support and Maintenance along with your next purchase. Support and Maintenance guarantees you all updates for 1 year and gets you 3 support incidents in addition.

The proposed solution is to upgrade to at lease Delphi XE3, but this project is not ready to upgrade just yet.

Anybody with a real workaround (apart from downgrading to Windows 7)?

–jeroen

via Error: Disconnected session.

Posted in Delphi, Delphi XE2, Development, Software Development | 4 Comments »

On managing Facebook groups and delegating admin rights: What is a group admin? | Facebook Help Center

Posted by jpluimers on 2013/08/09

This page didn’t end up high when searching for delegate Facebook group management.

So that I won’t forget:

What is a group admin?

In addition to everything that group members can do, a group admin can:

  • Edit the group description and settings
  • Add more admins to a group
  • Remove abusive posts, and remove or ban members

You’re automatically an admin if you create a group. Otherwise, if you join a group that already has one or more admins, you can ask any of the existing admins to add you as an admin. If you’re a member of a group with no admins, you can become an admin by clicking Make Me Admin under Members in the right column.

–jeroen

via What is a group admin? | Facebook Help Center.

Posted in Facebook, Power User, SocialMedia | Leave a Comment »

.NET/C#: some starting posts on the `yield` keyword.

Posted by jpluimers on 2013/08/08

Peter Leslie Morris asked if Delphi already incorporates the `yield` keyword that C# had introduced in C# 2.

Delphi doesn’t, but for the people interested what it does in C#:

Basically `yield` is syntactic sugar to make it a lot easier to write methods that return enumerators of some sort.

It delays (hence the yield keyword) execution until the enumerator as actually being used.

It is one of the hardest C# things to master (it is the most complicated transformation in the compiler, followed by anonymous methods – well maybe with the exception of async/await), but it can be very useful.

VB.NET doesn’t have it either (thanks André!) has it too, but and also has iterator blocks.

Some start posts on yield:

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Delphi, Development, Software Development | 10 Comments »

CLR week on the Old New Thing has started: first one about Static Constructors

Posted by jpluimers on 2013/08/06

Finally a new CLR Week on the Old New Thing.

It starts with via: Why does BitConverter.LittleEndian return false on my x86 machine? which is all about static constructors.

So you should read these as well:

(Note that virtually anything from Eric Lippert and Jon Skeet it worth reading anyway).

--jeroen

via: Why does BitConverter.LittleEndian return false on my x86 machine? – The Old New Thing – Site Home – MSDN Blogs.

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, Development, Jon Skeet, Software Development | Leave a Comment »

It works! Install Visual Studio 2010 AFTER Visual Studio 2012 – Stack Overflow

Posted by jpluimers on 2013/08/06

Never thought this would work so smoothly: Install Visual Studio 2010 AFTER Visual Studio 2012 – Stack Overflow.

–jeroen

Posted in .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Development, Software Development, VB.NET, VB.NET 10.0, VB.NET 11.0, VB.NET 8.0, VB.NET 9.0, Visual Studio 11, Visual Studio 2010, Visual Studio and tools | 7 Comments »

delphi – Winrollback/DeepFreeze How these softwares work? – Stack Overflow

Posted by jpluimers on 2013/08/06

StackOverflow user opcOde wrote something interesting:

Writing device drivers in delphi is hard to impossible.

Here is an attempt to write drivers in delphi.

It is funny to see the link pointing to the DelphiBasics site: Advanced Delphi Driver Development Kit – DelphiBasics.

On my list of things to remember: might come in very useful one day (:

Note that opcOde also has an interesting blog: opc0de | just another enthusiastic coder.

–jeroen

via delphi – Winrollback/DeepFreeze How these softwares work? – Stack Overflow.

Posted in Delphi, Delphi 2010, Delphi 7, Development, Software Development | 9 Comments »