FrmReturnToForm
Hi, Does FrmReturnToForm generate an event to the returned form ? I need to redraw a part of my main form after each call to another form. Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Arabic localization For Palm OS Platform
> As with regards to Palm OS 5, I think that there has to be a > migration path one way or the other, if Palm company has done it > right! Palm/PalmSource have a solution that should work for developers, namely the overlay manager. its sole purpose is to provide the developer the ability to provide special implementations of the resources - you just need to have the locale of the unit set. > Can you please give me some links to or pointers to get such > of documentation you mentioned from the Internet? overlays are documented quite well. if you look at other localization programs (PiLoc), and, take a look at their binaries - you'll see this is what they are essentially doing (overlays) :) it doesn't hurt to reverse engineer your competitors/similar applications to see how things are done.. nothing is secret --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Arabic localization
> Then get Palm Debugger, tons of coffee and...pray you're good. heh.. now, that lightened up my day :) thanks bobby --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: FrmAlert and vchrHard Keys
Scott, As I understand it from discussions on the NSBasic/Palm forum, the FrmAlert has its own event handler, and your event handler is not involved. Two suggestions are to forgo using alerts, or roll your own MyFrmAlert method where you provide the event handler (where MyFrmAlert is a modeless dialog box that looks like FrmAlert). I do not know if there are any other ways to solve this problem. Al - Original Message - From: "Scott Heffron" <[EMAIL PROTECTED]> Newsgroups: palm-dev-forum To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, June 02, 2003 5:27 PM Subject: FrmAlert and vchrHard Keys > I have written an application that needs to bypasses the system workings of > the 4 hardware buttons. I have code in the AppEventLoop of the application > to check if these buttons are pressed in the application. The code works > for all windows, except the alerts when using the FrmAlert function. Has > anyone experienced this and could tell me how to bypass the events from > going to the system handle when an alert window is opened up. > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Arabic localization For Palm OS Platform
What I care about in the end is to DESIGN my Solution, having in mind the Platform that will be used for final Implementation. Therefor, I need to undersand the Platform technicalities and how to program on the Machine Level Code (i.e. Assembly Language SDK when you speak of the PC Programming), or any other equivalent development tool. As with regards to Palm OS 5, I think that there has to be a migration path one way or the other, if Palm company has done it right! I have all the information I need to DESIGN the solution. All I need is to understand how to implement it. In the near future, I do not care much about final coding, I need to get some abstraction first. Can you please give me some links to or pointers to get such of documentation you mentioned from the Internet? I appreciate your help. --- In [EMAIL PROTECTED], "Bobby Kolev" <[EMAIL PROTECTED]> wrote: > > Let me start first with READING and READING and READING. > >Can you direct me to get a Book, or a detailed technical > >Article which has the required > >information in that regard. > > Mmmm, no. > Palm OS 5's API calls dispatching table is proprietary and there is no official documentation about it, and I strongly believe there > will never be for the simple reason that anything they had in OS 5.0 has probably changed to OS 5.2 and has surely changed > (according to David Fedor) for the OS 6. They don't want to create standard out of something that's changing and they don't have the > resources to support something that's not a standard...it makes sense if you think about it, whether you like it or not. > > So they won't bother with publishing extra localization info. Don't even consider pleading for it, we've tried that already. If you > show them big bucks they may pull the necessary resources and have them work with you for a while. Fair enough. > > Otherwise...welcome to the wonderful world of exploring and hacking! Start with a quick overview of any standard ARM architecture > guide (e.g. the TI's OMAP processor sheets). Then get Palm Debugger, tons of coffee and...pray you're good. > > Oh, and the ARMlets forum contains a few good leads too. > > - bobby > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: POL CGrid class
I've hard-coded "3" because I like rounded corners. But SelectFullRow() is virtual function, so you can completely override the selection. Just declare CMyGridBase, override there this function and derive all of your grids from this class, i.e. CMyGridBase will include common properties for all your grids. __ Best regards, Maks Pyatkovskiy > -Original Message- > From: [EMAIL PROTECTED] [mailto:bounce-palm-dev- > [EMAIL PROTECTED] On Behalf Of Brad Figler > Sent: Tuesday, June 03, 2003 1:52 AM > To: Palm Developer Forum > Subject: POL CGrid class > > Why does the CGrid class pass a hard coded value of 3 to the function > g_SystemInfo.Glue_SelectRectangle() from the call CGrid::SelectFullRow()? > When using a selection mode of GM_FULLROWSELECT you get rounded edges in > the > first column and on the last. It makes the selection have a "button" > shape > to it and it leaves unselected pixels in the corners between the border of > the table and the selection. > > Is there a reason this was done? Is there a solution to the problem other > than changing POL source code? > > Thanks, > > Brad > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Arabic localization
Test ... please delete this post. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Arabic localization
What I care about in the end is to DESIGN my Solution, having in mind the Platform that will be used for final Implementation. Therefor, I need to undersand the Platform technicalities and how to program on the Machine Level Code (i.e. Assembly Language SDK when you speak of the PC Programming), or any other equivalent development tool. As with regards to Palm OS 5, I think that there has to be a migration path one way or the other, if Palm company has done it right! I have all the information I need to DESIGN the solution. All I need is to understand how to implement it. In the near future, I do not care much about final coding, I need to get some abstraction first. Can you please give me some links to or pointers to get such of documentation you mentioned from the Internet? I appreciate your help. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Receiving SMS
Can it be used? The reference state it's reserved for future use. "Jerome C." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > What about registering through the notification manager for > sysNotifyPhoneEvent? Maybe that's how the default handler is > registered. It's just a vague idea though... But I would like to know > if you manage to make it work! > Jerome > > > Miron Ophir wrote: > > Can I register as the default application for handling incoming SMS messages > > using either Exchange Manager or Telephony APIs? > > > > -- > > -- > > Regards, > > Miron. > > > > == > > Eng. Miron Ophir, > > The MobiMate Team > > Home Page: www.mobimate.com > > ICQ: 6785948 > > == > > To reply to this message remove underscore from e-mail address. > > > > > > > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Where is my file? after I created a filestrem.
>> FileHand fileStream; >> fileStream = FileOpen( 0, "MyPalmFile", 0, 0, fileModeReadWrite, NULL ); > > This creates a temporary file... > >> FileSeek (fileStream, 0, fileOriginBeginning ); >> FileWrite(fileStream, name, 1, 20, NULL); >> >> FileClose( fileStream ); > > ... and this deletes it. what are you smoking? FileOpen/FileClose does not create temporary files. this is all part of the File Streaming API. that is, a convenience system for reading/writing to a .pdb file without having to worry about record structures (it stores it as that tho). i have been using this functionality for years, and, it is NOT temporary file stuff. in light of the problem, the original poster emailed me privately - and, the email should probably be here in public for forum archive purposes. === Q: how to get access to the data written using FileOpen POSE: use the export database option in the emulator DEVICE: set backup bit, sync - database will be in backup directory Q: how to read/write the data stored in the .pdb file? use a desktop utility called 'par' http://www.djw.org/product/palm/par/ it will allow you to manipulate file streams directly. === hopefully that will end all discussions on this topic. RTFM guys. dont email me privately - the forums exist for a reason, and, i get enough 'how to i program' type emails a day - i dont need to be flooded with more :) thanks for understanding. --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Where is my file? after I created a filestrem.
> I am using Palm OS 5, I try to create a file stream, the code as following > FileHand fileStream; > fileStream = FileOpen( 0, "MyPalmFile", 0, 0, fileModeReadWrite, NULL ); This creates a temporary file... > FileSeek (fileStream, 0, fileOriginBeginning ); > FileWrite(fileStream, name, 1, 20, NULL); > > FileClose( fileStream ); ... and this deletes it. > I am using CodeWarrior and Palm Emulator. It should create a file stream, but I can't find it in my hard driver. Could any expert tell me where it is?? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Where is my file? after I created a filestrem.
> I am using Palm OS 5, I try to create a file stream, the code as following > > ... > FileHand fileStream; > fileStream = FileOpen( 0, "MyPalmFile", 0, 0, fileModeReadWrite, NULL ); > > FileSeek (fileStream, 0, fileOriginBeginning ); > FileWrite(fileStream, name, 1, 20, NULL); > > FileClose( fileStream ); > .. > > I am using CodeWarrior and Palm Emulator. It should create a file > stream, but I can't find it in my hard driver. Could any expert > tell me where it is?? if you set the backup bit, and, sync - it'll be called "MyPalmFile.pdb" if you want to create a file on external memory, you may want to look at the VFS api's. filestreaming goes way back to palmos 3.0 - and, was designed as an easy way to access data in the old palm database format (back when VFS didn't exist) unfortunately, the format was never documented that well - but, many have reverse engineered it (including myself) successfully - par and other utilities can be used to generate or process these resources. identify what it is you really want to do :) --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Where is my file? after I created a filestrem.
Hi there, I am using Palm OS 5, I try to create a file stream, the code as following ... FileHand fileStream; fileStream = FileOpen( 0, "MyPalmFile", 0, 0, fileModeReadWrite, NULL ); FileSeek (fileStream, 0, fileOriginBeginning ); FileWrite(fileStream, name, 1, 20, NULL); FileClose( fileStream ); .. I am using CodeWarrior and Palm Emulator. It should create a file stream, but I can't find it in my hard driver. Could any expert tell me where it is?? h?撷??'??x-??`藿?リ泞沪?恝殪够?蕈W??zm?鹈 Z?,r?u?碴i⒒~??
Re: Empty crash
Am Mon, 2003-06-02 um 22.24 schrieb Aaron Ardiri: Hi, > > on PalmOS 5.x we sometimes see a crash where the modal dialog with the > > reset button (aka fatal exception dialog) is displayed fullscreen, > > without title and without any error message. > > > > I've uploaded a screenshot to http://www.dseifert.de/empty_crash.jpg > > > > This crash is not related to any of our applications but may be (or > > maybe not) caused by non PalmOS 5 compatible software. > > > > Does anybody know why the dialog is so messed up? It isn't the usual > > dialog, too, e.g. it is not a result of SysFatalAlert being called. > > armlet crash? :) The crash in the screenshot was caused by VolumeResume.prc (I can not reproduce it on my Tungsten|T, though) which has no armlet code, neither has the DA Launcher. Also, armlets would make a soft reset when crashing (bad alignment etc) or just freeze. When they pass wrong parameters on to system functions, the usual reset dialog should be displayed, shouldn't it? -- Daniel Seifert <[EMAIL PROTECTED]> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Problem w/streamed audio on Clie OS5 devices
I've been streaming yamaha adpcm on our non-OS5 Clie devices successfully using the pa1 library (available on cliedeveloper) by buffering audio chunks into the playlist, and playing in "continuous" mode, filling in chunks when my completion callback gets called. However the exact same code doesn't work on OS5 Clie's like the NX60 and NX70 - I never (or rarely in unknown conditions) get my buffer complete callback called, so my sounds stop. Anyone have the same problem and have found a fix / workaround? I read a seemingly related problem report (see below) in the pa1 SDK on Sony's site and thought it would help. Sounds like a good problem but 1> I already do their recommended solution, and 2> my problem is more fundamental: my callback never gets called. Thanks! Scott Ludwig scottlu * eskimo.com +++ Problem: When using an ADPCM playlist, the wrong callback information is used. Details: When the Pa1Lib library finishes playing an item from the ADPCM playlist, the callback information registered for that item is not used. Instead, the system incorrectly uses the callback information for the next item in the playlist. This occurs only when using consecutive playback mode. This occurs on all CLIÉ handhelds that use the Yamaha Pa1Lib library and that use Palm OS v.5.0 software. Solution: To work around this issue, register the same callback function and callback data for all items in the playlist and keep track of the current item manually +++ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Setting custom file attributes?
I'm wondering if I can use VFSFileGet(Set)Attributes to set my own custom flag for a file. The attributes is a 32-bit number, but the OS only seems to be using the lowest 8-bits or so and the rest are undefined (according to the "File and Directory Attributes" list). It seems like a dangerous thing to do, esp. since future OS versions may be using them, but if someone knows otherwise, it would make a section of code I'm writing *much* simpler. I only need one flag. Since the lowest bits are the ones defined, I'd imagine I'd use the highest most bit. Thanks, Rich -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
another newbie with 'Free handle' error
I searched through the archives and seemed to find some relevant threads on this. From what I read, it may have something to do with trying to unlock the wrong kind of memory. But I still don't quite have a handle (pun intended) on this error. Here's my code snippet: MissionDB mission; UInt16 index = -1; MemHandle recH; MissionDBPtr recP; UInt16 i, numRecs = DmNumRecords(gDB); mission.level = missionDiff; for (i = 0; i < numRecs; i++) { recH = DmQueryRecord(gDB, i); if (recH) { recP = (MissionDBPtr)MemHandleLock(recH); if (recP->level == mission.level) { index = i; } MemHandleUnlock(recH); if (index != -1) break; } } I'm basically just trying to find the index of the matching record. At the point of the error, I only have 2 records in my DB. I get the 'Free handle' error the 2nd time through the loop. What's really strange is I go through this function once before in the program, and it works fine. Thanks __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Handling UTF-8 data
Here is an encoding algorithm, I don't have the decoding at hand, but you can revert this one uc = data[i]; if ((uc >= 0x0001) && (uc <= 0x007F)) outStream.WriteUByte((uchar)uc); else if (uc > 0x07FF) { outStream.WriteUByte((uchar)(0xE0 | ((uc >> 12) & 0x0F))); outStream.WriteUByte((uchar)(0x80 | ((uc >> 6) & 0x3F))); outStream.WriteUByte((uchar)(0x80 | ((uc >> 0) & 0x3F))); } else { outStream.WriteUByte((uchar)(0xC0 | ((uc >> 6) & 0x1F))); outStream.WriteUByte((uchar)(0x80 | ((uc >> 0) & 0x3F))); } A few warnings regarding this code. 1. It doesn't convert a NULL (0x) properly. 2. It doesn't handle surrogates, which should generate a four byte UTF-8 sequence. Also, I think Glenn's question was how to convert from UTF-8 to the device encoding (not to/from UCS-2), which is what's required to be able to display the text data (unless you use you own app-defined fonts and a private encoding scheme). -- Ken -- Ken Krugler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Handling UTF-8 data
Hello all, I have a wireless 802.11 application that receives UTF-8 XML data from a servlet (Tomcat). I am using POL.. I have heard you can display UTF-8 data (to display diacritics/symbols that are not available in the ASCII set). How do I display UTF-8 data? Anyone know? As Scott Johnson noted, you'll want to call TxtConvertEncoding to convert from UTF-8 to the device encoding. You get the device encoding by calling UInt32 encoding; FtrGet(sysFtrCreator, sysFtrNumEncoding, &encoding); The PalmLatin device encoding supports ISO 8859-1, thus you'll have a reasonable selection of accented characters available. On Japanese & Chinese devices there are fewer accented characters, and thus more data loss, when converting to the device encoding. Note that in an upcoming SDK release, there's a TxtGlueConvertEncoding call. This tries to work around bugs in Sony's implementation from 3.5.2, and it also provides some level of backwards compatibility for the new "best fit" flag that can be or'd with the destination encoding parameter. The best fit flag indicates that a lossy conversion is OK, and thus accented characters will be mapped to unaccented base characters if the accented version doesn't exist in the destination encoding. If you needed a wider range of characters than are supported by PalmLatin, and/or you need to be able to display accented characters on a Japanese or Chinese device, then your other option is to use your own app-defined fonts to draw characters that cannot be displayed using the device encoding. -- Ken -- Ken Krugler -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: another newbie with 'Free handle' error
You have a MemPtrFree or MemHandleFree somewhere in your code which is freeing the handle of a database record. This may be because you associate a record with a field and do not disassociate the handle before closing the form. Matt - Original Message - From: "Brian Preston" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, June 03, 2003 9:58 AM Subject: another newbie with 'Free handle' error > I searched through the archives and seemed to find > some relevant threads on this. From what I read, it > may have something to do with trying to unlock the > wrong kind of memory. But I still don't quite have a > handle (pun intended) on this error. > > Here's my code snippet: > > MissionDB mission; > UInt16 index = -1; > MemHandle recH; > MissionDBPtr recP; > UInt16 i, numRecs = DmNumRecords(gDB); > > mission.level = missionDiff; > > for (i = 0; i < numRecs; i++) { > recH = DmQueryRecord(gDB, i); > if (recH) { > recP = (MissionDBPtr)MemHandleLock(recH); > if (recP->level == mission.level) { > index = i; > } > MemHandleUnlock(recH); > if (index != -1) > break; > } > } > > I'm basically just trying to find the index of the > matching record. At the point of the error, I only > have 2 records in my DB. I get the 'Free handle' error > the 2nd time through the loop. What's really strange > is I go through this function once before in the > program, and it works fine. > > Thanks > > __ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
POL CGrid class
Why does the CGrid class pass a hard coded value of 3 to the function g_SystemInfo.Glue_SelectRectangle() from the call CGrid::SelectFullRow()? When using a selection mode of GM_FULLROWSELECT you get rounded edges in the first column and on the last. It makes the selection have a "button" shape to it and it leaves unselected pixels in the corners between the border of the table and the selection. Is there a reason this was done? Is there a solution to the problem other than changing POL source code? Thanks, Brad -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
FrmAlert and vchrHard Keys
I have written an application that needs to bypasses the system workings of the 4 hardware buttons. I have code in the AppEventLoop of the application to check if these buttons are pressed in the application. The code works for all windows, except the alerts when using the FrmAlert function. Has anyone experienced this and could tell me how to bypass the events from going to the system handle when an alert window is opened up. I have sent the code below so that you can see what I am currently doing. Any help would be appreciated. Thanks, Scott Heffron static void AppEventLoop(void) { Word error; EventType event; //Continue to parce events until we get the appStopEvent. do { //Declare variables Boolean isCalendarKey; Boolean isAddressKey; Boolean isTodoKey; Boolean isMemoKey; //Get Next Event EvtGetEvent(&event, evtWaitForever); //Assign values to variables isCalendarKey = (event.eType == keyDownEvent) && (TxtCharIsHardKey(event.data.keyDown.modifiers, event.data.keyDown.chr)) && (event.data.keyDown.chr == vchrHard1); isAddressKey = (event.eType == keyDownEvent) && (TxtCharIsHardKey(event.data.keyDown.modifiers, event.data.keyDown.chr)) && (event.data.keyDown.chr == vchrHard2); isTodoKey = (event.eType == keyDownEvent) && (TxtCharIsHardKey(event.data.keyDown.modifiers, event.data.keyDown.chr)) && (event.data.keyDown.chr == vchrHard3); isMemoKey = (event.eType == keyDownEvent) && (TxtCharIsHardKey(event.data.keyDown.modifiers, event.data.keyDown.chr)) && (event.data.keyDown.chr == vchrHard4); //Give System first chance to handle event if(isCalendarKey || isAddressKey || isTodoKey || isMemoKey || ! SysHandleEvent(&event)) //Give Menu change to handle event if(! MenuHandleEvent(0, &event, &error)) //Are we changing forms if(! AppHandleEvent(&event)) //Let the current forms handler (Set by FrmSetEventHandler() ) handle the event FrmDispatchEvent(&event); } //Quit app if we get a appStopEvent while(event.eType != appStopEvent); } -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
PDA Conferences?
Dear Form Members, Does anyone know of any conferences that are at least in part dedicated to PDA interfacing or software engineering? Thanks, Robert Pastel -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Empty crash
> on PalmOS 5.x we sometimes see a crash where the modal dialog with the > reset button (aka fatal exception dialog) is displayed fullscreen, > without title and without any error message. > > I've uploaded a screenshot to http://www.dseifert.de/empty_crash.jpg > > This crash is not related to any of our applications but may be (or > maybe not) caused by non PalmOS 5 compatible software. > > Does anybody know why the dialog is so messed up? It isn't the usual > dialog, too, e.g. it is not a result of SysFatalAlert being called. armlet crash? :) --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Empty crash
Hi, on PalmOS 5.x we sometimes see a crash where the modal dialog with the reset button (aka fatal exception dialog) is displayed fullscreen, without title and without any error message. I've uploaded a screenshot to http://www.dseifert.de/empty_crash.jpg This crash is not related to any of our applications but may be (or maybe not) caused by non PalmOS 5 compatible software. Does anybody know why the dialog is so messed up? It isn't the usual dialog, too, e.g. it is not a result of SysFatalAlert being called. -- Daniel Seifert <[EMAIL PROTECTED]> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: INetLib Memory Leak
Hi Keith, Thanks for time and answer. I goofed on the INetLibClose. Thanks. Vishal --- Keith Rollin <[EMAIL PROTECTED]> wrote: > INetLibOpen returns to you a client handle. You > need to pass this client handle back to INetLib in > INetLibClose. Unless you're passing in the wrong > handle, or unless there's some other validation > error, INetLibClose should free that handle. If it > doesn't, you should be getting some error code from > INetLibClose. > > -- Keith > > > -Original Message- > > From: Vishal Kudchadkar > [mailto:[EMAIL PROTECTED] > > Sent: Monday, June 02, 2003 12:13 PM > > To: Palm Developer Forum > > Subject: INetLib Memory Leak > > > > I am trying make a HTTP request from the Palm > > Emulator. I have palmos35-en-ez-8mb-wc.rom, device > > setting PalmVIIx. > > > > When I make a INetLibOpen call (I am using > > ".CTPDefault" configuration) i get a "Found 1 > Memory > > Leak" error. and the following dump in the log > file: > > > > .. > > > > I'd appreciate any help in this regard. > > -- > For information on using the Palm Developer Forums, > or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ = Vishal Kudchadkar [EMAIL PROTECTED] (323)-732-9203 --- There are 10 types of people in the world, Those who understand binary, and those who dont !! --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: INetLib Memory Leak
INetLibOpen returns to you a client handle. You need to pass this client handle back to INetLib in INetLibClose. Unless you're passing in the wrong handle, or unless there's some other validation error, INetLibClose should free that handle. If it doesn't, you should be getting some error code from INetLibClose. -- Keith > -Original Message- > From: Vishal Kudchadkar [mailto:[EMAIL PROTECTED] > Sent: Monday, June 02, 2003 12:13 PM > To: Palm Developer Forum > Subject: INetLib Memory Leak > > I am trying make a HTTP request from the Palm > Emulator. I have palmos35-en-ez-8mb-wc.rom, device > setting PalmVIIx. > > When I make a INetLibOpen call (I am using > ".CTPDefault" configuration) i get a "Found 1 Memory > Leak" error. and the following dump in the log file: > > .. > > I'd appreciate any help in this regard. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Fossil PDA watch delayed
Though it looks like your article is a bit more recent. Things move fast! Kevin -Original Message- From: Kevin OKeefe Sent: Monday, June 02, 2003 12:58 PM To: Palm Developer Forum Subject: RE: Fossil PDA watch delayed Hmmm. Amazon shows it on sale for delivery end of June http://www.palminfocenter.com/view_story.asp?ID=5431 -Original Message- From: Hal Mueller [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:15 PM To: Palm Developer Forum Subject: Fossil PDA watch delayed http://www.theregister.co.uk/content/54/30987.html reports that the US launch of the Fossil PDA Watch has been delayed until early 2004. (watch is described at http://www.fossil.com/tech/TechPDAPalmInfo.asp ) H -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- The information in this transmittal and any attachments are confidential and intended only for the recipient(s) listed above. You are hereby notified that any unauthorized distribution or copying of this transmittal or its attachments is prohibited. If you have received this transmittal in error, please notify invivodata immediately at (831) 438-9550. -- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- The information in this transmittal and any attachments are confidential and intended only for the recipient(s) listed above. You are hereby notified that any unauthorized distribution or copying of this transmittal or its attachments is prohibited. If you have received this transmittal in error, please notify invivodata immediately at (831) 438-9550. -- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Emulating memory Card (with HostFS) in the emulator
le 2/06/03 21:22, Steve Massicotte à [EMAIL PROTECTED] a écrit : > Hi, > > I'm trying to test a software which use the VFS (Virtual File System) API in > the Palm emulator. > I have the Palm OS emulator version 3.5 and i'm running it with a Palm OS > 4.0 ROM (which is needed to have the VFS implemented). > > I downloaded the file "HostFS_Emulator.prc" and installed it in my emulator > session. > > Then I right-click to go in the Settings menu... Host FS, then I map a drive > to a folder on my hard disk called C:\PALM_VFS\Palm_Card1. > Finally, I checked the "mounted" check box. > > Then I start my application and it behaves like if there was no VFS on the > device. I do not see the "Card" item in the palm menu neither. > My application works on a real device, so my code should be ok. > > I read the article there: > http://www.palmos.com/dev/support/docs/emulator/Emulator_Running.html#972536 > But there's not enough details to make it work. > > Could anyone could help me to make it work in the emulator. > > Thanks a lot, > > Steve M. > > Did you reset the emulator ? --- Eric VERGNAUD - JLynx Software Cutting-edge technologies and services for software companies web: http://www.jlynx.com --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
RE: Fossil PDA watch delayed
Hmmm. Amazon shows it on sale for delivery end of June http://www.palminfocenter.com/view_story.asp?ID=5431 -Original Message- From: Hal Mueller [mailto:[EMAIL PROTECTED] Sent: Monday, June 02, 2003 12:15 PM To: Palm Developer Forum Subject: Fossil PDA watch delayed http://www.theregister.co.uk/content/54/30987.html reports that the US launch of the Fossil PDA Watch has been delayed until early 2004. (watch is described at http://www.fossil.com/tech/TechPDAPalmInfo.asp ) H -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- The information in this transmittal and any attachments are confidential and intended only for the recipient(s) listed above. You are hereby notified that any unauthorized distribution or copying of this transmittal or its attachments is prohibited. If you have received this transmittal in error, please notify invivodata immediately at (831) 438-9550. -- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Fossil PDA watch delayed
http://www.theregister.co.uk/content/54/30987.html reports that the US launch of the Fossil PDA Watch has been delayed until early 2004. (watch is described at http://www.fossil.com/tech/TechPDAPalmInfo.asp ) H -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Multithreaded Problem
Hi Folks, >From the API references for Palm OS 5 we know there is no exposed multithread APIs as well as synchronous tools (semaphore, mutex, etc). If I try to develop an multithreaded application, how should I do it or negotiate with some organizations? I know some other companies have developed such software for Palm OS. Thanks, Ming Huang, Software Engineer Xten Networks Inc. 7170-515 West Hastings St Vancouver, BC Canada V6B5K3 Ph. 1.604.878.0440 ext.5 SIP: 1.469.546.1247 Email: [EMAIL PROTECTED] Web: www.xten.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Emulating memory Card (with HostFS) in the emulator
Hi, I'm trying to test a software which use the VFS (Virtual File System) API in the Palm emulator. I have the Palm OS emulator version 3.5 and i'm running it with a Palm OS 4.0 ROM (which is needed to have the VFS implemented). I downloaded the file "HostFS_Emulator.prc" and installed it in my emulator session. Then I right-click to go in the Settings menu... Host FS, then I map a drive to a folder on my hard disk called C:\PALM_VFS\Palm_Card1. Finally, I checked the "mounted" check box. Then I start my application and it behaves like if there was no VFS on the device. I do not see the "Card" item in the palm menu neither. My application works on a real device, so my code should be ok. I read the article there: http://www.palmos.com/dev/support/docs/emulator/Emulator_Running.html#972536 But there's not enough details to make it work. Could anyone could help me to make it work in the emulator. Thanks a lot, Steve M. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
INetLib Memory Leak
Hi, I am trying make a HTTP request from the Palm Emulator. I have palmos35-en-ez-8mb-wc.rom, device setting PalmVIIx. When I make a INetLibOpen call (I am using ".CTPDefault" configuration) i get a "Found 1 Memory Leak" error. and the following dump in the log file: 107.078:WARNING: 107.078:WARNING: Memory Leaks 107.078:WARNING: 107.078:WARNING: Begin Memory Leak Dump 107.078:WARNING: 107.078:Relocatable chunk leaked at 0x3790, size = 152 107.078:Chunk allocated by: 107.078:INetLibOpen 107.078:.CTPDefa 107.078: 107.078: 107.078: 107.078: 107.078: 107.078: 107.078:PrvSendEventToForm 107.078:FrmDispatchEvent 107.078: 107.078: 107.078: 107.078:Chunk contents: 107.078:00 03 01 32 30 36 2E 31 31 32 2E 31 31 34 2E 38 ...206.112.114.8 107.078:32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2... 107.078:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 107.078:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 107.078:00 00 00 00 13 8A 01 00 00 00 00 00 00 00 00 00 107.078:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 107.078:00 00 00 00 01 00 00 00 04 00 00 00 00 A0 80 01 107.078:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 107.078:00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 107.078:00 00 00 00 00 00 00 00 107.078:WARNING: 107.078:WARNING: End Memory Leak Dump 107.078:WARNING: I'd appreciate any help in this regard. Thank you. Vishal = Vishal Kudchadkar [EMAIL PROTECTED] (323)-732-9203 --- There are 10 types of people in the world, Those who understand binary, and those who dont !! --- -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Re: Problem on Double Density in ICONFAMILYEX
At 00:07 2003-6-3 +0800, Eric Lo wrote: Hello, I am using Pilrc 2.9p10 on CW8 trying to build a double density icon, however, it always shows the low-density one. I don't know why, when I delete the low-density one, the simulator crash. Here is my code. ICONFAMILYEX BEGIN BITMAP "bitmap/dora2.bmp" BPP 1 BITMAP "bitmap/dora24.bmp" BPP 16 DENSITY 1 BITMAP "bitmap/dora24aa.bmp" BPP 16 DENSITY 2 END BTW, what is the size of the bmp should be? cos' I am using 32x32, however, the lower part of the icon is covered by the application name. Should I use 22x23 instead? Use 22x22 as your icon size, which means 44x44 should be the double density icon size. Also, try inspecting your PRC file using PRCExplorer (search palmgear.com for it or see palmoswerks.com's Stuff I Like page) to verify that the bitmaps look OK inside your PRC file after they're built. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Palm OS programming help @ www.palmoswerks.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
Problem on Double Density in ICONFAMILYEX
Hello, I am using Pilrc 2.9p10 on CW8 trying to build a double density icon, however, it always shows the low-density one. I don't know why, when I delete the low-density one, the simulator crash. Here is my code. ICONFAMILYEX BEGIN BITMAP "bitmap/dora2.bmp" BPP 1 BITMAP "bitmap/dora24.bmp" BPP 16 DENSITY 1 BITMAP "bitmap/dora24aa.bmp" BPP 16 DENSITY 2 END BTW, what is the size of the bmp should be? cos' I am using 32x32, however, the lower part of the icon is covered by the application name. Should I use 22x23 instead? Regards, Eric -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/