Skip to main content

Posts

Creating a dynamic form in Palm OS

Code below shows how to create a dynamic form for Palm OS 3.0 or greater. See this link of the entire project created using Palm OS Development Suite. /* ***************************************************************************** * Application Name : DynamicUI.prc * Purpose : Demonstrate how to create a dynamic UI * Programmed by : Techno Scavenger **************************************************************************** */ #include < PalmOS.h > /* ********************************************************************** * * Internal Constants * ********************************************************************** */ #define appFileCreator 'ewa8' #define appVersionNum 0x01 #define appPrefID 0x00 #define appPrefVersionNum 0x01 /* ********************************************************************** * * Application constants * ********************************************************************** */ #defin

Use Palm OS Developement Suite documentation in latest version of Eclipse

Palm OS Developer Suite v 1.2 comes with Eclipse 3.0.x and CDT 2.0.2.ps002 which is quite outdated. Latest Eclipse version as of this writing was 3.2.1 with CDT at version 3.1.1. This latest CDT comes with lots of goodies like bracket matching and code folding which is absent in the CDT that comes with PODS. To use the documentation from PODS to the latest version of Eclipse copy the following directory including the files: com.palmsource.eclipse.sdk.palmos5.doc.user_1.2.0.23 com.palmsource.eclipse.tools.doc.user_1.2.0.23 Assuming default install these files should be located in C:\Program Files\PalmSource\Palm OS Developer Suite\eclipse\plugins. Copy this files into \plugins

Shell extension issue with Free Download Manager

I have found an issue with using Free Download Manager on Windows XP Pro Sp2. It used to work before then it suddenly causes Explorer to crash. Here are some data about the extension installed by Free Download Manager Extension name : FDMIECookiesBHO Class Type : FDMIECookiesBHO Class Filename : C:\Program Files\Free Download Manager\iefdmcks.dll I discovered that this is the extension that caused Explorer to crash using ShellExView . Note that I was a happy user of Free Download Manager for more than a year. This extension might have been affected by Windows Update. I was using Free Download Manager 1.8, this might be fixed with the newer version. Here some side effects of this extension: a) Clicking on a folder in the navigation view (treeview) that contains files in Explorer will crash the application. b) Windows Event Viewer logs something like this: Type: Information Source: Winlogon Category: None Event ID: 1002 Description: The Shell stopped unexpectedly and Explorer.exe w

VI common commands

Cursor movements in command mode : h=move the cursor to the left one character position l=move the cursor to the right one character position j=move the cursor down one lin e k=move the cursor up one line Changing mode : i=enter insert mode, the characters typed in will be inserted before the current cursor position. If you specify a count, all the text that had been inserted will be repeated that many times. a=enter insert mode, the characters typed in will be inserted after the current cursor position. If you specify a count, all the text that had been inserted will be repeated that many times. Text manipulation in command mode : x=delete character under the cursor. Count specifies how many characters to delete. The characters will be deleted after the cursor. u=undo the last change to the file. Typing u again will re-do the change. r=replace one character under the cursor. Specify count to replace a number of characters Cutting and Yanking : The