Problem with INetLib

2003-06-12 Thread Andrew
Hello everyone I am trying to use INetLib to make connection to a server via TCP/IP protocol. But there are few examples about this issue. Would any developer show me some core codes of creating the connection. Thanks in advance. -- For information on using the Palm Developer Forums, or to

Re: Check lock count

2003-06-12 Thread Thomas Damme
Hello, the number 15 is seen as a maximum of locks. If you reach it, you probably doing something wrong. Its supposed that you unlock a resource as soon as you dont need it anymore. So if you reach 15, are you sure you properly unlock it after every usage? Thomas DongDong [EMAIL PROTECTED]

Waking up when pageUp pressed

2003-06-12 Thread Jeff Ishaq
While my app is running and the device goes to sleep, I want to be able to intercept the pageUp hard key, turn the screen on, display some useful information (not the time and date), and go back to sleep after two seconds. My target devices run OS 4.0 or higher. I am also targeting the

help

2003-06-12 Thread Suman
help -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Check lock count

2003-06-12 Thread Thomas Damme
To answer to your question right: MemHandleLockCount should do this. Its defined as: UInt16 MemHandleLockCount(MemHandle h); Thomas Thomas Damme [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] Hello, the number 15 is seen as a maximum of locks. If you reach it, you probably

modem for sony clie sj22

2003-06-12 Thread Suman
hi our company has decided to purchase sony clie sj22. i need a few clarifications abt this model. 1. Is modem supported for this model? can we purchase modem as an accessory to this model? 2. Our company is planning to connect this device to external usb modem (the ones which are used for

resources size limit?

2003-06-12 Thread Sean Yang
Hi, I used some bmp resources(used compress) in my app, the bmp files size is 122kb, when I add a bmp file(102kb size, 16bit color depths) to the resource, then the cw9 can't make the prc file, it will exit when making prc file? if I delete the last bmp file in resource file, then everything is

FrmAlert, FrmCustomAlert

2003-06-12 Thread Henrik Fredriksson
Hi If I for example want to close an alert created with either FrmAlert or FrmCustomAlert by pressing the scroll down key, how to handle that? I know that I could create a dialog that looks like an alert and open it with dodialog or something similar, and then take care of the keypress in this

Re: FrmAlert, FrmCustomAlert

2003-06-12 Thread Prashant Jha
Henrik, Looks like this is a problem that a lot of people are having and it happens because the Alert boxes that popup using FrmAlert has its own event handling queue and you will have to work on this queue. Prashant --- Henrik Fredriksson [EMAIL PROTECTED] wrote: Hi If I for example want to

Re: Check lock count

2003-06-12 Thread DongDong
That's a great function I want. However, it is not mentioned in my 3 palm os programming books and it is stated in Palm OS API Reference that it's undocumented System Use Only Functions. Does it mean it is not recommended to be used by developer or it may not exist in new release of SDK? Thomas

Re: Check lock count

2003-06-12 Thread Hal Mueller
At 16:15 +0800 6/12/03, DongDong wrote: That's a great function I want. No, you probably don't. I think you should pay more attention to Thomas's _first_ answer. If the lock count is increasing past 15, it's almost guaranteed that you're doing something wrong, like calling MemHandleLock

vfsErrFilePermissionDenied from VFSFileOpen

2003-06-12 Thread Magnus Berg
Hi A customer has problems opening a file on his memory card. The log output says that VFSFileOpen returned a vfsErrFilePermissionDenied error code when the program is accessing a file with the flags (vfsModeRead | vfsModeLeaveOpen). It only seems to happen in very few cases. According to the

Re: Check lock count

2003-06-12 Thread DongDong
thank you for your advice. I use MemandleLockCount for debugging purpose because my list is pointing to the memory chunk. It must be locked while the list is working and unlocked, modified and locked again when there is something changes to the list. Since there may be add, delete, modify for the

Re: Check lock count

2003-06-12 Thread Veronica Loell
Yes, that is how I use it as well, to make sure that the lock count is what it should be through debug trace calls. It is an invaluable tool for debugging, and I would say the best way to make sure that the lock and unlockes are matched. I just use it visually with trace calls, but one could

Catagory Edit Function

2003-06-12 Thread DongDong
Now, I'm working on a lookup table entry form. The lookup table contains one field only and use as selection field for my another Master table. I found this function should work exactly as that build-in catagory edit function (Edit... in the catagory popup trigger list of Address or Todo or

Re: FrmAlert, FrmCustomAlert

2003-06-12 Thread Henrik Fredriksson
Yes, I am aware of that. I should have been more specific with my question :). Let's rephrase.. How do I check that event queue? Prashant Jha [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Henrik, Looks like this is a problem that a lot of people are having and it happens

Re: vfsErrFilePermissionDenied from VFSFileOpen

2003-06-12 Thread Douglas Handy
Magnus, Has anybody any info regarding this? Without testing it, I'd suspect the error might also occur if the card's write protect tab was set to locked. Has that been verified? Doug -- For information on using the Palm Developer Forums, or to unsubscribe, please see

RE: help

2003-06-12 Thread David Martin
while one may sympathize with the sentiment, a bit more detail is necessary if you actually want any help, unless you just wanted to start a thread about help in general... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Suman Sent: Thursday, June

Re: vfsErrFilePermissionDenied from VFSFileOpen

2003-06-12 Thread Matthew Darkstorm Bevan
It only seems to happen in very few cases. According to the docs, the permission denied error may be returned if some other program has an exclusive lock on the file. But the customer denies any knowledge of such a program in his T|T. I apologize for stating the obvious - but it needs to be

Re: FrmAlert, FrmCustomAlert

2003-06-12 Thread Miron Ophir
Henrik, FrmAlert/CustomAlert is actually (internally) a form displayed with FrmDoDialog. It has it's own internal message loop, and you can't access it. So probably it is best to write your own modal form that will display the alert, and inside its message loop check for whatever you like.

Re: help

2003-06-12 Thread Dave Lippincott
I think that was a command intended for the mail group server sent to the wrong email address. (at least I hope it was) - Original Message - From: David Martin [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 8:39 AM Subject: RE: help while

Re: modem for sony clie sj22

2003-06-12 Thread Dave Lippincott
First, USB is client-host. The Clie is setup as a client so you won't be able to use it to connect to other USB devices such as your USB modem. Look on the Sony Clie website for the available accessories for your SJ22. But it doesn't seem that Sony sells a modem for it in the US. You may be

Re: FrmAlert, FrmCustomAlert

2003-06-12 Thread DongDong
Yes. Miron is right. FrmAlert/Custom Alert is a convenient way to show message but no much control is available on them. I have same problem and now write an modal form on my own to handle the case. Miron Ophir [EMAIL PROTECTED] ¼¶¼g©ó¶l¥ó·s»D:[EMAIL PROTECTED] Henrik, FrmAlert/CustomAlert is

Re: help

2003-06-12 Thread Suman
yes...it was a command intended for the mailing list server.. i am sorry i sent the mail to wrong address. - Original Message - From: Dave Lippincott [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, June 12, 2003 7:25 PM Subject: Re: help I think that was a

Drawing tables with borders

2003-06-12 Thread Ryan Bruner
I have a few tables in my application. However, I haven't found any APIs that handle drawing the tables with borders around the table, or borders around the cells themselves. Also, how do you specify that each row/column/cell has a specific background color? For the most part, each cell of

Re: resources size limit?

2003-06-12 Thread Ben Combee
I used some bmp resources(used compress) in my app, the bmp files size is 122kb, when I add a bmp file(102kb size, 16bit color depths) to the resource, then the cw9 can't make the prc file, it will exit when making prc file? if I delete the last bmp file in resource file, then everything is fine.

Re: Http in INetLib

2003-06-12 Thread Ben Combee
whould you show some code of using INetLib to create the connection I wouldn't recommend using INetLib for any new projects, as its not available on all Palm OS 4 devices, and it will never be available for Palm OS 5. The only devices where it is the only way to communicate using the radio are

Re: Drawing tables with borders

2003-06-12 Thread Ben Combee
I have a few tables in my application. However, I haven't found any APIs that handle drawing the tables with borders around the table, or borders around the cells themselves. Also, how do you specify that each row/column/cell has a specific background color? For the most part, each cell of my

Re: default value error converting from GCC++ to CW9

2003-06-12 Thread Tilo Christ
Hi! myClass::function1(MemPtr var, Boolean ok = false) the compile errors out. If I remove the default value of false it will compile. How do I fix this problem? The above makes the impression as if you were declaring the default in the method implementation, is this right? So does it look

Re: Lists in OS 5

2003-06-12 Thread David Fedor
It seems to me that every release of OS 5.x handles 5-way navigators differently when using LstHandleEvent() and LstPopupList(). I could definitely see the difference on the Tungsten T and Tungsten W. I don't have a Tungsten C so I don't know about the 5-way navigator behavior in OS 4.x. The

Re: vfsErrFilePermissionDenied from VFSFileOpen

2003-06-12 Thread Nicolas Pabion
PalmOS has a bug with VFSFileOPen when you set the flag vfsModeLeaveOpen. On T|T, we issues a patch for the audio that also fixed this problem so players could play in the background. Nicolas Magnus Berg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi A customer has problems

Re: Popup list callback function not being called...urgent help needed

2003-06-12 Thread Mark A. Peters
Why do you want the callback invoked when the form is open? With a popup list, the list itself is not supposed to be visible until the user taps the trigger. The draw function only gets called when the system needs to draw the popped up list. Mark Peters Vidya Amar [EMAIL PROTECTED] wrote in

Re: Lists in OS 5

2003-06-12 Thread nevaip
(BTW the Tungsten C is ARM-based; it is the Tungsten W which is 68k-based.) Sorry, David, it was a typo. I meant the Tungsten T vs the Tungsten C, both with OS 5, handle lists differently. I mean LstHandleEvent() in the TT processes 5-way navs whereas in the TC it does not. PaulN -- For

pInstaller

2003-06-12 Thread Arpan Dalal
I am using pInstaller to install the app on my palm. Initially I tried using a xml file but I ran into error: Problem calling initial library. Installation archive may be incomplete or corrupted. I have no clue what this means. So for now I am using demo version of pInstaller Construction Set.

Ssl with non-blocking IO?

2003-06-12 Thread Jason Freund
Hi, When my app steps over SslOpen(), it fails with a sslErrWouldBlock. However, when I break at all the Info callbacks and slowly step through, it succeeds. I saw this same thing with Certicom SSL for Palm, but they had an option in the context to enable non-blocking IO which fixed it. Is

Re: Http in INetLib

2003-06-12 Thread Andrew
I am developing a application for SONY Clie NX70 plus PHS card which is a communication card. It is a Palm OS 5 devices. I am wandering whether it can support INetLib or not. Because I have tried to open the INetLib library but failed. I don't know why. Ben Combee [EMAIL PROTECTED]

Packed records #pragma help GCC++ to CW9

2003-06-12 Thread Danny Wong
HI, I'm having some difficulties getting my app to run properly after converting from GCC++. It is giving 2-4 byte alignment error, odd byte memory address. The GCC++ code uses __attribute__ ((packed)) here is my structure // GCC++ version for reference typedef struct { UInt16 idxRecord

Re: Popup list callback function not being called...urgent help needed

2003-06-12 Thread Vidya Amar
Thanks Mark, that helped me. I was trying to get the trigger label in the callback function since the database operation is done there. I can do that outside the callback function. Since LstSetDrawFunction was being executed, I thought that the callback function too would be called. Thanks for

Re: FrmAlert, FrmCustomAlert

2003-06-12 Thread Prashant Jha
I don't mean to hijack Henrik's mail chain but I have a related question. Miron say's FrmAlert/CustomAlert is actually (internally) a form displayed with FrmDoDialog.It has it's own internal message loop, and you can't access it... Is it true with the Palm Date picker also? Sorry Henrik...

Re: How to make color to Control's Label?

2003-06-12 Thread Sean Yang
You can use UIColorSetTableEntry() to set the same type control to the same color, if you want to set the different color for each of control, you need used Gadget to build your own control by yourself. Hangzm [EMAIL PROTECTED] дÈëÓʼþ news:[EMAIL PROTECTED] Hi: I want to make the Text of

page division

2003-06-12 Thread DongDong
I'm working on project with table consisting of 40 fields. I need to divided the labels and fields into pages for data entry. I would like to keep a series of buttons at the bottom of each page. Do I have to generate label and fields dynamically? Or I must create a page on form with the same