Re: Free Palm OS HTTP(S) librarry
Hi, there is already a HTTPLib on newer palm devices (treo, T5, E2). The headers from the lib an some doc can be found in the SDK from PalmOne (not the PalmSource SDK!!). Regards Philippe On Wed, 19 Oct 2005 02:08:43 +0800, Mohammad Afshari <[EMAIL PROTECTED]> wrote: Hello I'm looking for a free Palm OS HTTP library. I have found this commercial one from PDA Developers which seems to be what I just need, but you need to pay for it http://www.pdadevelopers.com/homehttps.htm I have also found HTTPLib2 for Palm http://www.tektonica.com/projects/ but when I downloaded the package, the .PRC file doesnt get installed on the Emulator, dont know why (and I beilieve the link is not working now!) The other site which I cam across was http://www.bitsplitter.net/PalmHTTP/ but it didnt seem to have the proper documention... I would be thankful if you can refer me to other free libraries... Thanx in advance Mohammad Afshari -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Free Palm OS HTTP(S) librarry
You can always use tcp/ip sockets to send and parse HTTP headers along with code to read and write the body data. It takes a while (easier if you're using something like POL) but you still need to know the ins and outs of the Palm NetLib API + SSL API if you wish to do secure sockets. It is possible, though. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mohammad Afshari Sent: 18 October 2005 19:09 To: Palm Developer Forum Subject: Free Palm OS HTTP(S) librarry Hello I'm looking for a free Palm OS HTTP library. I have found this commercial one from PDA Developers which seems to be what I just need, but you need to pay for it http://www.pdadevelopers.com/homehttps.htm I have also found HTTPLib2 for Palm http://www.tektonica.com/projects/ but when I downloaded the package, the .PRC file doesnt get installed on the Emulator, dont know why (and I beilieve the link is not working now!) The other site which I cam across was http://www.bitsplitter.net/PalmHTTP/ but it didnt seem to have the proper documention... I would be thankful if you can refer me to other free libraries... Thanx in advance Mohammad Afshari -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
AlmSetProcAlarm
Hi all, I need to use Proc Alarm: AlmSetProcAlarm and I have problems to pass a correct pointer of my callback function. Could anyone please tell me some hints/example how to sort this out ? 1) Should I use DmDatabaseProtect or MemHandleLock to keep the code resource locked ? 2) Should I use MemHandleUnlock afterwards ? 3) Should the callback function be in a separate code resourse ? I would really appreciate any help. Thanks Cheers, Kris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: AlmSetProcAlarm
Can I assume you know that it's MUCH easier to use the alarm launch codes ? Jürgen Kris wrote: > Hi all, > > I need to use Proc Alarm: AlmSetProcAlarm and I have problems to pass a > correct pointer of my callback function. > Could anyone please tell me some hints/example how to sort this out ? > 1) Should I use DmDatabaseProtect or MemHandleLock to keep the code resource > locked ? > 2) Should I use MemHandleUnlock afterwards ? > 3) Should the callback function be in a separate code resourse ? > > I would really appreciate any help. Thanks > > Cheers, > Kris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: AlmSetProcAlarm
Yes, I know that, but in my application I need to do some actions not visible for an User and the LCD must remain off. /Kris -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: pnoJpeg2GetInfo fatal alert
hi! I think/hope i've found the error. The prc-File which was in the zip-file was corrupt. I've uploaded a 2.11-zip-file with a new prc-file. Maybe this works. Stefan Anning Chen wrote: I'm also getting an error where if I call the pnoJpeg2GetInfo function the simulator just crashes without any alerts. Is this a pnoJpeg2Lib bug? Should I be using the version lib instead? It seems version 1 is not being supported anymore. Did anyone find out a solution to this? Thanks Anning -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: CodeWarrior, Palm OS DS or what?
Hi Del, many thanks for the reply. The main problem is not the investment in software, here in our software house spend a lot of money each year for any kind of software, the problem instead is its development cycle. I do an example: we bought some times ago Pocket Studio for Palm OS, it is a brilliant suite, we feel good using it (since it has the same user interface as Delphi has). The problem using Pocket Studio is that it use Pascal as front-end language. So since the API functions are written in C, there is a nightmare to use some API functions since the Pascal has a different kind of sintax. Of course this could be not a true problem, since we are here experienced developer in C/C++ and Delphi. Unfortunately searching and adapting the API functions or structures to Pascal is a very time consuming operation. Then we are looking for something more sophisticated than a simple suite like Code Warrior or Palm OS DS. I'm sure that are no other way to develop an appllication using C or C++, but I have no experience with these two suite (CW or Palm OS DS), so my question was directed to understand what was the best platform. As written before, of course I'm a little worried about the old program style of the actual Palm OS development tools, they remember my old times when with Microsoft C, or Turbo C were forced to write the resource in a file, then link the resource to the code writing any kind of function and details to develop a simple application. The big applications as that written by us are a true nightmare... That's all, of course I will download (again) the Code Warrior to see if it has a better development cycle than the Palm OS suite. My best regards, Piero Pirrone At 23.57 18/10/2005, you wrote: Given your willingness to make an investment in software, and the availability of sample versions for many of these IDE's, why not try one or two? I have taken note of the fact that there are some BASIC oriented products that have counterparts from the same manufacturer costing less than $200 that are designed for development for handheld devices running Microsoft OS. Are you merely interested in development for Palm OS? The manufacturer web sites for the IDE's typically include a walk-through option that shows the environment. - Original Message - From: "Piero Pirrone" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Tuesday, October 18, 2005 10:13 AM Subject: Re: CodeWarrior, Palm OS DS or what? > Yes of course, It's not a problem to buy Code Warrior, but I need > some impressions about it, > since coming from advanced tools like Delphi or Borland compilers and > landing on Palm OS suite or Code Warrior seems to me a kind of > turning back in the 80s when using TurboC you were forced to use a > resource editor to make the user interface, then to write down a lot > of API calls to handles the interface gadgets. > > Has Code Warrior the same philosofy as Palm OS Suite has? or Code > Warrior is a better environment than Palm OS Suite? > > It doesn't matter the costs, it merely a technical reasons... > > Bye, > Piero > > > > At 17.07 18/10/2005, you wrote: > >You can always try the free Palm OS suite, and if you don't care for it, buy > >something. > > > >(I've used Borland Builder and VB, and am inclined to believe my learning > >curve would have > >been less steep with one of the VB-like developer suites. At the same time, > >with help > >from parties at this forum, I haven't hit the wall yet while learning with > >CodeWarrior.) > > > >- Original Message - > >From: "Piero Pirrone" <[EMAIL PROTECTED]> > >To: "Palm Developer Forum" > >Sent: Tuesday, October 18, 2005 9:15 AM > >Subject: CodeWarrior, Palm OS DS or what? > > > > > > > Hi! > > > > > > I'm starting writing an application using the Palm OS Developer > > > Suite, but I found this suite very slow, not so easy to understand (etc. > >etc.) > > > > > > I used for a little, Pocket Studio (it use a Pascal like language), > > > but I leaved it for a C/C++ language since each function I need to > > > use in Pascal must be converted from the C API. > > > > > > Since I'm a Borland C++ user what's the best suite CodeWarrior, Palm > > > OS Developer Suite, or something other? > > > > > > Bye, > > > Piero > > > > > > > > > -- > > > For information on using the PalmSource Developer Forums, or to > >unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > > > > > >-- > >For information on using the PalmSource Developer Forums, or to > >unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > > -- > For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmo
Re: CodeWarrior, Palm OS DS or what?
I understand. Best wishes. - Original Message - From: "Piero Pirrone" <[EMAIL PROTECTED]> To: "Palm Developer Forum" Sent: Wednesday, October 19, 2005 7:11 AM Subject: Re: CodeWarrior, Palm OS DS or what? > Hi Del, > many thanks for the reply. > > The main problem is not the investment in software, here in our > software house spend a lot of money each year for any kind of > software, the problem instead is its development cycle. > > I do an example: we bought some times ago Pocket Studio for Palm OS, > it is a brilliant suite, we feel good using it (since it has the same > user interface as Delphi has). The problem using Pocket Studio is > that it use Pascal as front-end language. So since the API functions > are written in C, there is a nightmare to use some API functions > since the Pascal has a different kind of sintax. > Of course this could be not a true problem, since we are here > experienced developer in C/C++ and Delphi. Unfortunately searching > and adapting the API functions or structures to Pascal is a very time > consuming operation. > > Then we are looking for something more sophisticated than a simple > suite like Code Warrior or Palm OS DS. > > I'm sure that are no other way to develop an appllication using C or > C++, but I have no experience with these two suite (CW or Palm OS > DS), so my question was directed to understand what was the best platform. > > As written before, of course I'm a little worried about the old > program style of the actual Palm OS development tools, they remember > my old times when with Microsoft C, or Turbo C were forced to write > the resource in a file, then link the resource to the code writing > any kind of function and details to develop a simple application. The > big applications as that written by us are a true nightmare... > > That's all, of course I will download (again) the Code Warrior to see > if it has a better development cycle than the Palm OS suite. > > My best regards, > Piero Pirrone > > > > At 23.57 18/10/2005, you wrote: > >Given your willingness to make an investment in software, > >and the availability of sample versions for many of these IDE's, > >why not try one or two? > > > >I have taken note of the fact that there are some BASIC oriented products > >that have > >counterparts from the same manufacturer costing less than $200 that are > >designed > >for development for handheld devices running Microsoft OS. Are you merely > >interested in development for Palm OS? The manufacturer web sites for the > >IDE's > >typically include a walk-through option that shows the environment. > > > > > >- Original Message - > >From: "Piero Pirrone" <[EMAIL PROTECTED]> > >To: "Palm Developer Forum" > >Sent: Tuesday, October 18, 2005 10:13 AM > >Subject: Re: CodeWarrior, Palm OS DS or what? > > > > > > > Yes of course, It's not a problem to buy Code Warrior, but I need > > > some impressions about it, > > > since coming from advanced tools like Delphi or Borland compilers and > > > landing on Palm OS suite or Code Warrior seems to me a kind of > > > turning back in the 80s when using TurboC you were forced to use a > > > resource editor to make the user interface, then to write down a lot > > > of API calls to handles the interface gadgets. > > > > > > Has Code Warrior the same philosofy as Palm OS Suite has? or Code > > > Warrior is a better environment than Palm OS Suite? > > > > > > It doesn't matter the costs, it merely a technical reasons... > > > > > > Bye, > > > Piero > > > > > > > > > > > > At 17.07 18/10/2005, you wrote: > > > >You can always try the free Palm OS suite, and if you don't care for it, > >buy > > > >something. > > > > > > > >(I've used Borland Builder and VB, and am inclined to believe my learning > > > >curve would have > > > >been less steep with one of the VB-like developer suites. At the same > >time, > > > >with help > > > >from parties at this forum, I haven't hit the wall yet while learning > >with > > > >CodeWarrior.) > > > > > > > >- Original Message - > > > >From: "Piero Pirrone" <[EMAIL PROTECTED]> > > > >To: "Palm Developer Forum" > > > >Sent: Tuesday, October 18, 2005 9:15 AM > > > >Subject: CodeWarrior, Palm OS DS or what? > > > > > > > > > > > > > Hi! > > > > > > > > > > I'm starting writing an application using the Palm OS Developer > > > > > Suite, but I found this suite very slow, not so easy to understand > >(etc. > > > >etc.) > > > > > > > > > > I used for a little, Pocket Studio (it use a Pascal like language), > > > > > but I leaved it for a C/C++ language since each function I need to > > > > > use in Pascal must be converted from the C API. > > > > > > > > > > Since I'm a Borland C++ user what's the best suite CodeWarrior, Palm > > > > > OS Developer Suite, or something other? > > > > > > > > > > Bye, > > > > > Piero > > > > > > > > > > > > > > > -- > > > > > For information on using the PalmSource Developer Forums, or to > > > >unsubscribe, please see http://www.palmos.co
Re: Perform Hard reset programmatically
[EMAIL PROTECTED] wrote: Is any way to perform hard reset programmatically? Just an idea. You may try to corrupt storage heap header or some other vital data on purpose and then call soft reset. Check MemHeapPtr and MemSemaphoreReserve system calls. Frantisek -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: CodeWarrior, Palm OS DS or what?
"Piero Pirrone" <[EMAIL PROTECTED]> a écrit dans le message de news: [EMAIL PROTECTED] > The problem using Pocket Studio is that it use Pascal as front-end > language. So since the API functions are written in C, there is a > nightmare to use some API functions since the Pascal has a different kind > of sintax. On winsoft Pocket Studio web site, they say: PocketStudio Library make development easier by 'wrapping' the PalmOS API calls with easy-to-use, understandable code This does not fit with what you are saying. -- Regis St-Gelais www.laubrass.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Database Access
I am trying to piece together code from this site's examples and a book I purchased on PalmOS programming. Unfortunately, without a lot of success. My goal is to be able to create and retrieve elements from database records. I begin with: /* * Global variables */ typedef struct { char FirstName[10]; char LastName[10]; char PhoneNum[20]; } DBRecord; typedef DBRecordDBRecordType; typedef DBRecord* DBRecordPtr; // global database reference, will be init in AppStart() and close db in AppStop() DmOpenRef gDatabase = 0; I then have a function to create a record: int CreateRecord() { MemHandle h; UInt16 index = 0; DBRecordType r; h = DmNewRecord(gDatabase, &index, sizeof(r)); StrCopy(r.FirstName, "Jun"); StrCopy(r.LastName, "Zhou"); StrCopy(r.PhoneNum, "1 555 545 4434"); if (h) { // could fail due to out of memory! MemPtr p = MemHandleLock(h); Err err = DmWrite(p, 0, &r, sizeof(r)); MemPtrUnlock(p); DmReleaseRecord(gDatabase, index, true); } return 1; } Next I try to access the FirstName element of the first record: case Save: { Err err=0; Char *Tkva; DBRecord* rec; int back; FieldType * field = (FieldType*)GetObjectPtr(kVA); MemHandle myRecord = DmQueryRecord(gDatabase, 0); back=CreateRecord(); if (!myRecord) err = DmGetLastErr(); else rec = (DBRecord*) MemHandleLock(myRecord); Tkva = rec->FirstName + StrLen(rec->FirstName)+1; MemHandleUnlock(myRecord); if (field) { Char* pText = (Char*) MemPtrNew(10); // allocate 10 bytes FieldType * field; Boolean redraw; redraw=true; SetFieldTextFromStr(field, pText, redraw); handled=true; break; } //Actions that follow if nothing is done by code //to show data /* Display the Transformer Box. */ //FrmDoDialog (frmP); //FrmDeleteForm (frmP); handled = true; break; } This will compile, but when I try to run it, I receive an error message telling me that I have accessed low memory, and must reset. This is probably very familiar territory to a lot of people, although my first time trying to work with a database under any OS. I'd appreciate any recommendation with regard to how to fix this problem. Thanks (again). -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Treo 650 font problem
Subject: Treo 650 font problem From: "Kristian Austad" <[EMAIL PROTECTED]> Date: Tue, 18 Oct 2005 08:17:28 - I can't believe I'm the only one using custom fonts on Treo 650... You aren't To recapture the problem: I'm using PRC-tools and pilrc. Custom fonts show up double height in all the UI elements. The OS defines the height according to the 144 resolution font and not the 72. I only have this problem on Treo 650. I've managed to halve the font height on the UI elements I can control if running on Treo, but in text fields it shows up looking like double spacing. Still hoping someone knows why this happens and what can be done to possibly circumvent it :-) You do have a both a low and high density font, don't you ??? While the Treo 650 only uses the high density font, the OS requires the low density font to be present, I believe. Roger Stringer Marietta Systems, Inc. (www.rf-tp.com) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: pnoJpeg2GetInfo fatal alert
Stefan, >I think/hope i've found the error. The prc-File which was in the >zip-file was corrupt. > >I've uploaded a 2.11-zip-file with a new prc-file. Maybe this works. Thanks. Alas, unless I'm doing something wrong I'm still seeing the generic Fatal Alert. I am using the newer code -- the one where ARMC resource 1 is 47552 bytes long instead of the previous 7336 bytes. Does pnoJpeg2GetInfo() complete successfully for you? I think my calling structure is correct, because the v1 level of the library pnoJpegGetInfo does work, but the v2.11 does not (for me). Doug -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Preventing an application to start if already running
68K applications run in a single tasking OS. So, your program can't posssibly be already running, as only one program can run at a time. To get to the launcher you pretty much had to terminate your program. Kinda reduces the risk of viruses and such, too... /js In your message regarding Preventing an application to start if already running dated Wed, 19 Oct 2005 04:26:35 +0200, Stefano Fornari said that ... > Hi All, > I need to prevent an application to start if already running. Is it > possible in a 68K application? How can I do it. > I searched already the list and the documentation, but I could not > find any useful information. > > Thanks in advance. > Stefano > -- > Stefano Fornari - Sync4j Project Manager / Funambol CTO > === > Home: > http://www.sync4j.org > FAQ: > http://sync4j.funambol.com/main.jsp?main=faq > Project Documentation: > http://forge.objectweb.org/docman/index.php?group_id=96 > Documentation site: > http://sync4j.funambol.com/main.jsp?main=documentation > List archives: > http://groups.yahoo.com/group/Sync4j (login required) > http://sourceforge.net/mailarchive/forum.php?forum_id=215 > Wiki: > http://wiki.objectweb.org/sync4j/ > > Sync4j - The open source SyncML mobile application platform > > -- > For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > > -- -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: VFSFileOpen crash
As Logan Shaw told me, there's no firm rules, just put it where it seems proper to you. The app itself if it's in the /PALM/LANCHER directory of the sdcard will get launched when the sdcard is put in. I'm pretty new to all this myself, so I'll leave it to others to answer (or correct my answers). On Wed October 19 2005 12:59 am, [EMAIL PROTECTED] wrote: > Hi Chris, > > Thank you very much for your reply. Actually I was mmissing "/" in my file > path. can you please tell me where my application gets installed? on the > phone or on a simulator. is there any folder created for my application? > suppose I want to place setting file for my application. what will be the > best place. How can I transfer that file to the phone with my application? > > Can anyone please solve my querry? > > Thanks in Advance. > > .. > KiraN Puranik -- "Endorsing products is the American way of expressing individuality." -Calvin -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: ARMs problem
Thanks for the reply. Soft reset did not work, hence the need to get an understanding of what was going on. Did a hard reset and hot sync and all is now OK, after I had done a backup with RescoBackup of course. Regards Corinne ---Original Message--- From: Palm Developer Forum Date: Tuesday, October 18, 2005 22:57:16 To: Palm Developer Forum Subject: Re: ARMs problem Just a general advice.If the error says "could not allocate memory", then I would assume that itcannot allocate memory. Probably dynamic memory, I guess. Maybe some appthat did not release allocated memory. (MTeam?)Find some tool that will show you the amount of available memory. (I am notgoing to mention our tools on this forum.)Or do the easiest thing = soft reset.With best regards,Jan SlodickaResco, Palm Division- Original Message - From: "Corinne" <[EMAIL PROTECTED]>To: "Palm Developer Forum"Sent: Tuesday, October 18, 2005 6:44 AMSubject: ARMs problem> I have a real problem that I have been unable to resolve in gerneral Palmforums so have come to those in the know.>> I have a Tungsten E2 which I have TomTom Navigation loaded to. I recentlyloaded a peice of software (the game MTeam) which currupted the screen. Iuninstalled it which resulted the Palm loosing its Sync name. Got the Syncname back easely enough by synicing but since then TomTom will not work.>> When I try to start TomTom I get the message 'ARM Read: could not allocatememory' and can do nothing more with it.>> I uninstalled TomTom, reloaded it but the problem remains.>> All other software is working fine.>> Any ideas will very greatfully recieved!>>> -- > For information on using the PalmSource Developer Forums, or tounsubscribe, please see http://www.palmos.com/dev/support/forums/-- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: VFSFileOpen crash
[EMAIL PROTECTED] wrote: Thank you very much for your reply. Actually I was mmissing "/" in my file path. can you please tell me where my application gets installed? on the phone or on a simulator. is there any folder created for my application? suppose I want to place setting file for my application. what will be the best place. How can I transfer that file to the phone with my application? I'm not sure if you mean a configuration file or a preferences file. If you want to do a configuration file, the usual way to do different configurations on the Palm is to do different builds of your program. You can either change constants in your source code or change some of the resources in the PRC and have the program check those. By including the information in the executable PRC, you reduce the installation hassle for the user and keep things simple, which is an important goal on the Palm. If you want to do preferences (user settings), then the normal Palm way to do it is to use the Preferences calls, like PrefGetAppPreferences() and PrefSetAppPreferences(). If you really want to do a separate file, then things get trickier. Since not all devices have a filesystem (some don't have an SD Card slot or built-in flash; some have an SD Card slot but the owner doesn't have an SD Card to put in the slot), if you want to support all devices, then you cannot do it is a file and you must do it as a database. In that case, the easiest thing is to create a PDB or a PRC that is installed along with your executable PRC. As for where your application (and other files) are installed, it depends. If the user takes no action at all, it will be installed in the storage heap, i.e. internal to the device and not on a filesystem. But it can also be installed on SD Card or on another VFS volume. If it's on another VFS volume, the directory it's located in depends on the VFS volume. On most, it's in /PALM/Launcher, but on some others it's in /Applications. I believe you use VFSGetDefaultDirectory() to find the actual directory for a given VFS filesystem. No special directory is created for your application. Its PRC and any other databases you install (including other applications) all go in the same directory together. - Logan -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: VFSFileOpen crash
Chris wrote: As Logan Shaw told me, there's no firm rules, just put it where it seems proper to you. The app itself if it's in the /PALM/LANCHER directory of the sdcard will get launched when the sdcard is put in. Close, except (1) it's not always /Palm/Launcher, and you need to check VFSGetDefaultDirectory() to know which directory it actually is, and (2) it will not be launched automatically when the card is put in, but the launcher will automatically start when a card is inserted and will show everything in that directory as a category. If you want to auto-launch an application, you need to create a start.prc on the card. - Logan -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Database Access
Del Ventruella wrote: Next I try to access the FirstName element of the first record: case Save: { Err err=0; Char *Tkva; DBRecord* rec; int back; FieldType * field = (FieldType*)GetObjectPtr(kVA); MemHandle myRecord = DmQueryRecord(gDatabase, 0); back=CreateRecord(); I'm not sure why you are creating a record right after you just located a record, but that shouldn't cause a crash. if (!myRecord) err = DmGetLastErr(); else rec = (DBRecord*) MemHandleLock(myRecord); Tkva = rec->FirstName + StrLen(rec->FirstName)+1; Not really sure what you're trying to do with this pointer, but it doesn't seem to be used later anyway, so it probably does not matter. However, it is important that rec->FirstName contains a valid string. If it doesn't, then StrLen() might crash. MemHandleUnlock(myRecord); This and the line above it should be inside the else clause of the "if (!myRecord)" if-statement. If it isn't, then when you fail to find a record, you will not try to lock it, but you will try to do the other things you should only do after you lock it (read from the record and unlock it). You could change it to this: if (!myRecord) err = DmGetLastErr(); else { rec = (DBRecord *) MemHandleLock (myRecord); Tkva = rec->FirstName + StrLen (rec->FirstName)+1; MemHandleUnlock(myRecord); } On the other hand, even that code is a bit nonsensical, since the expression "rec->FirstName" has a pointer value, and that pointer value is desired from a locked pointer. So the pointer value stored in Tkva is no longer valid after you do the MemHandleUnlock(). (So why compute it then?) if (field) { Char* pText = (Char*) MemPtrNew(10); // allocate 10 bytes FieldType * field; Boolean redraw; redraw=true; SetFieldTextFromStr(field, pText, redraw); Here you have just allocated 10 bytes, left them full of whatever garbage the system put in them, and then passed a pointer to the garbage to something (SetFieldTextFromStr()) which is expecting a string. This could cause a crash because there is no guarantee that the garbage contains a null terminator byte like a C string must. - Logan -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Button text not moving with form
I have a form with buttons on it. I am moving the form with WinSetWindowBounds. The buttons move but the button text does not. The text stays in its original place. Thanks for any advice. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: cannot reproduce LifeDrive bug
It runs fine on the Palm 5.2 and 5.3 Debug and Release Simulators, as well as on my m515. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
hiding a label
I'm updating a label during a calculation, and then when the calculation is done, I'm hiding the label, and showing a button. The way I'm doing it now seems stupid. (writing blanks). There must be a better way, but simply hiding the label doesn't seem to work. What is the best way to hide a label once it has been shown on the screen? { /// Hide the Feedback label fieldIndex = FrmGetObjectIndex(MainfrmP,MainCompareNowLabel); Control = (ControlType *)FrmGetObjectPtr(MainfrmP,fieldIndex); CtlSetLabel(Control,""); This is the only way it will clear the area FrmShowObject(MainfrmP,fieldIndex); FrmHideObject(MainfrmP,fieldIndex); /// Show Button fieldIndex = FrmGetObjectIndex(MainfrmP,MainCompareNowButton); FrmShowObject(MainfrmP,fieldIndex); FrmUpdateForm(FrmGetObjectIndex(MainfrmP,MainForm),frmRedrawUpdateCode); } Chris Bruner Compulife Software Inc. == -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Memory allocation
I'm beating my head against the wall again. At certain times pq will already be in use. I have code to free the memory for reuse. Here's the setup (briefly): PQ *pq; PQ *tpq; ... tpq = (PQ *) MemPtrNew(order * sizeof(PQ)); tpq->items = (ITEM *) MemPtrNew(sizeof(ITEM)); ... (load data into tpq & tpq->items ... pq = (PQ *) MemPtrNew(order * sizeof(PQ)); MemMove(pq, tpq, sizeof(PQ)); At this point, the data is tpq is correct, but there is still no data in pq. Why is the call to MemMove() failing? Thanks. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Treo 650 font problem
Thanks for replying Roger, Yes, I've defined FONTFAMILY using one 72 res font and one 144 font that correspond, i.e. the height and width of the 72 res font is exactly half that of the 144 res font for each character. FONTFAMILY ID Verdana10 BEGIN FONT "verdana 10_lo.pfn" DENSITY 72 FONT "verdana 10.pfn" DENSITY 144 END This works fine on all other models, but not on Treo 650. Kristian -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Memory allocation
On Wed, 19 Oct 2005, Gnadinger, David wrote: > I'm beating my head against the wall again. At certain times pq will already > be in use. I have code to free the memory for reuse. Here's the setup > (briefly): > > PQ *pq; > PQ *tpq; > > ... > tpq = (PQ *) MemPtrNew(order * sizeof(PQ)); > tpq->items = (ITEM *) MemPtrNew(sizeof(ITEM)); > ... > (load data into tpq & tpq->items > ... > pq = (PQ *) MemPtrNew(order * sizeof(PQ)); > MemMove(pq, tpq, sizeof(PQ)); > > At this point, the data is tpq is correct, but there is still no data in pq. > Why is the call to MemMove() failing? > > Thanks. > > -- > For information on using the PalmSource Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > You're only copying one PQ's worth of data from tpq to pq. If you want to copy all of tpq into pq, your MemMove statement should be MemMove(pq, tpq, order * sizeof(PQ)); -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory allocation
On 10/19/05, Gnadinger, David <[EMAIL PROTECTED]> wrote: > I'm beating my head against the wall again. At certain times pq will already > be in use. I have code to free the memory for reuse. Here's the setup > (briefly): > > PQ *pq; > PQ *tpq; > > ... > tpq = (PQ *) MemPtrNew(order * sizeof(PQ)); > tpq->items = (ITEM *) MemPtrNew(sizeof(ITEM)); > ... > (load data into tpq & tpq->items > ... > pq = (PQ *) MemPtrNew(order * sizeof(PQ)); > MemMove(pq, tpq, sizeof(PQ)); > > At this point, the data is tpq is correct, but there is still no data in pq. > Why > is the call to MemMove() failing? if you use the MemMove, you'll find that pq->items == tpq->items. if you really want to copy the structure, you need to do this: pq = (PQ *) MemPtrNew(order * sizeof(PQ)); // copy the pq structure (pointers still point to pq->items) MemMove(pq, tpq, sizeof(PQ)); // allocate pq->items, and then copy the contents over tpq->items = (ITEM *) MemPtrNew(sizeof(ITEM)); MemMove(pq->items, tpq->items, sizeof(ITEM)); maybe thats your problem? you need to do a deep copy. -- // Aaron Ardiri -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Memory allocation
Sorry. My mistake in the example. I am currently only dealing with one pq structure, so they both do the same thing. I changed it, though, to agree and made it "order * sizeof(PQ)", but I still get the same results: tpq is never copied to pq. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Memory allocation
That didn't work. I tried exactly what you suggested, except the item allocation line, you had tpq->items by mistake. Here's what I have now: PQ *tpq; PQ *pq; ... pq = (PQ *) MemPtrNew(sizeof(PQ)); MemMove(pq, tpq, sizeof(PQ)); pq->items = (ITEM *) MemPtrNew(item * sizeof(ITEM)); MemMove(pq->items, tpq->items, sizeof(ITEM)); ... I am baffled why it isn't working. I check a couple of variables in tpq, step past the MemMove() call and check the same variables in pq, and the values aren't there. Keep in mind that pq and tpq are both structures of the same type. I have typedef'ed them to PQ and ITEM respectively as such: typedef struct d_item { ... } ITEM; typedef struct d_pqrec { ... } PQ; -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Memory allocation
PQ *pq; is a global variable. PQ *tpq; is a local variable to the function that this code is in. Is the something different in palm programming about global vs. local variables? I have 3 segments in this program. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory allocation
On Wed, 19 Oct 2005, Aaron Ardiri wrote: > On 10/19/05, Gnadinger, David <[EMAIL PROTECTED]> wrote: > > I'm beating my head against the wall again. At certain times pq will already > > be in use. I have code to free the memory for reuse. Here's the setup > > (briefly): > > > > PQ *pq; > > PQ *tpq; > > > > ... > > tpq = (PQ *) MemPtrNew(order * sizeof(PQ)); > > tpq->items = (ITEM *) MemPtrNew(sizeof(ITEM)); > > ... > > (load data into tpq & tpq->items > > ... > > pq = (PQ *) MemPtrNew(order * sizeof(PQ)); > > MemMove(pq, tpq, sizeof(PQ)); > > > > At this point, the data is tpq is correct, but there is still no data in > > pq. Why > > is the call to MemMove() failing? > > if you use the MemMove, you'll find that pq->items == tpq->items. > if you really want to copy the structure, you need to do this: > > pq = (PQ *) MemPtrNew(order * sizeof(PQ)); > > // copy the pq structure (pointers still point to pq->items) > MemMove(pq, tpq, sizeof(PQ)); > > // allocate pq->items, and then copy the contents over > tpq->items = (ITEM *) MemPtrNew(sizeof(ITEM)); > MemMove(pq->items, tpq->items, sizeof(ITEM)); > > maybe thats your problem? you need to do a deep copy. > > -- > // Aaron Ardiri My original advice to him, based on the program fragments posted thus far, was that tpq was only used as a temporary variable while increasing the size of the structure. Because of that, I didn't recommend doing a deep copy. Maybe this was a mistake. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Memory allocation
On Wed, 19 Oct 2005, Gnadinger, David wrote: > That didn't work. I tried exactly what you suggested, except the item > allocation line, you had tpq->items by mistake. Here's what I have now: > PQ *tpq; > PQ *pq; > ... > pq = (PQ *) MemPtrNew(sizeof(PQ)); > MemMove(pq, tpq, sizeof(PQ)); > pq->items = (ITEM *) MemPtrNew(item * sizeof(ITEM)); > MemMove(pq->items, tpq->items, sizeof(ITEM)); > ... > > I am baffled why it isn't working. I check a couple of variables in tpq, step > past the MemMove() call and check the same variables in pq, and the values > aren't there. Keep in mind that pq and tpq are both structures of the same > type. I have typedef'ed them to PQ and ITEM respectively as such: > > typedef struct d_item { > ... > } ITEM; > > typedef struct d_pqrec { > ... > } PQ; I'm not entirely sure if you're responding to my message or someone else's. Quoting at least something from the message you're responding to helps. At any rate, this is making exactly the same mistake as in your previous problem: you're allocating a number of blocks of data, then copying just one block of data. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Memory allocation
On Wed, 19 Oct 2005, Gnadinger, David wrote: > Sorry. My mistake in the example. I am currently only dealing with one pq > structure, so they both do the same thing. I changed it, though, to agree and > made it "order * sizeof(PQ)", but I still get the same results: tpq is never > copied to pq. > It's very hard to tell what's going on with your program when all we see of it is dribs and drabs. Maybe if sent a complete function with all of the structure declarations, we could see what your problem is. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
determining the foreground program
How can one determine what program is running for an application that has been called by the alarm manager, to determine if the program wants to launch or not/reschedule relaunch, etc... -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: determining the foreground program
If you control the program (if the program is yours) you can set a flag in a DB on startup, clear on shutdown, and check that flag in the alarm routine. /js In your message regarding determining the foreground program dated Wed, 19 Oct 2005 22:06:12 -, Andrew said that ... > How can one determine what program is running for an application that has been called by the alarm manager, to determine if the program wants to launch or not/reschedule relaunch, etc... > > > > -- > For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > > -- -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Memory allocation
Gnadinger, David wrote: That didn't work. I tried exactly what you suggested, except the item allocation line, you had tpq->items by mistake. Here's what I have now: PQ *tpq; PQ *pq; ... pq = (PQ *) MemPtrNew(sizeof(PQ)); MemMove(pq, tpq, sizeof(PQ)); pq->items = (ITEM *) MemPtrNew(item * sizeof(ITEM)); MemMove(pq->items, tpq->items, sizeof(ITEM)); ... I am baffled why it isn't working. Change your code to this: Int32 pqsize, itemsize, copysize; pqsize = sizeof(PQ); pq = (PQ *) MemPtrNew (pqsize); MemMove(pq, tpq, pqsize); itemsize = item * sizeof(ITEM); pq->items = (ITEM *) MemPtrNew(itemsize); copysize = sizeof(ITEM); MemMove(pq->items, tpq->items, copysize); Then step through line by line in the debugger and look at the values of pqsize, itemsize, and copysize as they are computed and make sure they are really the size you think they should be. By the way, I also don't get why you would allocate more space for pq->items than you ever use. It seems like itemsize and copysize should be the same number; otherwise, you are just allocating space that you never need, or (to look at it the other way) failing to fill up all the space you allocated. - Logan -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: CodeWarrior, Palm OS DS or what?
Have a look at OrbForms ( http://www.orbworks.com/ ). Very much Delphi-like, inexpensive, good support, etc. Also, C language. -Jon- "Piero Pirrone" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > I'm starting writing an application using the Palm OS Developer Suite, but > I found this suite very slow, not so easy to understand (etc. etc.) > > I used for a little, Pocket Studio (it use a Pascal like language), but I > leaved it for a C/C++ language since each function I need to use in Pascal > must be converted from the C API. > > Since I'm a Borland C++ user what's the best suite CodeWarrior, Palm OS > Developer Suite, or something other? > > Bye, > Piero > > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: determining the foreground program
I apologize for not making myself more clear. How can I make my program know that a certain application is open (like the phone app on the treo) so I can reschedule the alarm for a more convenient time? pxaclocker gets notified and can take appropriate actions whenever an application is opened and changes cpu parameters. Is the only way to not bother a user while the phone app is open to watch every application that opens and take note of it and deal with it accordingly when the program is woken up, or is there some way to find out the current foreground app without doing previous due diligence? thank you for your response, andrew -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: determining the foreground program
Andrew wrote: Is the only way to not bother a user while the phone app is open to watch every application that opens and take note of it and deal with it accordingly when the program is woken up I believe this is correct. There doesn't seem to be a good way to detect which app is in the foreground when your app becomes active by a non-normal launch code. So, if you want to know which app is current, you have to monitor all launches and keep a record of the last app to launch. A hassle, to be sure, but not overly difficult. Bob -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: determining the foreground program
Andrew wrote: I apologize for not making myself more clear. How can I make my program know that a certain application is open (like the phone app on the treo) so I can reschedule the alarm for a more convenient time? pxaclocker gets notified and can take appropriate actions whenever an application is opened and changes cpu parameters. Is the only way to not bother a user while the phone app is open to watch every application that opens and take note of it and deal with it accordingly when the program is woken up, or is there some way to find out the current foreground app without doing previous due diligence? Well, this is just an idea, but it seems like it might work. It seems like you should be able to call DmNextOpenResDatabase() in a loop and see if any of the ones you find is a database of type 'appl'. Then maybe check if it has a 'code'/0 resource (and a 'tAIB'/1000 and 'tAIN'/1000 and 'tver'/1000 resource) to ensure it really looks like an app. If you find exactly one of those, that has to be the app that's running, because when an app is running, its resource database must be open. This won't cover all cases[1], but if your goal is only to avoid popping up annoying stuff while a certain app is running, it might be good enough to avoid popping it up whenever that resource database is open, whether the app is running or not. - Logan [1] because what if you're running, say, RsrcEdit or FileZ or even some launcher and it has another app's database open? or what if some app intentionally leaves its resource database open so it can have some locked code in it that can respond to notifications? -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Help: Focus on buttons & 5way Navig. in a Form:
Hi all, Can anyone please clarify my below doubts. I am stange in this. 1. I didn't code for 5way navigation support in my project, but still navigation is working properly in some forms. So, DO I NEED TO DO 5 WAY CODE AGAIN TO THAT FORMS, SINCE ALREADY IT'S TAKEN THE NAVAIGATION AUTOMATICALLY IN PROPER WAY ? 2. DO I NEED TO DO 5-WAY NAVIG. CODE FOR "MODAL FORMS" OR I HEARD MODAL FORMS ARE TAKEN THE 5 WAY NAVIG. AUTOMATICALLY, IS THIS CORRECT ? - cathy. __ Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: cannot reproduce LifeDrive bug
The obvious conclusion here is that NVFS devices truly suck. I've had no end of porblems with subtle stability bugs. Is there a local Palm rep you can contact to get a loan device? I know we've always been able to do that in the past, but I'm in Australia, and I don't know if things work differently where you are. Alan On 10/20/05, Brian <[EMAIL PROTECTED]> wrote: > It runs fine on the Palm 5.2 and 5.3 Debug and Release Simulators, as well as > on my m515. > -- > For information on using the PalmSource Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Help: Focus on buttons & 5way Navig. in a Form:
1. I didn't code for 5way navigation support in my project, but still navigation is working properly in some forms. So, DO I NEED TO DO 5 WAY CODE AGAIN TO THAT FORMS, SINCE ALREADY IT'S TAKEN THE NAVAIGATION AUTOMATICALLY IN PROPER WAY ? The system won't turn on object navigation for non-modal forms by default, only for modal forms. 2. DO I NEED TO DO 5-WAY NAVIG. CODE FOR "MODAL FORMS" OR I HEARD MODAL FORMS ARE TAKEN THE 5 WAY NAVIG. AUTOMATICALLY, IS THIS CORRECT ? Five-way navigation maps are automatically produced for modal forms. You should provide a fnav resource if your modal form has special needs or if you want the initial focus to be on something other than the default button. -- Ben Combee, Senior Software Engineer, Palm, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Forum Archives: http://news.palmos.com/read/all_forums/ -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
re: Button text not moving with form
Here's my code: void MoveFormHorizontal(FormType *frmP, UInt16 x) { RectangleType rect; WinHandle winH = FrmGetWindowHandle(frmP); WinGetBounds (winH, &rect); rect.topLeft.x = x; WinSetWindowBounds(winH, &rect); } RectangleType frmBounds; FormType* frmLookupP = FrmInitForm(LookupForm); FrmSetActiveForm(frmLookupP); //Position the form FrmGetFormBounds(frmLookupP, &frmBounds); MoveFormHorizontal(frmLookupP, GetScreenWidth() -frmBounds.extent.x); //move to right side of screen MoveFormVertical(frmLookupP, (GetScreenHeight() - frmBounds.extent.y) / 2); //center vertically // Set Title FrmSetTitle(frmLookupP, lookupFormTitleStr); //set the active form back to the question form FrmSetActiveForm(frmP); buttonTapped = FrmDoDialog(frmLookupP); The problem is that the form moves to the right side of the screen like it should, but the button text and form title don't move with it. I know the buttons have moved because I can click on them but the text is not lined up with the position of the buttons. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Updating cygwin
Hello, I loaded the Palm OS dev kit with its own cygwin on a Win XP laptop. However, I also need perl and other cygwin tools, so I tried to install them w/o overriding any of the installed files. However, now when I start a shell, I get the message "the procedure entry point _impure_ptr could not be located in the dynamic link library cgywin1.dll". Would appreciate any help in determining the problem, or else advice on how to have palm modified cygwin and install other tools. Thanks! -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: VFSFileOpen crash
Hi Logan, Thanks a lot for your detailed response. A lots of basics got cleared form your response. I just wanted to ask one more thing .. can we attach a file with an application? i.e. with PRC. means after I install my application on the device, it should also copy my file on to the device( I should be able to get the file path ). So that if needed I can only update that file. to update my applications GUI or any other stuff. thank you very much again. .. KiraN Puranik -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: VFSFileOpen crash
[EMAIL PROTECTED] wrote: Thanks a lot for your detailed response. A lots of basics got cleared form your response. I just wanted to ask one more thing .. can we attach a file with an application? i.e. with PRC. means after I install my application on the device, it should also copy my file on to the device If you have to have a separate file, this will make the install process more complicated. You have three choices: (1) Tell the end user to install both files. (2) Use an installer, like the PalmSource Installer: http://www.palmos.com/dev/tools/installer/ (3) Put an image of the extra file into your app (as a resource) and then use DmCreateDatabaseFromImage(). This only works well if the separate file is small. > ( I should be able to get the file path ). If it is installed in the storage heap (internal to the Palm) and not on a VFS device, there will be no path. You will need to use DmOpenDatabase() or DmOpenDatabaseByTypeCreator() to open it. If it is installed on a VFS filesystem (like an SD Card), then there will be a path. You will need to choose a policy of which filesystem to search first in case there is more than one VFS filesystem. (For example, on the T5, there is an internal flash filesystem and there can be an SD Card as well.) You will also need to choose which directory to search. I believe the directory that the HotSync will choose for a given VFS filesystem can be determined by using VFSGetDefaultDirectory() and passing ".PDB" or ".PRC" as the second argument. One further complication with external files is launching an app from a VFS filesystem. If you put your application's PRC on a VFS filesystem in the directory that the launcher searches, the launcher will be able to launch it for you. It does this by copying the PRC to the storage heap, launching, then removing the app after it exits. Thus, as the developer this is handled automatically for you, and usually you don't need to worry with whether your application resides on VFS or in the storage heap. However, to my knowledge the launcher does not copy any accompanying files and there is no way to make it do so. Many people solve this problem by requiring accompanying files to ONLY be in the storage heap and not on a VFS filesystem. This makes coding simpler, but it is one more thing for the end user to understand and keep track of. - Logan -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Updating cygwin
> I loaded the Palm OS dev kit with its own cygwin on a Win XP laptop. > However, I also need > perl and other cygwin tools, so I tried to install them w/o overriding any of > the installed files. try installing it "with" overriding the installed files. you can actually connect to the server and upgrade all components. if you have an older version it'll say "Install" to the new version. the cygwin dll's have changed a little over the years - bringing some incompatibilities. i normally just download setup.exe - download to harddrive and install from harddrive. its only 400mb to get everything downloaded (doesn't take long) and then i have *everything* i need (or, what i even dont need) thats acceptable with the current version. -- // Aaron Ardiri -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/