Debug Eclipse SWT: SWTError: No more handles

11. August 2010

To debug the SWT Framework a tool called Sleak can be used, it is provided by SWT itself.

Link to a guide about Sleak 

The tool can be found at: http://www.eclipse.org/swt/tools.php

Eclipse

Delete locked files in Windows

3. August 2010

If you can't delete a file in windows because it is locked this tool can help you unlock it: Unlocker. Link

Windows 7, Windows Vista

Symbolic links in Windows

2. August 2010

To make a symbolic link in Windows 7 use the "mklink" command.

Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file symbolic link.

        /H      Creates a hard link instead of a symbolic link.

        /J      Creates a Directory Junction.

        Link    specifies the new symbolic link name.

        Target  specifies the path (relative or absolute) that the new link refers to.

An example is given at this site using-symlinks-in-windows-vista

Tools, Windows 7, Windows Vista

Windows 7, Windowvs Live Messenger Stopped working

30. July 2010

If you cannot even start Messenger without getting the "Stopped working" message box try to reset the settings in regedit:

HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger

Delete the value of the keys:

  • AppCompatCanary
  • AppSettings

This should make messenger reset the values and start up normally.

 

Microsoft suggests to do this as well:

link

Delete key UTL type REG_SZ with your email in: HKEY_CURRENT_USER\Software\Microsoft\MSNMessenger\PerPassportSettings\<Hash Number>

After sign in remember to change your display image.

Windows 7

Recover lost Windows password

8. July 2010

I found this tool at a Thinkpad wiki: Windows Password unlocker: http://www.thinkwiki.org/wiki/Maintenance#Cleaning_the_Interior

Tools

Windows 7 and Lenovo T60

20. April 2010

To avoid Monitor problems use the following driver:

http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-62923

To speed up the different .Net application from Lenovo the online verification can be turned of for the individual applications:

By saving this as the application .config

<?xml version="1.0" encoding="utf-8"?>
<?configuration>
<?runtime>
<?generatePublisherEvidence enabled="false"/>
<?/runtime>
<?/configuration>

http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-73758

Windows 7

Hosting iTunes as a Windows Service

14. April 2010

To host iTunes as a Windows Service under a User Account and not a system account this small program can be sued:

http://www.johncleary.net/2009/11/download-jtunes-here/

It enables you to install the service start/stop it and so it can run without a concrete user is logged in and have the program running. (Note: The service must be stopped to allow the GUI to be used, since only one instance of iTunes is allowed).

Tools

Extract files from a .msi install file

14. April 2010

To extract files from a .msi file at the command line, type:

msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo

For example, to extract files from f:\zenworks\zfdagent.msi into c:\zfd701 you would type:

msiexec /a f:\zenworks\zfdagent.msi /qb TARGETDIR=c:\zfd701

The destination directory does not need to exist prior to running this command.

Source 

Tools

Syntax highlighting for VDM

7. February 2010

Here are language files for VDM:

  • VDM-SL
  • VDM-PP
  • VDM-RT

vdm.lang (9.94 kb)

vdmpp.lang (10.15 kb)

vdmrt.lang (10.25 kb)

vdmsl.lang (9.95 kb)

vpp.lang (10.14 kb)

Tools, Ubuntu

DebugView

5. February 2010

DebugView is an application to monitor debug output.

From Microsoft TechNet:

DebugView is an application that lets you monitor debug output on your local system, or any computer on the network that you can reach via TCP/IP. It is capable of displaying both kernel-mode and Win32 debug output, so you don't need a debugger to catch the debug output your applications or device drivers generate, nor do you need to modify your applications or drivers to use non-standard debug output APIs.

Link

Windows Vista, Tools, C#