30 July 2010

Delphi + PostgreSQL + Unicode

If Delphi Project raise exception class EDatabaseError with message '... Type mismatch for field 'NAME', expecting: String actual: WideString'.

Using the Devart dbExpress driver ( the following params must be set on TSQLConnection:


this way stringfields get mapped into TWideString field, so the original issue has been solved.


28 July 2010

How to flash HTC Touch Pro from memory card

(This is for GSM):
Flashing via MicroSD Card
1. Make sure your microSD is Formatted to fat32 using a PC (you dont have to delete all files but it is safer if you do)
2. Download your prefered Radio from the Raphael Rom Develpoment Page and unzip/unrar it to your computer
3. Goto the Radios Folder and rename the .nbh file to RAPHIMG.nbh
4. Copy the RAPHIMG.nbh file to the root of your microSD Card
5. Plug the microSD Card into the phone
6. Press and hold the volume down button, then press the reset button with the stylus. Release the volume down button when bootloader tricolour screen appears
7. Follow the onscreen instructions to start flashing
8. After the flash finishes press the reset button with the stylus to reset the device

6. JOB DONE. Well Done YOU DID IT!!

20 July 2010

Fix Windows Mobile Device Center on Windows 7 64bit

The driver installation may not have completed successfully. If you think this may be the case, follow these steps:
1. Keep your device connected
2. From the desktop, go to Start > Start Search
3. Enter "Device Manager" or "devmgmt.msc" to launch the Device Manager window
4. Look under the "Network adapters" node for "Microsoft Windows Mobile Remote Adapter". If this is not present, skip to step 5. Otherwise, right-click "Microsoft Windows Mobile Remote Adapter" and choose to "Uninstall"
5. Look under the "Mobile Devices" node for "Microsoft USB Sync". If this is not present, skip to step 6. Otherwise, right-click "Microsoft USB Sync" and choose to "Uninstall"
6. Disconnect and reconnect your device. Your device driver will re-install and Windows Mobile Device Center will launch.
Additional Information: http://www.microsoft.com/windowsmobile/en-us/help/synchronize/device-center-troubleshooting.mspx