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 2,977 other subscribers

Archive for July, 2014

TortoiseSvn – How do I move a file (or folder) from one folder to another (via: Stack Overflow)

Posted by jpluimers on 2014/07/31

It is the second – italic – paragraph what I always forget. Thanks Mark Embling!

To move a file or set of files using tortoise, right-click-and-drag the target files to their destination and release the right mouse button. The popup menu will have a ‘SVN move versioned files here’ option.

Note that the destination folder must have already been added to the repository for the ‘SVN move versioned files here’ option to appear.

Yes, it is also in the TortoiseSVN documentation under Deleting, Moving and Renaming and Copying/Moving/Renaming Files and Folders. But those are lacking emphasis on the the italic stuff.


via svn – How do I move a file (or folder) from one folder to another in TortoiseSVN? – Stack Overflow.

Posted in Development, Software Development, Source Code Management, Subversion/SVN | Leave a Comment »

Delphi: mapping of COM/Windows exceptions to Delphi Exceptions and run-time errors

Posted by jpluimers on 2014/07/30

Every time

Debugger Exception Notification
Project Some.exe raised exception class $C0000005 with message 'access violation at 0x00537b14: read of address 0x00000000'.
Break   Continue   Help

'Exception "EAccessViolation" with message "Access violation at address 00537B30 in module ''TestWordInterface.exe''. Read of address 00000000" at address 00537B30'

Access violation at address 00537B14 in module 'Some.exe'. Read of address 00000000.

In system.pas:

procedure       MapToRunError(P: PExceptionRecord); stdcall;
  STATUS_ACCESS_VIOLATION         = $C0000005;
  STATUS_FLOAT_OVERFLOW           = $C0000091;
  STATUS_FLOAT_STACK_CHECK        = $C0000092;
  STATUS_FLOAT_UNDERFLOW          = $C0000093;
  STATUS_INTEGER_OVERFLOW         = $C0000095;
  STATUS_STACK_OVERFLOW           = $C00000FD;
  STATUS_CONTROL_C_EXIT           = $C000013A;
  ErrCode: Byte;
  case P.ExceptionCode of
    STATUS_INTEGER_DIVIDE_BY_ZERO:  ErrCode := 200; { reDivByZero }
    STATUS_ARRAY_BOUNDS_EXCEEDED:   ErrCode := 201; { reRangeError }
    STATUS_FLOAT_OVERFLOW:          ErrCode := 205; { reOverflow }
    STATUS_FLOAT_STACK_CHECK:       ErrCode := 207; { reInvalidOp }
    STATUS_FLOAT_DIVIDE_BY_ZERO:    ErrCode := 200; { reZeroDivide }
    STATUS_INTEGER_OVERFLOW:        ErrCode := 215; { reIntOverflow}
    STATUS_FLOAT_DENORMAL_OPERAND:  ErrCode := 206; { reUnderflow }
    STATUS_ACCESS_VIOLATION:        ErrCode := 216; { reAccessViolation }
    STATUS_PRIVILEGED_INSTRUCTION:  ErrCode := 218; { rePrivInstruction }
    STATUS_CONTROL_C_EXIT:          ErrCode := 217; { reControlBreak }
    STATUS_STACK_OVERFLOW:          ErrCode := 202; { reStackOverflow }
  else                              ErrCode := 255;
  RunErrorAt(ErrCode, P.ExceptionAddress);

Posted in Algorithms, Development, Floating point handling, Software Development, Uncategorized | Leave a Comment »

Delphi: workaround for when you loose many of the ModelMaker Code Explorer keyboard shortcuts

Posted by jpluimers on 2014/07/29

ModelMaker Code Explorer (MMX for short) stores the keyboard shortcuts in the registry.

I’ve had it occur once that somehow most (about 95%) of the shortcuts got lost.

Two thinks I learned from resurrecting the shortcuts:

  • MMX writes these settings when you exit Delphi
  • Only a few keys (with lots of values under them) store the keys.

To resurrect them,

Read the rest of this entry »

Posted in Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Development, Software Development | Leave a Comment »

Linux: no more correct license file for AntiVir

Posted by jpluimers on 2014/07/28

A short while ago, I wrote about Linux: getting the correct license file for AntiVir.

Too bad that I recently read about the Discontinuation of Antivirus solutions for Linux systems on June 30th 2016.

This means the hbedv.key cannot be downloaded any more.


Posted in *nix, Power User | Leave a Comment »

Pin layouts of hardware

Posted by jpluimers on 2014/07/28

This is yet another post of some information I wish I had known years ago.

AllPinouts: a site that lists pin layouts of common and not so common hardware.

When writing this, the site had Statistics indicating over 3500 pages and close to 1000 pin layouts.

Layouts include cables and connectors for audio, video, computing and much much more.

These were the pin layouts I needed:

I found the 3 and 4 pin layouts also on this page: Desktop Boards — 3-wire and 4-wire fan connectors.

Another site with lots of Power Connectors is Toms Hardware. A good starting page is Additional Power Connectors: Peripheral, Floppy, And SATA – Power Supply 101: A Reference Of Specifications.

The reason I needed it was to add a front case fan to a couple of HP XW6600 workstations in order to improve cooling.

Both 80mm and 92mm fans will fit.

A couple of links:


Posted in Hardware, HP XW6600, Power User, Virtualization | Leave a Comment »

%d bloggers like this: