Re: popup trigger with drawings

2005-03-24 Thread Robert Moynihan
Yuen Kwee wrote: yup i know that this is the function that popSelectEvent does Boolean CCategoryForm::OnSelIcon(EventPtr pEvent, Boolean& bHandled) { Int16 trgX,trgY; bHandled = true; // <-- true! return true; } To unsubscribe send an email to [EMAIL PROTECTED] OK, and you are passi

Re: popup trigger with drawings

2005-03-24 Thread Yuen Kwee
yup i know that this is the function that popSelectEvent does Boolean CCategoryForm::OnSelIcon(EventPtr pEvent, Boolean& bHandled) { Int16 trgX,trgY; m_trgIcon.GetObjectPosition(trgX,trgY); RectangleType rect; rect.topLeft.x = trgX+12; rect.topLeft.y = trgY+1; rect.extent.x = 10; rect.exte

Re: popup trigger with drawings

2005-03-24 Thread Robert Moynihan
Yuen Kwee wrote: hi every 1! i have success fully add bitmaps to my list. the problem now is that, the popup trigger does not have the bitmap. from my understanding, popup triggers can only accept strings right? i tried many ways but none seem to work. until i found the popSelectEvent, when this

Re: IMMEDIATE HELP NEEDED: Codewarrior 9.0 installation problem:

2005-03-24 Thread Robert Moynihan
Cathy, I thought that Ed's comment was stated quite politely, and he included a link that offers help in how to structure a question in such a way that people will be able to assist without having to ask for too much clarification. Following that advice will maximize the chances that a questio

Re: Device Debugging: Connection Attempt Failed Error:

2005-03-24 Thread Ben Combee
At 01:00 AM 3/25/2005, you wrote: Hi, 1. I am trying to do Device Debugging on Treo 650. 2. I set the debug setting to USB Device in Codewarrior Settings. 3. Once I entered, ".2" in device, Codewarrior trying to Download and finally It says the below alert. Metrowerks Codewarrior Alert: Connection

popup trigger with drawings

2005-03-24 Thread Yuen Kwee
hi every 1! i have success fully add bitmaps to my list. the problem now is that, the popup trigger does not have the bitmap. from my understanding, popup triggers can only accept strings right? i tried many ways but none seem to work. until i found the popSelectEvent, when this happens i get

Device Debugging: Connection Attempt Failed Error:

2005-03-24 Thread Prabakar MP
Hi, 1. I am trying to do Device Debugging on Treo 650. 2. I set the debug setting to USB Device in Codewarrior Settings. 3. Once I entered, ".2" in device, Codewarrior trying to Download and finally It says the below alert. Metrowerks Codewarrior Alert: Connection Attempt Failed, Please Try aga

RE: IMMEDIATE HELP NEEDED: Codewarrior 9.0 installation problem:

2005-03-24 Thread babbu cathy
Hi, Thank you So much Mr.Eric. Really You helped me in my urgent positions, since someone put unneccasary comments about the way of subject, and contents. Really We want you kind of helpful persons in this forums, not like those persons. Its working properly now. Thank you. cathy. --- Eric Cloni

Re: being notified when memory runs low?

2005-03-24 Thread Logan Shaw
Ben Combee wrote: So, is there some mechanism where the OS can notify me when memory is getting too low so that I can free up some of my stuff? You might want to allocate an emergency buffer at program start and funnel allocations through a routine that will first try MemPtrNew, and if it fails

Re: IMMEDIATE HELP NEEDED: Codewarrior 9.0 installation problem:

2005-03-24 Thread babbu cathy
See, we are not kids, first understand that. In our Urgent positions, NO NEED PUT QUERY IN A SMART WAY. Forum peoples Try to Help for problems always. UNDERSTOOD WHAT IM SAYING. BE HELPFUL FOR OTHERS. Otherwise dont reply unnessarly. Ok. See, Eric Helped me and its working properly for me and I so

re: Syncing palm calendar with web browser calendar

2005-03-24 Thread Bill Judd
A simple approach would be to write an application that extracts event data from the calendar's web pages. You would use HTTP protocals to GET a specific page, then search within the page text for data that describes an individual event. Having extracted the data, you would format the informat

Re: being notified when memory runs low?

2005-03-24 Thread Ben Combee
So, is there some mechanism where the OS can notify me when memory is getting too low so that I can free up some of my stuff? In theory I could probably away with something like this by replacing system calls, but that gets ugly and possibly unsafe really quickly. You might want to allocate an em

being notified when memory runs low?

2005-03-24 Thread Logan Shaw
I've got some data I'm caching in the storage heap, and right now I'm using a fixed-size cache. It works well enough, but I'd love to improve it by using whatever amount of space is actually available. I could certainly do this by doing MemHeapFreeBytes() when I start caching things and then set m

where i can download PODS ( palm os develop suit) ?

2005-03-24 Thread SEAn
hi, I found the URL to download PODS on the palmsource is disabled(or because my speed is too slow) any websites i can get pods ? thanks. --sean. To unsubscribe send an email to [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://

Re: IMMEDIATE HELP NEEDED: Codewarrior 9.0 installation problem:

2005-03-24 Thread epross
It seems that there has been a steady increase of "HELP ME NOW" questions posted to the forum (that also lack a descriptive subject line) and thought I'd repost a 2003 message from George Henne which points new forum members to: Eric Raymonds "How to ask questions the smart way" article. You can f

Re: Using Files

2005-03-24 Thread Evan Ovadia
The Palm OS Companion has the API for database manipulation, and it's actually very easy to learn. I even made my own templated class, and in case you dont want to learn databases i can email it to you. ( Verdagon at gmail dot com ) To unsubscribe send an email to [EMAIL PROTECTED] -- For infor

re: stl-vector alternative

2005-03-24 Thread Evan Ovadia
It would probably be easy to make your own vector. Just use dynamic array allocation... I suggest you dont use vectors. Linked lists are much better storage-wise, which is vital on Palms. To unsubscribe send an email to [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, o

Re: Advice on persistency please

2005-03-24 Thread Logan Shaw
Clive Walden wrote: So I have to lock all the records I have accessed until I no longer want them, otherwise they may become invalid even though I have not changed any data? Yes, the chunks are relocateable in order to avoid memory fragmentation. Locking stops them from being relocated as long as

Noob Question

2005-03-24 Thread Jens Ratsey-Woodroffe
My apologies if this is a stupid question, but in CodeWarrior 9.0, is there any way to zoom the window in the Constructor that's titled 'Layout Appearance'?  My 21" monitor is running at 1600x1200 and a Palm screen is ridiculously small at that resolution! J. To unsubscribe send an email to [

RE: Advice on persistency please

2005-03-24 Thread Clive Walden
> If you lock the handle to a PDB record that contains your memory chunk > for the duration that your pointer into your struct is in scope you > should be OK. So I have to lock all the records I have accessed until I no longer want them, otherwise they may become invalid even though I have not ch

Re: Browser Creator ID problems - nothing unusual...

2005-03-24 Thread Henk Jonas
John Spence wrote: Hello Ben, I downloaded the file WebBrowserManager_R1 as you suggested and unzipped it onto my hard drive. As just a sanity check, I brought up the project in fully updated Codewarrior 9 and tried to Make it. I get an error: "WebBrowserManager_Rsc.h Operation Not Permitted".

Re: Browser Creator ID problems - nothing unusual...

2005-03-24 Thread John Spence
Hello Ben, I downloaded the file WebBrowserManager_R1 as you suggested and unzipped it onto my hard drive. As just a sanity check, I brought up the project in fully updated Codewarrior 9 and tried to Make it. I get an error: "WebBrowserManager_Rsc.h Operation Not Permitted". I was hoping to

2 Alarm Procedures Getting Called in Same app

2005-03-24 Thread Raj Kumar
Hello, We are stumped with a peculiar behavior. I appreciate any pointers. The application has 2 alarm procedures (one for the background mode and the other one for the foreground). When the application exits, we unregister the foreground alarm proc (third param 0) and register for background

RE: Advice on persistency please

2005-03-24 Thread Aaron Hansen
If you lock the handle to a PDB record that contains your memory chunk for the duration that your pointer into your struct is in scope you should be OK. If you unlock the record then you would have to update your memory pointer again once you locked the record again. Should be pretty easy to keep

Re: Reassembling fragments (WAP SAR)

2005-03-24 Thread Henk Jonas
Donald C. Kirker wrote: Yes. I will have to use MemMove as the data I am working with has many NULL characters that represent the end of strings inside of the data, but not the end of the data. I think my problem might be that there is old data in the buffer when I go to move data into it. Shoul

stl-vector alternative

2005-03-24 Thread Sebastian Noack
Hi, in PalmOS source, I can't use the stl. Therefore I want to know if there is an alternative of the vector-class of the stl for PalmOS source? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Advice on persistency please

2005-03-24 Thread Clive Walden
I am developing an app. that will store approx. 500,000 contacts. To do this I have my own heavily normalized database inside the Palm database (memory chunks). The data will be almost read only. That is, there are a couple of bytes whose value can be changed; but nothing can be added, deleted o

T5 Touchscreen Freeze

2005-03-24 Thread Mike Petersen
Hello all, Has anyone encountered problems with the T5 where the touchscreen stop's recognizing/accepting inputs. My applications continues to function perfectly (reading/writing the serial I/O and updating the LCD). The 4 hard-buttons are recognized and the selected app is called but the touchs

Re: Using Files

2005-03-24 Thread Ben Combee
At 11:58 AM 3/24/2005, you wrote: Hello, I am starting development on a Palm. I would like to used files stored on the Palm. How could I open and modify it. I think I have not understand the files management on the Palm. There are no files in main memory on Palm OS, only databases. There are spec

App writing to globals

2005-03-24 Thread Richard Coutts
About 10% of the time I run gremlins, I'm getting the warning written to the log file: 0.050 (0): === WARNING: 0.050 (0): === WARNING: App just wrote to memory location 0x0254, which is in the Palm OS global va

RE: Sprint Treo 650 firmware update posted

2005-03-24 Thread Ben Combee
At 11:16 AM 3/24/2005, you wrote: >> "TILUtilsCDMAHtc.c, Line:69, Not NV read response" ... > TIL - Telephony Interface Library (I think) > Utils - Utility functions > CDMA - what kind of radio, could also be GSM > Htc - Could be the contract manufacturer, HTC builds the Treo 650 Yes, that makes se

RE: IMMEDIATE HELP NEEDED: Codewarrior 9.0 installation problem:

2005-03-24 Thread Eric Cloninger
Cathy, Chances are, the CW installer is looking at a registry key and thinks CodeWarrior is still installed but isn't checking that the files are still there. Using regedit, look in HKLM/Software/Microsoft/Windows/CurrentVersion/Uninstall And see if there are any entries there for Metrowerks or

Re: Reassembling fragments (WAP SAR)

2005-03-24 Thread Donald C. Kirker
Yes. I will have to use MemMove as the data I am working with has many NULL characters that represent the end of strings inside of the data, but not the end of the data. I think my problem might be that there is old data in the buffer when I go to move data into it. Should I use MemSet to set

Using Files

2005-03-24 Thread Virgile Speich
Hello, I am starting development on a Palm. I would like to used files stored on the Palm. How could I open and modify it. I think I have not understand the files management on the Palm. Any help will be highly appreciated. Thanks, Virgile -- For information on using the Palm Developer Forum

RE: Sprint Treo 650 firmware update posted

2005-03-24 Thread Jeffry Loucks
>> "TILUtilsCDMAHtc.c, Line:69, Not NV read response" ... > TIL - Telephony Interface Library (I think) > Utils - Utility functions > CDMA - what kind of radio, could also be GSM > Htc - Could be the contract manufacturer, HTC builds the Treo 650 Yes, that makes sense. What made me wonder about N

Re: Toooooooooo much information -> StrChr or StrStr or Glue + TxtFindString

2005-03-24 Thread Henk Jonas
Nigel Grant wrote: This second one has the no "7," This appears to be the end of the string, but I cant understand why the , character is there. Do you have any idea why this is ? No, I don't know what#s wrong. I've just test it for my own, and it works as expected: 0046:1: - ME 0046:2: 0

IMMEDIATE HELP NEEDED: Codewarrior 9.0 installation problem:

2005-03-24 Thread babbu cathy
Hello, I know this s not a suitable forum to put this query, but i need urgent help. so i am putting this query to this forum also. I am facing big problem now, I am not able to uninstall and reinstall my codewarrior 9.0 version setup. I Explain below what i did mistake, 1. I installed first codew

Re: Toooooooooo much information -> StrChr or StrStr or Glue + TxtFindString

2005-03-24 Thread Nigel Grant
Hi Henk I tried your solution, but I couldnt get it to work :( I had to change this line from strSub1 = MemPtrNew(StrLen(strTemp) + 1); to strSub1 = (Char *) MemPtrNew(StrLen(strTemp) + 1); I dont believe that would cause any grief. Updated code l_resultC = "- ME~0882644107" Char *strSub

Re: How to intercept application launching?

2005-03-24 Thread Vesselin Bontchev
> Hmm, what if, after removing itself from the trap chain, my > application lets the other application's trap interception finish > (i.e., letting the other application intercept the trap as if mine > isn't present) and *afterwards* my application intercepts the same > trap again? This way my appli

Re: How to intercept application launching?

2005-03-24 Thread Vesselin Bontchev
[Combining several replies into one.] > I'm not sure how you detect that another app has patched a trap - > do you intend to search the memory of all apps for a stored value > that equals the address of your own routine? I didn't mean to detect that an application has patched a trap in general. I

Re: which i need to use to convert a Access MDB to PDB for palm os 5.x

2005-03-24 Thread Jim Cooper
Imran First, use standard Access capability to export the required records and fields as a CSV format or fixed record length file. Then, write a conduit to read the CSV file from the PC and write it out to the Palm OS device, using the API's that PalmSource provide. Or just write a conduit to ac

RE: DmOpenRef error

2005-03-24 Thread ULStudent:Robert.Conlon
Tanx everyone this is no longer an issue and i have both databases up and running :) -Original Message- From: Greg Sepesi [mailto:[EMAIL PROTECTED] Sent: 23 March 2005 12:30 To: Palm Developer Forum Subject: Re: DmOpenRef error "ULStudent:Robert.Conlon" wrote: > > I no longer get the Dm

RE: Sprint Treo 650 firmware update posted

2005-03-24 Thread Ben Combee
At 12:48 AM 3/24/2005, you wrote: Anxiously downloaded and applied the 1.08 firmware update for Treo 650. Firmware update went smoothly. Our app makes heavy use of NetLib. It also hammers the storage heap and uses a lot of small records, so have been severely impacted by the NVFS problems. The new

Re: Reassembling fragments (WAP SAR)

2005-03-24 Thread Henk Jonas
Donald C. Kirker wrote: That is probably my problem. I will look at it. Is there an alternate function that might be better than StrCopy? Thanks, Donald MemMove() if you know the correct size. Regards Henk -- - Henk Jonas

Associations

2005-03-24 Thread Sateesh
Hello All, Are there any exclusive Association's where companies doing work in Palm OS and Pocket PC can become members? These may be region based also(In that case I am specifically interested in areas around NJ, NY). Please do let me know if you know of any. It will be highly appreciated. Best