16-bit Colour Prism/Future PalmOS

2008-05-28 Thread Francis
I've got a few questions about the 16 bit colour on the prism, and the future of PalmOS. Perhaps someone knows the answers? - On the new visor prism devices, what is the gain of using a Direct Colour bitmap? Is the only feature of using a direct colour bitmap the ability to specify a transparent

PalmOS 3.5.* listboxes have no respect

2008-05-28 Thread Francis
Palmos 3.5.* listboxes don't seem to respect the hasScrollBar flag, or clipping regions. The end result: The listboxes draw the little scroll up/down indicators, (that don't work) when you have the hasScrollBar flag on. Worse still, the up/down indicators are draw all over the place, because

Debugger for armlets ?

2003-11-05 Thread Francis Picard
? If not, is there other palm debuggers working with armlets ? Thank you, Francis Picard -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Problems with dmHdrAttrRecyclable.

2003-10-15 Thread Francis Picard
Hi, I have some problems using the dmHdrAttrRecyclable database attribute. When I set that bit to the currently executing database, I get a Free Handle error on the Palm OS 5 simulator (or a crash on a device), after the execution of my database completed (exits from PilotMain). An interesting

How to add sound resources to palm using pilrc?

2003-10-07 Thread Francis Chong
As title thanks! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: T3 Simulator crashes on launch with included ROMS...

2003-10-07 Thread Francis Chong
Jeff Diamond wrote: This seems to be a well known problem, but I can't find the solution. I got the T3 simulator from pluggedin.palm.com, but launching it with either of the included roms causes an instant crash. Does anyone have a work around? Thanks! - Jeff It seems that is

Any free jpeg decoder library for palm?

2003-09-07 Thread Francis
is there any free jpeg decoder library for palm? or if any jpeg to bmp converter for palm? thx a lot -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

About Trial Software techniques

2003-09-07 Thread Francis
is there any technique for me to create software that will be expire after some time, e.g. 30 days? thx a lot -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Does C++ of palm support vector?

2003-09-04 Thread Francis Chong
as title Thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How can i draw bitmap with double density?

2003-09-03 Thread Francis
May any one tell me? thanks a lot. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How can i draw bitmap with double density?

2003-09-03 Thread Francis Chong
thanks first... When i draw bitmap using windrawbitmap, the bitmap is shown under low resolution on screen What should i do in order such that the bitmap is shown in high density mode? James [EMAIL PROTECTED] ??? news:[EMAIL PROTECTED] ???... Francis wrote: May any one tell me? Call

emulator/gremlins

2002-12-19 Thread Jay Francis
Using emulator 3.5 Using gremlins, I've isolated an event which produces an undesirable effect in my program. How do you go about figuring out which event was run leading up to that point. I have a psf file saved a few events before the problem. I can't figure out what was pressed that leads to

fdlib (free distributable math library) link error

2002-11-27 Thread Jay Francis
In an attempt to use the free math library: I brought the necessary files into my project subdirectory. Added them to my project fdlibm.h w_log10.c e_log10.c e_log.c Referenced the header in my c file that uses the log10 function AND in the above c files, #include fdlibm.h I get these 3

Gremlins

2002-11-27 Thread Jay Francis
Is there a way to keep the gremlins from using the Palm keyboards? In my application I have turned both graffiti and the keyboard feature off to protect errant entries in a text field. The only characters allowed are on a push button layout in my application. Trouble is the gremlins somehow

mathlib

2002-11-26 Thread Jay Francis
Is this shared library only accessible by loading the mathlib.prc file on the palm? I've got it working but didn't know if there was a way to utilize the library without it actually being loaded on the palm but rather incorporated within the project. MathLib = 50K. Thanks Jay -- For

Re. mathlib

2002-11-26 Thread Jay Francis
Thanks Ben, Just so I'm understanding the situation... Option 1: Using mathlib as packaged with metrowerks would involve installing the prc file on a palm. Option 2: Another option is to directly link my source code to use the mathlib but under the constraints of the licensing LGPL or GPL

PDI library - dictionary tool?

2002-11-13 Thread Francis L Spafford
Palm's documentation reads: --- To associate a custom dictionary with a reader or writer, you need to first create the dictionary with the You can then call the PdiDefineReaderDictionary function to associate that dictionary with a reader object or call the

PDI library question related to PdiWriteParameterStr

2002-11-12 Thread Francis L Spafford
When I use PdiWriteParameterStr to write a parameter string the string is changed to all uppercase unless I enclose the string in double quotes. I would like to write a parameter string directly from a record, and not have the case changed. How can I do this? Could I use PdiWritePropertyValue

Re: Simulator (release) and frmUpdateForm problem - PalmSource comments?

2002-07-15 Thread Francis L Spafford
Can someone from PalmSource respond please. Francis L Spafford [EMAIL PROTECTED] wrote in message news:89987@palm-dev-forum... I believe the problem is that there is not a large enough chunk available on the dynamic heap for the save behind bits, or in OS 5, with 64K colors and high density

Simulator (release) and frmUpdateForm problem

2002-06-27 Thread Francis L Spafford
I have a situation where the release version of the Simulator fails to restore the screen behind a modal form, and does not send a frmUpdateForm event to the application, leaving the screen with some missing portions. The same application, when used with the debug version of the Simulator,

unwanted Palm keyboard

2002-06-07 Thread Jay Francis
Is there a way to prohibit the user from using/activating the built in keyboard in my program? Also and maybe related, I've noticed that if you double click an empty field it places a decimal point in that field if that field is numeric. This must be a system thing because I've not code this.

unwanted Palm keyboard

2002-06-07 Thread Jay Francis
Thanks Joe and you're right I should have looked through archives first. Hadn't been on the forum for awhile and just posted outright from my email. I think this might handle the problem. Graffiti is already turned off but maybe this will keep the keyboard at bay. Thanks Jay -- For

Re: Problem with the Resource Pavilion

2002-05-22 Thread Jay Francis
I had the same effect. It took months and emails and phone calls to finally get some response. If you email me I can give you a phone number that will produce some results. Jay Alexandre Kazantsev wrote: Please give me a hand. I submitted the Palm prototype license and confidentiality

Which prc file?

2002-05-21 Thread Jay Francis
I noticed in my project that there is an appD.prc and an app.prc file. (app = application name) They both appear to function correctly when uploaded to the Palm. I suspect one is a debug version however I have no idea what that really means. I would appreciate someone telling me the difference

NULL data question

2002-05-15 Thread Jay Francis
I have several numeric fields in a record. Some are required, some are not. If an unrequired field is left blank, shouldn't I write to the field as NULL? When I do, and then get the value from the databases after the save, the structure member indicates that the value is 0. I can always

Null data question

2002-05-15 Thread Jay Francis
Thanks Dave, The data type is UInt16. Sounds like I'll need to save a value that is a flag for no-entry. I'm guessing then that the big database programs do the same thing. When you query with statement such as IsNull then you are searching for this special flag (no data entered). Just don't

cursor problems with fields!?

2002-05-14 Thread Jay Francis
Has anyone noticed this behavior? You have several fields on your form. If you set the focus to one of the fields, with no text selected -press a button to change the text of the field -the focus remains -cursor continues to flash This is as it should be If you choose to have the text selected

Your database opinion

2002-05-10 Thread Jay Francis
I want to delete all the records in two databases in one fell swoop. I am not concerned about whether the records need to be synched to a desktop. I simply want them all deleted. Wouldn't it make sense to delete the databases and then create them again rather than iterate through them and

Your database opinion

2002-05-10 Thread Jay Francis
Thanks Chris, I was kind of thinking the same thing. Jay Chris DiPierro wrote: DmDeleteRecord marks the record deleted, but it won't be removed from the DB until you sync with a desktop. DmRemoveRecord removes the record immediately. As for whether DmRemoveRecord or DmDeleteDatabase is

push button vs button behavior

2002-04-30 Thread Jay Francis
When a push button is depressed the face of the button turns black and remains so until another push button within the same group is depressed (a toggle). Is there a way to have the face of the button return to normal when user lifts pen from a single push button? I want the functionality of

record size and writing to database

2002-04-24 Thread Jay Francis
When I use 21 as the size for the new record I get an error message Application (1.0) called SysFatal Alert with the message: DataMgr.c, Line 7025,DmWrite:DmWriteCheck failed When I use 22 everything works perfectly. Am I not seeing something obvious? typedef struct { UInt16 waterbody;

Re: record size and writing to database

2002-04-24 Thread Jay Francis
Thanks Brian, Dave and Howard. Brian Smith wrote: On Wed, 24 Apr 2002, Jay Francis wrote: When I use 21 as the size for the new record I get an error message Application (1.0) called SysFatal Alert with the message: DataMgr.c, Line 7025,DmWrite:DmWriteCheck failed When I use 22

converting int to string

2002-04-23 Thread Jay Francis
I'm reading a record from the database. Some of the fields from the structure are strings and some are integers. Converting the integers to strings so I can populate a form isn't working. I am scratching my head. It's like the code doesn't understand I'm trying to convert. I get the same error

converting int to string

2002-04-23 Thread Jay Francis
Thanks for your help Mahesh and Bill. Sometimes I struggle with the simplest things. Now I get not initialized error when clearly it is. Warning : variable 'waterString' is not initialized before being used Information.c line 11Char * waterString; Err DisplayRecords(DmOpenRef

general relational database question

2002-04-22 Thread Jay Francis
This is a general question regarding a main database (table) and a related child database (table). If one were to create a relational database in a database program such as Access one would make sure that the information gathered from the main table was unique. I can create an auto incrementing

How to create a global variable?

2002-04-18 Thread Jay Francis
Creating a global variable: I tried to create a global variable and test to see the scope of that variable in a custom alert. So I created a variable called gJay. Char * gJay = Jay; When I put this code in the main.c file (the file that has the MainFormInit function in it) below the #

Re: How to create a global variable?

2002-04-18 Thread Jay Francis
Thanks Brian, Do you mean I declared it correctly and in addition I need to put the code you suggested in each of the .c files? Jay From Brian: In the other sources (not main.c): extern Char *gJay; Creating a global variable: I tried to create a global variable and test to see the scope

How to create a global variable?

2002-04-18 Thread Jay Francis
Thanks to Brian and Paul. I got it to work. However I am curious how you knew this. The only reference to extern I find relates to libraries and that was in the Target Palm OS.pdf. I searched all the pdf documentation included with codewarrior and that was all there was. I put the extern Char

turning Graffiti off

2002-04-16 Thread Jay Francis
I do not want users to be able to enter values in fields using keystrokes. Is there any way to prohibit this. I set up push buttons to enter data instead. My emulator accepts keystrokes even though I have no Graffiti shift on the form. Perhaps when I upload final project to Palm this won't

turning Graffiti off

2002-04-16 Thread Jay Francis
Thanks for your help Joe, I don't get the response back as emails. I read them on the forum so I can't press reply. Do you get all the emails everyone posts? My mailbox would fill up very rapidly. Maybe I'm missing something. And yes, I incorrectly stated the address. I left out an s. I

turning Graffiti off

2002-04-16 Thread Jay Francis
I just searched all the pdf documents for EvtEnableGraffiti() and came up with nothing. Am I missing one? Thanks John and Joe both. I don't feel quite so stupid for the thread question now. Jay I do not want users to be able to enter values in fields using keystrokes. Is there any way to

StrAToI question

2002-04-16 Thread Jay Francis
Thanks for the help. I realize that the textVar cannot exceed values that can't be held by a UInt16 var. It just seems kind of weird that you are setting the value of a UInt16var to a datatype that is a 32 bit. Not so much the value part but the fact that they are differing data types. Jay

turning Graffiti off

2002-04-16 Thread Jay Francis
I found it, thank you very much. EvtEnableGraffiti. Thanks to Joe, Colin and Oliver. If someone were to send a personal thanks to the contributor without bogging down the forum how would you do that? I guess if they wanted a personal email they would leave email address correct? New to this

simple field question

2002-04-15 Thread Jay Francis
all field handles hold text? Is that correct? Assuming that is true, and you want to take the contents of that field that holds a numeric value and put it in an integer database field, you get it as text from the handle-convert it to an integer using StrAToI so it can be written to the structure

StrAToI question

2002-04-15 Thread Jay Francis
The StrAToI function returns an Int32. What do you do if the value to be converted is an UInt16? UInt16var = StrAToI(textVar); Thanks Jay -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

FrmCustomAlert

2002-04-05 Thread Jay Francis
Can I display a number value in the custom alert? Do I have to convert it to a string first? Apparently it is designed to display only strings? Any help would be appreciated. Thanks Jay -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Help with DMDatabaseInfo

2001-12-02 Thread Francis Perea
Codewarrior says illegal implicit conversion from unsigned short * to unsigned short in the DatabaseInfo call. API docs says the return values you don't need can pass NULL. Can anybody see the error here: Thanks void ejecutar(void){ MemHandle h; Err err; DmSearchStateType infop; LocalID

RE: Help with DMDatabaseInfo

2001-12-02 Thread Francis Perea
Sorry again for asking stupid things. DmDatabaseInfo wants the card an id number, not the references. Thanks anytime -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: decompile prc?

2001-07-29 Thread Andrew Francis
, depending upon the laws in your county/state/country :) -- Andrew Francis [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Can Palm Inc own the word Palm ?

2001-07-10 Thread Andrew Francis
for Windows weren't in violation. That said, I'm not a lawyer and my memory is somewhat fuzzy, so go ask an attorney in your jurisdiction :) -- Andrew Francis [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech

Format of Datebook database

2001-07-09 Thread Andrew Francis
it's hardly clear on what exactly it's doing :) Searching the web and the knowledge base isn't really helping me either. Does anyone know of a textual description of the datebook format on the handheld? Thanks -- Andrew Francis [EMAIL PROTECTED] -- For information on using the Palm Developer

Re: Fonction Minimum

2001-07-05 Thread Andrew Francis
. For instance, MIN(x, somefunction()) would be a bad idea - because if somefunction() is lower it would be called twice! And if you had min(x++, y++) then the smallest value would increase by two. If you want to avoid this then you can't use a macro... you'll need a function. -- Andrew Francis [EMAIL

Re: Getting a conduit to run at *every* Hotsync

2001-07-02 Thread Andrew Francis
that that creator id is used on Visors either. A new app is safest. Thanks guys. Is it possible for me to create an application that doesn't show up in the applications menu on the Palm? Cheers -- Andrew Francis [EMAIL PROTECTED] -- For information on using the Palm Developer Forums

Getting a conduit to run at *every* Hotsync

2001-07-01 Thread Andrew Francis
ID that my conduit is tied to. I guess I could do this my having a dummy database with my creator ID that's never actually used, but if there's a better way I'd sure like to hear about it :) Thanks -- Andrew Francis [EMAIL PROTECTED] -- For information on using the Palm Developer Forums

Re: Looking around inside PRC files - tools?

2001-06-27 Thread Andrew Francis
Francis [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/

Re: Looking around inside PRC files - tools?

2001-06-27 Thread Andrew Francis
palmdeMON: http://palmdemon.cjb.net/ PRCedit:-- official homepage is down, so I can't get any documentation it isn't working, i think i need more utilities 'under' it http://www.visorvillage.com/software/pc/PRCedit-2001-5-30-palm-pc.html Regards -- Andrew Francis [EMAIL

Re: Sorting algos

2001-05-17 Thread Andrew Francis
On Fri, 18 May 2001, Ng Wei Gee wrote: Hi all! This is not exactly Palm related, but hope someone can help me out. I've a partially sorted list and I want to sort it out completely. Which of these would be the most efficient in this case? - quicksort (works well for random list, but

16-bit Colour Prism/Future PalmOS

2000-10-24 Thread Francis
I've got a few questions about the 16 bit colour on the prism, and the future of PalmOS. Perhaps someone knows the answers? - On the new visor prism devices, what is the gain of using a Direct Colour bitmap? Is the only feature of using a direct colour bitmap the ability to specify a transparent

PalmOS 3.5.* listboxes have no respect

2000-09-29 Thread Francis
Palmos 3.5.* listboxes don't seem to respect the hasScrollBar flag, or clipping regions. The end result: The listboxes draw the little scroll up/down indicators, (that don't work) when you have the hasScrollBar flag on. Worse still, the up/down indicators are draw all over the place, because