what is the hsVerStrSerialNo parameter?

2005-07-15 Thread Jennifer Fell
Hello, What is hsVerStrSerialNo in the following function (from HandSpring SDK)? How can I get the value of it? HsGetVersionString (hsVerStrSerialNo, serialNumber, bufLen); Thanks in advance for any help. Regards, Jenni -- For information on using the PalmSource Developer Forums, or to

undefined identifier 'btLibRef' in BtLibGetGeneralPreference

2005-06-23 Thread Jennifer Fell
Hi, I am having this error: undefined identifier 'btLibRef'. Here is the original call: err = BtLibGetGeneralPreference (btLibRef, btLibPref_LocalDeviceAddress, address, sizeof (address)); and I included the BtLib.h library. Any idea why it's happening? Thanks in advance. Best Regards,

Re: undefined identifier 'btLibRef' in BtLibGetGeneralPreference

2005-06-23 Thread Jennifer Fell
or is it a variable from the PalmOS API? I'm not familiar enogh with the API yet to know all the variables it declares. Layne On 6/23/05, Jennifer Fell [EMAIL PROTECTED] wrote: Hi, I am having this error: undefined identifier 'btLibRef'. Here is the original call: err = BtLibGetGeneralPreference (btLibRef

Re: undefined identifier 'btLibRef' in BtLibGetGeneralPreference

2005-06-23 Thread Jennifer Fell
the PalmOS API? I'm not familiar enogh with the API yet to know all the variables it declares. Layne On 6/23/05, Jennifer Fell [EMAIL PROTECTED] wrote: Hi, I am having this error: undefined identifier 'btLibRef'. Here is the original call: err = BtLibGetGeneralPreference (btLibRef

Third party software protection and license control tool needed

2005-06-17 Thread Jennifer Fell
I have developed an application for Palm OS. Now it needs some sort of key authentication mechanism for software protection. Is there any third party tool available to be used for software protection and license control for Palm OS platform? Thanks, Jenni -- For information on using the

Is there a ROM Serial Number in all recent Palm devices?

2005-06-17 Thread Jennifer Fell
Is there any Palm device that runs Palm OS 5.x and does not have a ROM Serial Number? Thanks a lot in advance. Regards, Jenni -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Stupid newbie question about Code warrior

2005-03-17 Thread Jennifer Fell
Hello, I wonder if there is any way to add some preprocessor defintions somewhere on the project setting in CodeWarrior (just like we can do in Visual Studio). I am having linking problem due to that fact. What is the easiest way to work around it? Thansk a lot. Regards, Jenni -- For

Link error for shared library

2005-03-10 Thread Jennifer Fell
Hi Everybody, First, I do apologize for bothering again and again with the same issue, but I do not have any other choice left. My application is a multi-segment application. I am trying to integrate a third party TTS engine with it. I have included the header file that defines the prototypes

problem with shared library ... linking error

2005-03-09 Thread Jennifer Fell
Hello Everybody, I am having a problem with using shared library in Codewarrior, and it is hapenning during link time. I have included the header file that has all the necessary APIs exposed for the shared library. However, the linker gives error for SOME of them (NOT for ALL): TManager::

Re: problem with shared library ... linking error

2005-03-09 Thread Jennifer Fell
Thanks Ben for your answer. Well, I did read the article. The shared library is written in C. Even though my application uses C++, but I use C convention to call any methods in the shared library. #ifdef __cplusplus extern C { #endif // calls to shared library #ifdef __cplusplus extern C {

application { PBLDemo BBUI stack=16000} multiple code { audio }

2005-03-08 Thread Jennifer Fell
While making an application with PRC-tool, I found a file (Demo.ref) without which the linker fails. This is what I have in that file: application { PBLDemo BBUI stack=16000} multiple code { audio } Also in a header file I found this prototype definition: int InitSndMgr()__attribute__

How to use dll file in Codewarrior

2005-03-07 Thread Jennifer Fell
Hello Everybody, I got a palm specific dll file (testdll.prc) that I need to use from my Codewarrior project. How/where do I specify about that dll file in CodeWarrior? I have not been able to link the dll file with my project yet. Is there anything special about palm dll handling that I need

Re: How to use dll file in Codewarrior

2005-03-07 Thread Jennifer Fell
Thank you Ben for your quick response. Well, based on your earlier respose, I wonder how the linker works with a static library then. When the linker does not find anything (i mean function body) but the function prototypes, does it assume that the functions are in a shared library and they

Fw: m68k-palmos-gcc: Palm OS SDK requested via -palmosN could not be found

2005-02-24 Thread Jennifer Fell
Hi Everybody, I am having the following error while trying to compile a project from a makefile: m68k-palmos-gcc: Palm OS SDK requested via -palmosN could not be found make: *** [Release/main.o] Error 1 What am I doing wrong? How do I fix it? It seems like it is looking for the SDK directory

HTML support for Palm OS

2004-12-16 Thread Jennifer Fell
Hello, I was wondering if it would be possible to implement a HTML help file in a Palm OS application (in a way similar to regular help feature implemented in desktop PC applications)? Does Palm OS have built-in support for HTML? Is it possible to launch the web-browser without closing the

few questions

2004-12-01 Thread Jennifer Fell
Hello Everybody, Hope you all are doing well. I have come up with some questions and I would appreciate any help with them: 1. How can I display texts with different colors and/or styles (e.g. regular or italic) in a field at the same time? 2. Is there any way I can use the system icons (for

crashes device when 59K prc file is hot sync'd to the device

2004-11-24 Thread Jennifer Fell
Hi, My app is 59K in size and when hot sync'd to the device, it causes the palm to lock-up with a fatal error. The deivce requires a hard reset and the erasing of all data to function correctly again. FYI, my application has 2 segments (43K and 16K respectively) and it runs fine in Emulator

question about record indexing technique

2004-11-15 Thread Jennifer Fell
Hi, If I delete a record say with index x from the database, what happens to the indexes of records with a value greater than x? Do they change from (x+n) to (x+n-1)? - If not, what happens if a new record is added to the end of the database using dmMaxRecordIndex? - If yes, is there any way

Re: problems with FrmRemoveObject

2004-11-08 Thread Jennifer Fell
- From: Jennifer Fell [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, October 28, 2004 9:03 AM Subject: Re: problems with FrmRemoveObject I recently mentioned about having problem with FrmRemoveObject when removing dynamically created popup lists. I thought it would

Source code for Palm OS

2004-11-05 Thread Jennifer Fell
Hello, Can anybody please tell me if it is possible to get the source code of Palm OS somehow? I am having problem with FrmRemoveObject() function when removing some dynamically created popup lists. So I thought I would take a look on the code and would try to find out what's causing the

Re: problems with FrmRemoveObject

2004-10-28 Thread Jennifer Fell
- PrvMoveFormInternals -PrvRewireForm -PrvRewireForm -PrvOffsetPtrIfNeeded // HAVING PROBLEM Thanks, Jenni - Original Message - From: Jennifer Fell [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, October 25, 2004 3:08 PM Subject: problems with FrmRemoveObject Here

Re: problems with FrmRemoveObject

2004-10-26 Thread Jennifer Fell
Well, I found the following suggestions for the problems that occur when removing objects using FrmRemoveObject function. - Removing them in the reverse order they have been added (LIFO sequence). - If an object has to be removed from the middle, then that should be hidden first using

Re: problems with FrmRemoveObject

2004-10-26 Thread Jennifer Fell
of the list object that causes the crash. Thanks anyway. Regards, Jenni - Original Message - From: Luciano A. Stertz [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 11:22 AM Subject: Re: problems with FrmRemoveObject Jennifer Fell wrote: Well

problems with FrmRemoveObject

2004-10-25 Thread Jennifer Fell
Here is a piece of code which gets executed when removing a object that has a number of popup lists. These lists are dynamically created in that object's constructor function. Anyway, this FrmRemoveObject crashes in some specific situations. I know it's impossible to tell what's going on

Re: problems with FrmRemoveObject

2004-10-25 Thread Jennifer Fell
Well, I tried in both orders, but didn't have any difference. The OSs I have tested on are: 4.1.2 (Emulator) 5.3 (Simulator) 5.2.1 (Tungsten T3 / real device) Thanks for looking into the problem. Best Regards, Jenni - Original Message - From: Ben Combee [EMAIL PROTECTED] To:

Please help - dynamic popup list handling

2004-10-20 Thread Jennifer Fell
Hello, My program dynamically creates a popuplist, but whenever I attempt to remove, I get a fatal error saying that I have accessed an odd address. It happens right after I delete the form (free all resources and call FrmCloseAllForms) and then reload it. Before reloading the form, I do not

problem with debugging on Palm device (connected via USB) using CodeWarrior v9

2004-10-18 Thread Jennifer Fell
While trying to debug an application on a Tungsten T3 PDA using Code Warrior v9.0, I am getting the following error message. The device is connected via USB port. CodeWarrior for Palm OS Debugger Please place the device in console mode by entering 'shortcut'..2 I read Mr. Combee's following

Re: problem with debugging on Palm device (connected via USB) using CodeWarrior v9

2004-10-18 Thread Jennifer Fell
: problem with debugging on Palm device (connected via USB) using CodeWarrior v9 Jennifer Fell wrote: While trying to debug an application on a Tungsten T3 PDA using Code Warrior v9.0, I am getting the following error message. The device is connected via USB port. I'm not sure if it will fix

Re: problem with debugging on Palm device (connected via USB) using CodeWarrior v9

2004-10-18 Thread Jennifer Fell
Thank you Eric and Matt. Jenni - Original Message - From: Eric Cloninger [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, October 18, 2004 3:26 PM Subject: RE: problem with debugging on Palm device (connected via USB) using CodeWarrior v9 Just curious if the

Address error

2004-10-15 Thread Jennifer Fell
Hello, I am getting the following address error when quitting my application. I found out that the error occurs when removing an object. I have used the object throughout the program and didn't have any problem. Does anybody have any idea/guess what could be the problem? my_application_name

Re: Address error

2004-10-15 Thread Jennifer Fell
Thanks Ben for taking a look. Here are the answer for your question. Do you mean deleting the object? Yes Is this a global object or one allocated on the heap? global object The address error you're seeing usually means memory is being being accessed through a pointer

Re: problem: popup lists require multiple clicks to respond... please help

2004-09-30 Thread Jennifer Fell
the list at that pen location. Bob. Greg Sepesi wrote: Are you confident the 'handled' return value for your list control event handler is set correctly? (More than once, I've caused consistent but not quite right table operation by not paying proper attention to the 'handled' flag.) Jennifer Fell

problem: popup lists require multiple clicks to respond... please help

2004-09-29 Thread Jennifer Fell
Hello Everybody, I have multiple popup lists in my application and child popup lists are display/hidden based on the selection of parent popup lists (child or parent are my terms, just for convenience in distinguishing). However, at some point, the child lists require more than 1 or 2 clicks to

Re: problem: popup lists require multiple clicks to respond... please help

2004-09-29 Thread Jennifer Fell
To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, September 29, 2004 3:04 PM Subject: Re: problem: popup lists require multiple clicks to respond... please help Jennifer Fell wrote: Hello Everybody, I have multiple popup lists in my application and child popup lists are display/hidden

How to remove/hide the default-scrolling-arrows from a list

2004-09-23 Thread Jennifer Fell
Hello Everybody, Hope you all are doing well. I have a question for you. I have created a scrollbar and associated it with a list. Now is there anyway I can remove/hide the default scrolling-arrows that are associated with the list for scrolling purpose? Thanks a lot in advance. Regards, Jenni

Re: How to remove/hide the default-scrolling-arrows from a list

2004-09-23 Thread Jennifer Fell
Thanks a lot to everyone who replied and helped. I'm getting the following error message while trying to use the code as you advised (FYI, I made sure to define the ALLOW_ACCESS_TO_INTERNALS_OF_LISTS): Error: illegal use of incomplete struct/union/class 'struct ListAttrTag' test.cpp line 211

Any TTS product for Palm? pSpeak by pSpeak, LLC?

2004-09-21 Thread Jennifer Fell
Hello, I saw a reference to a Text-to-Speech tool, pSpeak (by pSpeak, LLC) at PalmSource website, but there is no link to the product or the company. I even searched on google, but didn't get anything for them as well. Can anybody tell me anything about that product or give me reference to any

how to program a popup list dynmically?

2004-09-14 Thread Jennifer Fell
Hello Everybody, I am trying to dynmically program a popup list. The original PilRC format is as below: 1)POPUPTRIGGER ID myTrigger AT (4 41 152 AUTO) 2)LIST ID myList AT (PREVLEFT PREVTOP PREVWIDTH AUTO) VISIBLEITEMS 3 NONUSABLE 3)POPUPLIST ID myTrigger myList However, I don't

Mr. Combee: how to program a popup list dynmically?

2004-09-14 Thread Jennifer Fell
Mr. Combee, can you help me with this please? Thanks. - Original Message - From: Jennifer Fell [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, September 14, 2004 2:56 PM Subject: how to program a popup list dynmically? Hello Everybody, I am trying

FrmNewForm(): form cannot be more than 160 pixels wide/high?!

2004-09-09 Thread Jennifer Fell
Hi Everybody, I was going to use the FrmNewForm (...) function for creating form dynamically based on the screen size (e.g. 160x160, 320x320). But in the manual I found that width or height has to be within 1-160 range. So, can't I create a 320x320 form in a high resolution device? Thanks, Jenni

problem with FrmNewForm()

2004-09-09 Thread Jennifer Fell
Hi, When I create a form using FrmNewForm() function, and then use FrmInitForm() in the event handler module (as below), it crashes. Any idea what step(s) I'm missing? formId = eventP-data.frmLoad.formID; frmP = FrmInitForm (formId); // crashes here: NULL Handle error

Re: problem with FrmNewForm()

2004-09-09 Thread Jennifer Fell
Ok, I figured that out - there is no need for FrmInitForm with a dynamically created form. Thanks. Jenni - Original Message - From: Jennifer Fell [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, September 09, 2004 2:51 PM Subject: problem with FrmNewForm

Re: FrmNewForm(): form cannot be more than 160 pixels wide/high?!

2004-09-09 Thread Jennifer Fell
Well, now I confused! Can't I take the benefit of hi-res then? For example, making the font/buttons/fields/graphics smaller and fit more text one them? Thanks - Original Message - From: Jennifer Fell [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, September

problem with popuplist - please help

2004-09-02 Thread Jennifer Fell
Hi, I am having problem with displaying a popup list. (1) shows the declaration part. (2) (3) show the codes for handling the event. However, I am not getting the popSelectEvent, I am only getting some penUp/Down and ctlSelectEvent evens. Any idea where I am making the mistake? Thanks, Jenni

Different result with HostFRead() on Emulator Simulator!!!???

2004-09-02 Thread Jennifer Fell
The following function I have designed to read a value from a specified position in a file, convert it from little endian to big endian, and then return. It uses Host Control APIs. Here are the first 16 bytes in the file: 6F 00 00 00 00 02 00 00 08 00 00 00 09 02 00 00 Very interestingly,

Re: problem with popuplist - please help

2004-09-02 Thread Jennifer Fell
, 2004, at 7:18 AM, Jennifer Fell wrote: Hi, I am having problem with displaying a popup list. (1) shows the declaration part. (2) (3) show the codes for handling the event. However, I am not getting the popSelectEvent, I am only getting some penUp/Down and ctlSelectEvent evens. Any

pda for voice/language software

2004-08-27 Thread Jennifer Fell
Hello, This might not be an appropriate question for this forum. I am developing a language trasnlation software (with voice recognition and voice synthesis features in mind). I am going to order a palm device by a day or two. Based on a quick online research, I have decided to go for a Zire

Error : the file 'Windows.h' cannot be opened

2004-08-25 Thread Jennifer Fell
Hello, While trying to use the WinScreenMode () function on the Palm Emulator with 4.2 ROM, I am getting the following error: Error : the file 'Windows.h' cannot be opened I am using Code Warrior. Any idea what my mistake is? Thanks, Jenni -- For information on using the Palm

problem with DmResizeRecord

2004-08-23 Thread Jennifer Fell
Hi, The following code is giving me this error DataMgr.c, Line:9573, Index out of range. Any idea why? if ((recH = DmResizeRecord (dbRef, recIdx, currentSize + wordSize)) == NULL) { ErrAlert (DmGetLastErr()); return false; } Here currentSize = 91 and wordSize = 52. Thanks a lot.

Re: Strings are always maintained in UTF-8 format while characters are always in 2 bytes?

2004-08-19 Thread Jennifer Fell
Thanks Mr. Krugler. It was very helpful and cleared up all my confusions regarding characeter encoding in Palm OS. Regards, Jenni - Original Message - From: Ken Krugler [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, August 19, 2004 10:32 AM Subject: Re:

Strings are always mainteained in UTF-8 format while characters are always in 2 bytes?

2004-08-18 Thread Jennifer Fell
I read the following on Text Manager and just wondering if this means that strings are always mainteained in UTF-8 format while characters are always in 2 bytes. Character variables are always two bytes long. However, when you add a character to a string, the operating system may shrink it down

problems with HostFRead()

2004-08-17 Thread Jennifer Fell
Hi, The following function just goes to a specified position in a file, reads the long value and returns it after converting it from little to big endian. The function works fine except when the position specified is 0x1970. The HostFRead reads the value at position 0x1974. I also had

Re: problems with HostFRead()

2004-08-17 Thread Jennifer Fell
You are right... taht was a stupid mistake. Thanks a lot. Jenni - Original Message - From: Ben Combee [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Tuesday, August 17, 2004 12:33 PM Subject: Re: problems with HostFRead() At 12:27 PM 8/17/2004, you wrote: Hi,

Is there any facilities like assert() in Palm OS?

2004-08-10 Thread Jennifer Fell
Is there any facilities like assert() in Palm OS? Thanks, Jenni -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

problem with DmNewRecord() when size is 0

2004-08-09 Thread Jennifer Fell
Hello everybody, I have a quick question for you. A portion of my code looks like as below and it generates an error: Database: Out of memory. Delete old data or undeleted applications. (Dm 0201). However, when I change the record size to something bigger than 0, it works. I wonder if anybody

Converting storing a text file to palm recod database format

2004-07-29 Thread Jennifer Fell
Hi Everybody, I have been using CodeWarrior Palm OS Emulator for developing my project. I am reading a file (which is in plain text format and 5MB long) from my desktop pc using the Host Control APIs and storing the data into a palm record database. The problem is that as soon as I exit from my

working with Wchar/unicode

2004-07-23 Thread Jennifer Fell
Hi all, Hope you guys are doing great. This is my first time to this group. Could you guys please tell me if there is any library in Palm OS that I can use to handle unicode characters (Wchar/UInt16)? Any useful information to work with unicode strings will be appreciated. Thanks a bunch.

quick ques: maximum record size = 2^16 - what?

2004-07-23 Thread Jennifer Fell
what's the maxium size of a pdb record? 2^16 - record header size = 2^16 - 8? (it didn't work for me, why?) thanks, jenni -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/