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.
Friday, 11 November 2016
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"
Wednesday, 5 October 2016
Sades SA-902 USB headphones too loud. Windows 7
If you have to lower the main volume down to 1% but still find its too loud:
1. Go to the volume mixer (remove headphones to avoid hearing damage)
2. Set the volume of the main volume to 100%
3. Set the volume of your source application (e.g. Firefox, VLC, media player ) down to 5%
4. Now pull the main volume down to say 5%
This means the source is now 5% of 5%, (which is now 0.25%). Instead of 100% of 1% (1%)
When is 0.25% a lot more pleasurable to listen to than 1%? When you own a pair of Sades SA-902's
1. Go to the volume mixer (remove headphones to avoid hearing damage)
2. Set the volume of the main volume to 100%
3. Set the volume of your source application (e.g. Firefox, VLC, media player ) down to 5%
4. Now pull the main volume down to say 5%
This means the source is now 5% of 5%, (which is now 0.25%). Instead of 100% of 1% (1%)
When is 0.25% a lot more pleasurable to listen to than 1%? When you own a pair of Sades SA-902's
Our Sponsor:http://www.gamesprogrammer.com
Sunday, 2 October 2016
Windows 7, Fix no date on time in task tray
1. Right mouse click on the start button
2. Select properties
3. Select taskbar tab
4. uncheck "Use small icons"
Our Sponsor:http://www.gamesprogrammer.com
Thursday, 1 September 2016
File System
When formatting ssd/hd/sshd media on Windows you have these options for File System:
Data integrity: NTFS is the only option. Other formats could be used but any transfer of files needs stored file integrity verification.
File System Name | Fat16 | Fat32 | exFAT | NTFS |
Volume limit | 4GB | 2TB | 128PB | 2TB |
File limit | 2GB | 4GB | 16EB | 16EB |
Security | O | O | O | X |
Corruption prevention | O | O | O | X |
Comment | Old / Obsolete | Some limits | Journaling prevents corruption Not supported by Windows Phones |
|
Time Response | - | 2000ms | 10ms | 100ns |
Support | Rare | Majority | Some | Most |
Over head | Light | Light | Medium | Heavy |
Data integrity: NTFS is the only option. Other formats could be used but any transfer of files needs stored file integrity verification.
Monday, 29 August 2016
HP ENVY TouchSmart 15-j144na Notebook PC
Drivers
http://support.hp.com/us-en/drivers/selfservice/HP-ENVY-15-Notebook-PC-series/5401191/model/7264959
Specification:
Aluminium finish
15.6" 1920x1080 Full HD BrightView LED-backlit touch screen
1TB SSHD SATA
4x USB 3.0,
http://support.hp.com/us-en/drivers/selfservice/HP-ENVY-15-Notebook-PC-series/5401191/model/7264959
Specification:
Aluminium finish
15.6" 1920x1080 Full HD BrightView LED-backlit touch screen
1TB SSHD SATA
4x USB 3.0,
1x HDMI (up to 4K),
1x RJ45 (1GB)
Quad-core 4th gen Intel Core i7-4700MQ 2.4GHz to 3.4GHz with Turbo Boost
NVIDIA GeForce GT 840M with 2GB of dedicated memory
16GB RAM
Windows 8.1 (64 Bit)
Beats Audio with 4 speakers and two Subwoofers
Full-size, island-style backlit keyboard with numeric keypad
Quad-core 4th gen Intel Core i7-4700MQ 2.4GHz to 3.4GHz with Turbo Boost
NVIDIA GeForce GT 840M with 2GB of dedicated memory
16GB RAM
Windows 8.1 (64 Bit)
Beats Audio with 4 speakers and two Subwoofers
Full-size, island-style backlit keyboard with numeric keypad
Weight 2.56kg (note theres a 50g metal ballast inside for balance, you can throw it in the bin)
iPhone 5s constant white scree with apple logo
Scenario: A friends iphone 5s was indefinitely stuck on the white screen and apple logo until the battery ran out.
Apparently this can be fixed using third party software, but it has to be paid for which I didn't care to do.
Its was possible to restart the phone in update mode and get iTunes to check for upgrading the OS, except it errored, so the next thing is try a restore (not this will lose data not stored on iCloud):
To perform a restore.
1 get the latest iTunes installed,
2 plug the iPhone 5s in via usb,
3 hold home and hold power,
4 the screen will go blank, keep holding the home button, for a couple minutes
5 iTunes will find it and do prompts to download software (1.85GB)
6 let go of home button
7 when the download finishes, continue the prompts for restore.
8 once the phone is restored it restarts and prompts language (or no sim card)
The phone is now usable, but all your data is gone.
Note:
1. Turning the iPhone off is possible by holding down the home butting, and keeping it held while holding down the power button, The screen goes off, keep held 2 seconds more then release.
Apparently this can be fixed using third party software, but it has to be paid for which I didn't care to do.
Its was possible to restart the phone in update mode and get iTunes to check for upgrading the OS, except it errored, so the next thing is try a restore (not this will lose data not stored on iCloud):
To perform a restore.
1 get the latest iTunes installed,
2 plug the iPhone 5s in via usb,
3 hold home and hold power,
4 the screen will go blank, keep holding the home button, for a couple minutes
5 iTunes will find it and do prompts to download software (1.85GB)
6 let go of home button
7 when the download finishes, continue the prompts for restore.
8 once the phone is restored it restarts and prompts language (or no sim card)
The phone is now usable, but all your data is gone.
Note:
1. Turning the iPhone off is possible by holding down the home butting, and keeping it held while holding down the power button, The screen goes off, keep held 2 seconds more then release.
Wednesday, 24 August 2016
Thee monitors P8Z68-V LX, integrated gfx and gfx card.
Update 2020-May-1st: As of version 2.10.1208 BIOS the Primary GFX setting has been removed and 3 screens should work automatically.
Original Post:
To get more than 2 monitors on the P8Z68 you can use the display connections on the motherboard in addition to your dedicated gfx card.
To make this happen, go in to BIOS and ensure the following settings are set:
1. Primary GFX: iGFX (this sets the primary display to be connected to the motherboard, yes, unfortunately this has to be set and catches people out)
Note that you can only use the HDMI or DVI connection on the P8Z68, but not both at the same time, you can use the VGA in addition to either the HDMI or DVI.
Original Post:
To get more than 2 monitors on the P8Z68 you can use the display connections on the motherboard in addition to your dedicated gfx card.
To make this happen, go in to BIOS and ensure the following settings are set:
1. Primary GFX: iGFX (this sets the primary display to be connected to the motherboard, yes, unfortunately this has to be set and catches people out)
Note that you can only use the HDMI or DVI connection on the P8Z68, but not both at the same time, you can use the VGA in addition to either the HDMI or DVI.
Windows 7 & Cambridge Silicon Radio Bluetooth CSR8510 A10 not playing to K-mart's Blaze speaker.
The bluetooth drivers provided by windows don't provide all the services for the Cambridge Silicon Radio Bluetooth CSR8510 A10 adapter.
After installing CSR's full drivers for this bluetooth device, and pair with the Blaze speaker, you then find theres 3 devices not correctly installed in device manager:
CsrBtPort_Enumerated_device_00 Failed
CsrBtPort_Enumerated_device_00 Failed
CsrBtPort_Enumerated_device_00 Failed
If you look in properties the devices say “The name is already in use either as a service name or a service display name.” This means there are old services using old drivers stopping the new devices from functioning.
To fix this you need to remove the old devices/services from the registry.
This link describes in full detail the information above.
http://goughlui.com/2014/02/22/avantree-bluetooth-4-0-micro-usb-dongle/
After installing CSR's full drivers for this bluetooth device, and pair with the Blaze speaker, you then find theres 3 devices not correctly installed in device manager:
CsrBtPort_Enumerated_device_00 Failed
CsrBtPort_Enumerated_device_00 Failed
CsrBtPort_Enumerated_device_00 Failed
If you look in properties the devices say “The name is already in use either as a service name or a service display name.” This means there are old services using old drivers stopping the new devices from functioning.
To fix this you need to remove the old devices/services from the registry.
- Remove the CSR Harmony stack using the Add/Remove Programs in Control Panel. If you have the wrong driver installed (Step 2), but failed to remove it, CSR Harmony will not uninstall and will hang during uninstall.
- Restart the computer.
- If the dongle has been removed, plug it back in and go to Devices and Printers. Findany Bluetooth devices except the dongle and right-click Uninstall and select to delete drivers.
- Go to Device Manager and delete the Generic Bluetooth Radio.
- Get out Registry Editor by pressing Win+R and typing regedit and clicking OK. You will need to grant administrative privileges for this to work.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services
- Backup the entire tree to a file using the Export command.
- Delete the folders named the following: (they are previous CSR dongle driver remnants, as determined by reading through the CSR Harmony stack .INF files):
- csravrcp
- HFGService
- csr_bthav
- CsrBtPort
- csrduncmdm
- csrhfgcc
- csrhidmini
- csrpan
- csrserial
- csrusb
- csrusbfilter
- While you are there, also look for folders starting with bth that have sub-folders. In the case of Bluetooth Hands-Free Audio, this is the BthAudioHF entry – delete that too.Do not go deleting things randomly – you will mangle something serious. Delete Bth* entries which are named with the problematic device name or contain a driver file name which is used by the CSR provided drivers – in the case of BthAudioHF, it points to the driver with conflicts with HFGService.
- I also had to delete BthAVRCP, getting two of the CsrBtPort_Enumerated_device's to work.
- Reboot computer,
- install CSR Harmony.
- Pair with Blaze/Bluetooth device.
This link describes in full detail the information above.
http://goughlui.com/2014/02/22/avantree-bluetooth-4-0-micro-usb-dongle/
Friday, 15 January 2016
How to remove items in explorer's new file menu
1. Open regedit
2. Expand "HKEY_CLASSES_ROOT"
3. Find the file type which you want to remove from "New" menu, e.g. for removing MP3 file type look for .MP3 key.
4. Expand it
5. Delete the "ShellNew" key.
The file type will be removed from the "New" menu instantly. No reboot or reloading Explorer needed.
2. Expand "HKEY_CLASSES_ROOT"
3. Find the file type which you want to remove from "New" menu, e.g. for removing MP3 file type look for .MP3 key.
4. Expand it
5. Delete the "ShellNew" key.
The file type will be removed from the "New" menu instantly. No reboot or reloading Explorer needed.
Subscribe to:
Posts (Atom)