RE: POSE Issues

2008-05-28 Thread Robert Graber
Brian and Scott, Thanks for the replies! That got me up and going.I am much more productive now! Very truly yours, Rob Graber -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Palm OS Plumbing: Key and Pen flushes don't flush

2008-01-29 Thread Robert Moynihan
I recall having a similar issue. I created a loop to eat the events, but it didn't always work. I never found a solution that worked 100%. Bob. That's a nice idea. However, it didn't seem to work: PerformLongOperation(); do { EvtGetEvent(evt, 1); } while(evt.eType != nilEvent); I

Re: Flickering while draw image

2006-12-05 Thread Robert Moynihan
Christian Giordano wrote: I'm trying to animate an image, so I'm drawing it every nilEvent with a different position. What I get though, is a very annoying flickering regardless the timeout of the EvtGetEvent (tried with short time). Mukesh mentioned locking the window, here's another way:

Re: How to deal with 'Start-up codes is greater than 64 K' warning message ??

2006-12-05 Thread Robert Moynihan
Remember that although the stated limit is about 64k the practical limit for randomly addressable code is 32k. This is because you have to be able to move forward AND back within that code block, and the address is 2-bytes, so this gives you +/- 32k. There are ways to get around this issue,

Re: Flickering while draw image

2006-12-05 Thread Robert Moynihan
Christian Giordano wrote: well, the flickering is almost entirely gone. But I wouldn't say entirely, but probably behaves like the screen of normal PC, so I reckon it is definitely acceptable. If done right there should be no flicker at all. But it depends on what you are calling flicker.

Re: .pdb - HotSync, 256 limit?

2006-11-25 Thread Robert Moynihan
Hal Mueller wrote: How are you validating the PDB (that is, what makes you think the PDB meets the spec)? The file format specifications are published, so it's not like it is guesswork. -- Bob www.rmobile.ca -- Mobile software for handheld computers and smartphones -- For

Re: How to create global variable more than 64K size

2006-11-12 Thread Robert Moynihan
hvreddy wrote: Hi All, Is it possible to create a global variable of size more than 64K in palm os? I tryed to create more than 64K size of array but the linker is giving error.Even i tryed using memptrNew also .Here also it gives the same error. Is there a limitation for global variable size

Re: Found X memory leak for my program

2006-10-26 Thread Robert Moynihan
Luca Bertoncello wrote: Hi, list! I have a little problem, with my program... I develop it with gcc on my Linux-PC and test it with POSE. I can start it and use it, without warning or error, but when I exit from this application, POSE say: Found X memory leak for SMS Pro (1.00). Information

Re: 5 way navigation - Menu

2006-10-26 Thread Robert Moynihan
Srdan wrote: I have implemented 5 way navigation into my app, but I can't use it with Menu or menu items. Is there any solution for this? Your problem description is not exactly clear. By implemented 5-way navigation you mean that you are manually handling the 5-way navigator button

Re: Load BMP from a specified location

2006-10-13 Thread Robert Moynihan
Anoop wrote: We have posted this thread before , but then we had problem in getting a clear image.. The image seems to be blurred and inverted.. What could be the reason behind this... Is the bitmap that you are accessing from the folder a WinOS bitmap, and you are trying to display it on a

Re: Dynamically drawing list

2006-10-06 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: I am dynamically drawing the list items from the database using callback function : LstSetDrawFunction The problem is, it displays the records in order which is been saved in Database (the first record that is saved first is displayed first). I want to display the

Re: Monitor Palm resets

2006-09-21 Thread Robert Moynihan
Regis Melo wrote: case sysAppLaunchCmdSystemReset : // write my code here to write a PDB! My question is - Is it possible to write a PDB when a reset event occurs? Remember that that launch code is sent AFTER the reset has happened, and just as the device is

Re: Problem: Adding Calendar items with Alarms

2006-09-01 Thread Robert Moynihan
Ambrose Krapacs wrote: I know there are certain system events that trigger the Calendar to recalculate the alarms (like hotsync and soft reset) but we obviously do not want to do this every time we add a calendar item with an alarm. You don't actually have to do a reset. I think you could

Virtual key handling on 700p

2006-08-22 Thread Robert Moynihan
Hi Folks, Is there an understood problem on the 700p with virtual key handling? I've gotten reports from 700p users that merely registering for the sysNotifyVirtualCharHandlingEvent event causes SIGNIFICANT system slowdowns. My app is only interested in one key code, and all others are

Re: Device ID for Palm Zire 22

2006-08-14 Thread Robert Moynihan
Tam Hanna wrote: Hi, I had a Z22 shortly for review a few days ago(raised this a few days earlier and I still had the loaner), and AFAIK, it returns a code beginning with D 'D051' -- Bob www.rmobile.ca -- Mobile software for handheld computers and smartphones -- For

Re: Getting the processor temperature

2006-06-14 Thread Robert Moynihan
Luc Le Blanc wrote: ...the processor temperature would be a good enough approximation to ambient temperature. What makes you say this? Ambient temperature is the temperature of the air surrounding... well... something. Computer processors tend to run quite hot (hence all those fancy

Re: Is there any method for zoom in zoom out of bitmap images in palm

2006-03-30 Thread Robert Moynihan
Kishor Bhushan wrote: Hi I am new to Palm os so i want to know, is there any method for zoom in and zoom out of bitmap images in palm os if yes plz give example thank you No, there are no system functions to do this. You either have to create your own functions or find a 3rd party library

Re: FrmCustomAlert failure after SysAppLaunch

2006-03-24 Thread Robert Moynihan
John Sutton wrote: Jeff I'm not sure if I'm dreaming this, but I think I once had a problem with empty strings. I recall something like that too. FWIW try putting something inside the two empty strings just to rule out my paranoia. ie. FrmCustomAlert( MessageAlert, whatever, should be

Re: Help me. LstSetListChoices is not working..

2006-03-23 Thread Robert Moynihan
Jinyoung Lee wrote: Function LstSetListChoices is not working.. It crushes the emulator without error message.. snip __ void FillLetsCookFormListWithData(ListType *titleLst, ListType *categoryLst, ListType *yieldLst) { What about those

Re: Help me. LstSetListChoices is not working..

2006-03-23 Thread Robert Moynihan
Actually, on second thought, I'm thinking that the problem might not be the call to LstSetListChoices at all. The ListType objects may still be invalid, but the bigger mistake would be that you allocated memory for the list elements within your FillLetsCookFormListWithData function(). As

Re: Help me. LstSetListChoices is not working..

2006-03-23 Thread Robert Moynihan
Hi Dean, On Thu, 23 Mar 2006, Robert Moynihan wrote: Actually, on second thought, I'm thinking that the problem might not be the call to LstSetListChoices at all. The ListType objects may still be invalid, but the bigger mistake would be that you allocated memory for the list elements within

Re: Help me. LstSetListChoices is not working..

2006-03-23 Thread Robert Moynihan
Robert Moynihan wrote: Hi Dean, On Thu, 23 Mar 2006, Robert Moynihan wrote: Actually, on second thought, I'm thinking that the problem might not be the call to LstSetListChoices at all. The ListType objects may still be invalid, but the bigger mistake would be that you allocated memory

Re: Help me. LstSetListChoices is not working..

2006-03-23 Thread Robert Moynihan
Dean Gahlon wrote: (I also suspect that Thomas Damme's message on this topic (to allocate StrLen(...)+1 rather than StrLen(...)) is more where the OP's problem lies.) I agree 100%. That is fundamental error that, really, couldn't help but crash. I didn't see that problem during my first

RE: Windows Mobile or Palm OS

2006-03-20 Thread Robert Rhode
I'd have to say Palm OS is about a million times better. :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ramin Sent: Sunday, March 19, 2006 4:06 AM To: Palm Developer Forum Subject: Windows Mobile or Palm OS which is better windows mobile or palm

Re: FatalAlert Problem

2006-03-18 Thread Robert Moynihan
Daniel Seifert wrote: Hi, Am Freitag, den 17.03.2006, 10:30 +0530 schrieb sanjib mohanty: Hai all Thanks for replying As daneil suggest the solution, I checked all the MemHandleLock and corresponding Unlocks, DmReleaseRecord and DmGetRecord, all were matched properly. You should be

RE: Palm TX Emulator ROM and Landscaping

2006-03-14 Thread Robert Rhode
There's a T|X Simulator at http://pluggedin.palmone.com/. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Cooper Sent: Sunday, March 12, 2006 8:40 AM To: Palm Developer Forum Subject: Re: Palm TX Emulator ROM and Landscaping I'm fairly new to palm

RE: How to port J2ME apps in Palm device

2006-03-14 Thread Robert Rhode
For Palm OS Garnet Simulator: http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=96 For Palm devices: http://www.palm.com/us/support/jvm/ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sarif IshakSent: Tuesday, March 14, 2006 1:08 AMTo: Palm

RE: how to disable zire 22 center button's alert screen?

2006-03-08 Thread Robert Rhode
What happens if you return True upon vchrRockerHardCenter ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guilherme C. Hazan Sent: Friday, February 24, 2006 2:29 PM To: Palm Developer Forum Subject: Re: how to disable zire 22 center button's alert

NetLibSocketConnect and Tungsten TX (WIFI)

2006-03-08 Thread Robert
Hello! I want to download a database (pdb) from my webserver to the handheld. Everything looks fine except that it don't run on my Tungsten TX with wlan. At this position the program stops: NetLibSocketConnect(...) The error is 1204 (netErrParamErr). I'm wondering because everything works fine,

RE: Quicktime for Palm

2006-03-08 Thread Robert Rhode
1. Clean-room reverse-engineer an implementation of QuickTime so that your copy implements the API in the same way as the original but fits into the memory of a Palm OS device. 2. Sell your implementation for $10 million and let the buyer defend the lawsuit from Apple. 3. Enjoy your wealth!

re: NetLibSocketConnect and Tungsten TX (WIFI)

2006-03-08 Thread Robert
It works for two times on the device, but I tried about 50 times. So, I couldn't explain the error. I also thought about router settings but it works two times, so I couldn't figure out why it runs. When router settings were wrong it don't run one time. -- For information on using the

Re: How can I build a simple prc for weight calculations in the jet I fly?

2006-03-07 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: It would make my day easier if I could design a simple calculator for my treo that would be able to calculate the weight of the jet I fly. I have to do this with a calculator 6 times a day, and it's getting kind of old. snip I would suggest that you simply use a

Re: docs

2006-03-07 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: I had thought about docs to go, but I thought it might be interesting to look into creating the thing myself. Although I assume it would most likely take me longer to create it than I would save by having it to use. The programmable calculator method simply allows

Re: how to install my application to the palm?

2006-03-02 Thread Robert Moynihan
Diana wrote: I'm really really new to all of this. I've created, tested and debugged my application on the simulators. But now that i'm finished...how do i put it on my treo650? Do i just install the .prc file to the palm and hot sync or do i need to create a make file? In need of help.

Re: Time an application to run

2006-02-21 Thread Robert Moynihan
Diana wrote: Hi, I'm new to developing on palm os. I have an application that I want to run 3 times a day but I'm unsure as how it would automatically launch. Can someone help me? Thank you. Set an alarm, and do whatever you want when your app wakes up to the alarm notification. Then set

Re: Timer

2006-02-15 Thread Robert Moynihan
Nicolás Balparda Bossi wrote: Could anyone give me some advice on how to use a timer on palm? I really cant find anything useful :( Have you looked at the Alarm Manager part of the Palm OS Reference? You set an alarm (or we could say 'timer') using AlmSetAlarm() and then, when the time

RE: Debugging when simulator crashes?

2006-02-15 Thread Robert Baruch
I have FrmCloseAllForms already :( Rather than trying to add or subtract code based on guesses as to what the problem might be, I'm looking for a rational procedure to follow when Simulator crashes. Anyone? Thanks, --Rob -- For information on using the PalmSource Developer Forums, or to

Re: Problem to create the first record of my database

2006-02-10 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Hello, I create a database and I want to store records in it. The problem is that when I want to create the first record, the function DmNumRecords returns 83 and not 0 ! If I create the first record with the index 0, everything seems good but the record is not

Re: Problem to create the first record of my database

2006-02-10 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: In fact it is not normal and tht's why I have a problem. I must be blind !!! Thanks Just another example of how hard it is to proofread your own code. One other comment that I would have it that you don't test the return values to make sure that they are valid

Re: Multiple Alarms on App

2006-02-08 Thread Robert Moynihan
Chipp Jansen wrote: As it stands the Palm OS only supports 1 alarm pending per application at a time. Does anyone know of an approach or way of setting up multiple pending alarms on the application (i.e. a simple scheduler)? Think of it this way... you can have only one next alarm... by

Initializing app after app downloads from Internet?

2006-01-24 Thread Robert Baruch
On the Treo, and possibly other devices, in the built-in web browser, it's possible to click on a link to a .prc file. That prc file then gets installed on your device. Suppose you want the application to perform some initialization steps (such as registering for various notifications) when

Re: WHEN do I register for sysNotifySyncFinishEvent?

2006-01-24 Thread Robert Baruch
Yeah, that's the sysAppLaunchCmdSyncNotify launch code. So at least I know I'm on the right track. Unfortunately, I can't even pop up a little dialog from that launch command because the device will then crash :( Not very useful for debugging :( :( So I guess the rule for this launch code

WHEN do I register for sysNotifySyncFinishEvent?

2006-01-23 Thread Robert Baruch
Hi all, I'd like my application do to some setup when it is first loaded onto the device. I don't want the user to have to run the application to get it to set up, because I want the application to register for certain notifications out of the box. My first thought was that the application

Re: High Density Screens

2005-12-07 Thread Robert Moynihan
Tom wrote: Hello All, I have a Treo and want to be able to use the 320x320 screen so that it LOOKS like 320x320. Is it possible to do this with bulit in forms and routines Palm supplies? Sure. All you need to do is to provide double-density bitmaps in your bitmap families, and they

Re: (Sys 0505) (0, 841)

2005-12-07 Thread Robert Moynihan
There have been other responses as to what that code means precisely, but have you been able to identify if this crash is actually related to your app or not? If you remove your app and do a soft reset (just for clean-up purposes) does the problem go away. If the problem only re-occurs once

Re: Linker Error

2005-12-06 Thread Robert Moynihan
Jim Cooper wrote: It seems to be necessary if you don't have MFC on your system based on no install of VC++, because Builder won't compile with the indicated references in the .def file. I still say that's not necessary. I can call all these things from a different language that cannot

Re: Linker Error

2005-12-06 Thread Robert Moynihan
Del Ventruella wrote: Rest assured that I am always grateful for the helpful suggestions that I get here. I am quite new to C or C++ for more than engineering computations and matrix manipulation, and am simply trying to approach PalmOS programming from a perspective that is realistic for me.

NetServices on the TX

2005-12-05 Thread Robert Summers
I have a data collection program in the field that uses the Tungsten C to send data back to a central server over the wifi link. We provide our own access points on the floor and I specify those APs in the application at compile time. We're in the process of evaluating new devices and I can't

Re: Application compatibility with Palm OS Garnet v5.4.5

2005-12-01 Thread Robert Moynihan
Regis St-Gelais wrote: Kyle Dorian [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi all, I have an application created in Codewarrior that works beautifully on Palm OS v4.1. However when running the same application on Palm OS Garnet v5.4.5 I occasionally have

Re: Transparent bitmap color?

2005-11-22 Thread Robert Moynihan
Gregg Woodcock wrote: If only I use cygwin/GCC and use flat bitmaps referenced from a .rcp file like this: BITMAP ID somenum mybitmap.bmp NOCOMPRESS Where mybitmap.bmp is a regular file that I open with paint (or whatever)... Then try something like this instead. Bob. BITMAPfamilyex

Re: Checking for a camera

2005-11-18 Thread Robert Moynihan
Eric Potter wrote: Is there any reason that this code wouldn't work? if (DmFindDatabase(cardNo,kCameraLibName) != 0 || DmFindDatabase(cardNo,kCamLibName) != 0) { hasCamera = true; } I realize that if the camera does need to be loaded,

Re: XML to PDB?

2005-11-10 Thread Robert Moynihan
Lance Drake wrote: Write a conduit. That way you can skip two steps (no need to export anything from FileMaker and no need to convert that exported XML to a PDB file). You can read directly from the FileMaker database in your conduit and add records directly to a database on the device.

Re: Application not returning to Launcher following usage of SysUIAppSwitch

2005-11-10 Thread Robert Moynihan
Keighley, Glenn wrote: All, I have two applications A and B A is launched by an alarm and presents a UI to the user. When the user selects a button in A it triggers an application launch to application B using SysUIAppSwitch. When the user is done with application B he can select a

Re: return handled

2005-11-10 Thread Robert Moynihan
Tony Janke wrote: What is actually happening when you say handled = true? Sometimes I get Form already loaded issues if I use it incorrectly. My latest issue involves setting a global variable in my closeEvent. If I use handled = true, it works OK the first time though, but the next time I

Re: deleting a program currenty on the palm

2005-11-08 Thread Robert Moynihan
cbruner wrote: Yes there is a reset when someone pulls the card and the program can no longer access the files it needs, so what you are describing is what I'm seeing. So back to the original question, I guess the answer is that if it is not deleted from system memory then I must assume that

Re: Doubt on using HardKeys(vchHard1,..) in Treo 600 650.

2005-11-08 Thread Robert Moynihan
babbu cathy wrote: Hi all, Can anyone clarify my doubts please.. In my project, vchrHard1 for Treo 600 650 device takes for Phone button. And vchrHard2 takes for Calendar. Is this correct? Or wrong? That sounds right. What are your doubts? Bob -- For information on using the

Re: deleting a program currenty on the palm

2005-11-08 Thread Robert Moynihan
Ben Combee wrote: At 09:12 PM 11/7/2005, you wrote: Yes there is a reset when someone pulls the card and the program can no longer access the files it needs, so what you are describing is what I'm seeing. So back to the original question, I guess the answer is that if it is not deleted from

Re: deleting a program currenty on the palm

2005-11-08 Thread Robert Moynihan
John Sutton wrote: Bob said... Using the recyclable bit would clean it up as soon as the user switches to another app, or upon reset, right? Just out of curiousity, if you did find a version mismatch and set this recyclable bit, would it clean it up and get the fresh version back from

Re: connect to Internet

2005-11-07 Thread Robert Moynihan
chinmaya ku dalei wrote: I want to know the process to connect my PalmOS application to Internet. I wonder how many other Palm developers received numerous, identical, unsolicited requests directly to their own Yahoo! support sites: so far I've had 3. Bob -- For information on using the

Re: About webBrowser.h

2005-11-07 Thread Robert Moynihan
chinmaya wrote: Hey can anybody tell about webBrowser.h header file? I am little bit confused about it whether it is exist or not? Honestly, have you tried doing ANYTHING yourself? If I google for webBrowser.h, the 3rd hit takes me to a PDF file entitled Integrating Palm OS® Applications

Re: About webBrowser.h

2005-11-07 Thread Robert Moynihan
chinmaya wrote: Thanks Bob for to tell me. But it is not that. I have it, but the thing is that it is not supporting means, showing errors during the time of debugging. I want to know why it is occuring.The error seems to be No such header file; Bye Well, the problem would seem to be that

Re: Palm losing memory

2005-11-04 Thread Robert Moynihan
Mark Chauvin wrote: Is there a way to make a Palm retain its loaded programs for an indefinite period of time? I don't know if they're all like this, but all the Palm's I've seen lose everything when the batteries die. Is there a model that does not do that, or is there a way that I could

Re: My project creates junk DBs - Urgent help with full details needed:

2005-11-04 Thread Robert Moynihan
Logan Shaw wrote: babbu cathy wrote: Junk dbs are giving reset problem in some cases. reset problem isn't a very precise description. Also, how does babbu cathy come to the conclusion that these database are causing the reset problem? It is quite possible that these garbage databases

Re: Palm Application Install

2005-11-01 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Is it possible to install my application to the memory card instead of it insall on the Palm so if the palm loses power, the application stays installed? Of course. If you put hte application in the Palm/Launcher/ folder it will be found, and can be launched, but

Re: I hate to ask

2005-11-01 Thread Robert Moynihan
Del Ventruella wrote: This is basic C++. I could substitute an integer, but would like to understand how to make this work in the manner in which I originally intended. If anyone has a spare moment, please respond. Essentially, I have a structure that includes a char (char[1]). I assign

Re: Picture - PDB File Palm OS

2005-10-28 Thread Robert Moynihan
Deepak.MA wrote: Continuing with the same, i understand that ther is a difference between a BMP on the PC and what is called a PAlm BMP. Could someone throw more light on this? As a minimum, the file headers are different and the rows of bits are stored in the opposite order. They are

Re: Bug in StrCat?

2005-10-26 Thread Robert Moynihan
Ignazio Di Napoli wrote: Thank you to all. I simply thought standard strcat managed the overlaps. It's a little too tricky else... I had already solved my problem (with MemMove, which I knew handling overlaps), but I just was wondering how a so simple thing was not contempled... There are

Fatal exception downloading ROM

2005-10-23 Thread robert . kovacs
I am trying to download the rom from my tungsten e2 but get a fatal exception on or around 52% complete. Any ideas?? I have shut down hotsync and am downloading using poseon my pc and the transfer utility on the palm -- For information on using the PalmSource Developer Forums, or to

Re: Query on PDA

2005-10-20 Thread Robert Moynihan
Jim Cooper wrote: Can any one tell me that, is there any PDA Besides PALM M130 , which is USB Bus Powered, i.e. a PDA which recharged itself when doing USB Communication. Many, I would have thought. My old m505 does that too. Lots of PalmOS PDAs charge over the USB line. Often it

Re: determining the foreground program

2005-10-19 Thread Robert Moynihan
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

Re: Tungsten Simulators crashing upon startup

2005-10-17 Thread Robert Moynihan
Brian wrote: The T5 Simulator is crashing upon startup for me, with the following error: . i:\popm\arm\core\emul68k\srcslowemu\run68k.c, Line:3107, Invalid read from FFFA I'm using the Tungsten_T5_Update_Simulator_Debug_Build_6/PalmSim.exe Is there any kind of known issue with this? I

Re: Help setting up Treo 650 emulator

2005-10-17 Thread Robert Moynihan
David Horowitz wrote: Hi folks, Can anyone please help me make this somewhat confusing situation easy for me? I need to set up a Treo emulator (simulator?) Simulator. Emulators were never provided beyond PalmOS4. on my PC with the trial version of DataViz's Documents To Go so I can

Re: Tungsten Simulators crashing upon startup

2005-10-17 Thread Robert Moynihan
Brian wrote: Thanks, that did it! I did notice one other odd behavior, though. I first tried the T5 and then loaded my app into it. Then I closed the Simulator, changed the debugger location (I'm using CW 8.3) to the PalmSim.exe in the Tungsten E2 Debug directory, and launched that one. It

Re: Form Loading Problem

2005-10-14 Thread Robert Moynihan
Del Ventruella wrote: The c file code follows. The rcp file code comes after that: snip FORM ID TransformerForm AT ( 0 0 160 160 ) NOFRAME MENUID DataEntryMenu BEGIN TITLE Transformer - PSEDAT BUTTON OK ID XFMROKButton AT (62 137 40 12) LABEL New Label ID kVA AT (57 58) END

Re: How to create menu dynamically?

2005-10-14 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Hi I want to create menu dynamically, in which i can put some menus depending on conditions. Also i want to chane the caption of one menu frequently. For ex. Current Date. How can i do it? You'll probably be wanting to look up the MenuAddItem() command in the

Re: Form Loading Problem

2005-10-14 Thread Robert Moynihan
Del Ventruella wrote: Thank you. (I somehow thought that was a field, but you were, of course, correct.) The compiler now requires a Graffiti state indicator for this editable field. I did read an article a couple of years ago on Palm programming that indicated that this was required if one

Re: multiple segments - saga continues

2005-10-13 Thread Robert Moynihan
Troy Lokitz wrote: I am still playing around with this. I can get it to compile fine (i setup an additional segment). But when one of the functions in the new segment are called, it crashes. Does this issue sound familiar to anyone? Are you calling that function in response to a

Re: Form Loading Problem

2005-10-13 Thread Robert Moynihan
Del Ventruella wrote: I have the about form loading now. I still need to know how to get a text string (char*) to load and display in a field on a form. This is what I use.. Bob void mySetFieldText(FormType *frmP, UInt16 fieldID, Char *st) { FieldType*fldP; MemHandletextH;

Re: Form Loading Problem

2005-10-13 Thread Robert Moynihan
Del Ventruella wrote: Thanks. I gave it a try. Still no success. What happens then? Does the form popup with nothing in the field, or are you saying that you get a crash? Try boiling down your function to just the bare essentials, and once you get it working you can add back in the

Re: Form Loading Problem

2005-10-13 Thread Robert Moynihan
Del Ventruella wrote: Basically, as far as I can tell (allowing for the fact that my emulator seems to produce some screen artifacts and to not update properly) the code does absolutely nothing. There is a screen response, but after the blurred area appears near the top, nothing. Is the

Re: italic fonts?

2005-10-11 Thread Robert Moynihan
Paul Reger wrote: This is probably a very stupid question, but is there any way to get an italic font on palm? Italic fonts are not part of the default OS. You either have to create your own font, or get an italic set that someone else has created and made available. Also, you would

Re: odd address error

2005-10-11 Thread Robert Moynihan
cbruner wrote: I'm getting an Emul68KCommon.c, Line:839, Odd address I don't have any file called Common.c, so I'm at a bit of a loss as to how to debug this. The error is being DETECTED in that module, but it almost assuredly is coming from you code... somewhere. Also when I'm

Re: odd address error

2005-10-11 Thread Robert Moynihan
cbruner wrote: The weird thing is that under the debugger it is able to run, although it stops at one point. When I try to just run it, it dies with the odd address error. Any ideas on how to understand where I went wrong? The thing is that the debugger, simulators, and h/w devices will all

Re: Structure of structures

2005-10-09 Thread Robert Moynihan
the current pointer address, but that will almost assuredly be meaningless once you try to read the data again at a later time. You have to save those 'pointed-to' bits of data separately. Bob Bob - Original Message - From: Robert Moynihan [EMAIL PROTECTED] To: Palm Developer Forum palm

Re: Structure of structures

2005-10-09 Thread Robert Moynihan
Del Ventruella wrote: Is the corresponding load sequence: void LoadData(DmOpenRef db, myStructType *myStructP){ MemHandle recH=NULL; UInt8 *recP; UInt16 recIndex=-1; //will save the data in a new record at the end of the database RecH=DmNewRecord(db, recIndex,

Re: Structure of structures

2005-10-08 Thread Robert Moynihan
Hi Del, sure you can include structures in structures. AFAIK, it's not a PalmOS thing, but rather a C thing. As an example, here's a quick sample from one of my apps, where I declare a couple of structs, then include them in another struct. Note that the large structure contains my own

Re: How to Get PalmID?

2005-10-07 Thread Robert Moynihan
Jeetu wrote: hi freinds, Can anyone tel me how to get PalmId of the device. Its urgent requjirement for me plz if any1 had implementd the same plz forward a small snipet of it. You mean the hotsync name? Do something like this... Bob. { Char

Re: relocation truncated to fit Error

2005-10-05 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Thanks, Here is what I can see in the Sections.h file . 5. Annotate each function with a section define like so: void DoWork() EXTRA_SECTION_ONE; void DrawForm() EXTRA_SECTION_TWO; Notice that the annotations need to be visible at the function

Re: background process in palm os 5

2005-10-03 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: Hello, Is it possible to create a background process in palm os 5. Sort of... I need to run two applications (or two processes) simultaneously which need to communicate to each other. Any idea how it can be done? In palm if i open a second application (say a prc

Re: Fixing records left locked in closed DB

2005-10-03 Thread Robert Moynihan
What about any calls to DmNewRecord(). Do you release after those? Bob. snip To summarize: I call MemHandleUnlock for every record I call DmGetRecord or DmQueryRecord on. I also call DmReleaseRecord when I call DmGetRecord. I do a MemPtrUnlock on pointers I locked through

Re: Global Find

2005-09-29 Thread Robert Moynihan
Jay Lee wrote: Hi. When my application is running and I do a Find, FindLaunch(FindParamsPtr pFindParams) within my application is executed. When my application is NOT running, and I do a Find, FindLaunch(FindParamsPtr pFindParams) within my application is never reached. What do I need to do

Re: Next Palm mobile using Windows? Palm press conf Sep 26 with Bill Gates

2005-09-25 Thread Robert Moynihan
Tony Yat-Tung Cheung wrote: Will Palm's PluggedIn Developer program provides a Windows Mobile SDK for its Treo 7002? Probably, if it wants to and thinks that it is a good idea. Does that mean all existing 12,000 PluggedIn developers are automatically converted to Windows Mobile

Re: Displaying Float Values in simple format

2005-09-20 Thread Robert Moynihan
Jeetu wrote: Hi Folks, I have a problem regarding Float Values,i m storing float value into Database and Displaying it in the text Field,but it is showing me in exponential Format.I dont want to display it in exponential format. I have used Float Fn's Like:- FlpBufferAToF() for

Re: Abacus WristPDA updaAppLaunchWatchDrawTime

2005-09-19 Thread Robert Moynihan
John Powers wrote: The Fossil/Abacus WristPDA SDK states that a watch app is launched with the updaAppLaunchWatchDrawTime launch code once a minute to let the watch app update the time display. My app is getting 4 updaAppLaunchWatchDrawTime launch codes a minute snip That's normal

Re: Problems with application launched via Launcher X

2005-09-16 Thread Robert Moynihan
Steve Chaplin wrote: I tried my app with Facer and that also works. I only have a problem with Launcher X. Anybody have this problem Hi Steve. I don't have any personal experience to relate, since I don't use LauncherX. You've said that all launchers except LauncherX are launching

Re: Abacus WristPDA updaAppLaunchWatchDrawTime

2005-09-16 Thread Robert Moynihan
John Powers wrote: The Fossil/Abacus WristPDA SDK states that a watch app is launched with the updaAppLaunchWatchDrawTime launch code once a minute to let the watch app update the time display. My app is getting 4 updaAppLaunchWatchDrawTime launch codes a minute, some spanning a second. I

Re: Calling SysReset under OS5

2005-09-13 Thread Robert Moynihan
Vince Lee wrote: Is there any reason why SysReset() won't work under PalmOS5? I have some old code in a utility app that indicates that at least early OS5 versions didn't support this call properly. I don't remember how it used to fail, though. Is this still a problem, and if so, are

Re: how to popup menu

2005-09-12 Thread Robert Moynihan
[EMAIL PROTECTED] wrote: I want to put an menu icon on screen. When tap at it, menu will pop up, just like the popping up menu when tapping at the Menu Icon on silkscreen. Can anybody tell me how to do it. Thanks. Here's one way... void PostMenuKey(void) { EventTypeevent;

Re: Forced Initialization

2005-09-06 Thread Robert Moynihan
Dave Mottorn wrote: Is there a calleable function that has the same effect as a warm boot? It depends on what you mean by 'warm'. SysReset() is PROBABLY what you are asking for. Bob -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: How to find a bug that crashes Simulator?

2005-09-02 Thread Robert Moynihan
Luc Le Blanc wrote: I finally managed to fix the bug by simply removing the line that would cause the crash (...) It turned out to be redundant, so no functionnality is lost and everything else works fine beyond that. I still can't explain what was wrong, nor why it only crashes on a T3 (I

  1   2   3   4   5   6   7   8   9   10   >