Friday, 11 November 2016

Code::blocks gdb cannot find file

Problem:

Debugging in code::blocks using gdb, hits a breakpoint and reports cannot find file.

Solution:

1. Open regedit.

2. Create the following paths (selecting New->Key)

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\

HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2

In both create a string:

name: cygdrive prefix

value: /cygdrive

Restart code::blocks, now gdb will find the file when hitting a breakpoint.

Sunday, 6 November 2016

Paintshoppro 9 open command regedit

Installing PSP/Paintshoppro on windows 7. Double clicking the file is screwy. What you need to do is open regedit. go to HKEY_CLASSES_ROOT\Applications\Paint Shop Pro 9.exe\shell\Open\command double click Default enter: "C:\Program Files (x86)\Jasc Software Inc\Paint Shop Pro 9\Paint Shop Pro 9.exe" "%1" %* (or where ever you installed it) Then delete the dde folder in Open. Otherwise windows 7 will open the image file you double click as a DDE link to open and PSP reports "there was a problem opening this file"