Re: Changing number of visible items in a list

2004-06-08 Thread Chris Faherty
On Wednesday 09 June 2004 02:50 am, Kyle Dorian wrote: > Is there any way to change the number of visible items displayed in a list > during runtime? http://www.palmos.com/dev/support/docs/palmos/List.html LstSetHeight Function ^TOP^ Purpose Set the number of items visible in a list. -- /* Ch

Changing number of visible items in a list

2004-06-08 Thread Kyle Dorian
Hi all, Is there any way to change the number of visible items displayed in a list during runtime? Thanks in advance, Kyle -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Connecting to Access db Wirelessly

2004-06-08 Thread Girish NS
Hi, You can write a conduit which will transfer data from palm database to access or u can use web services or http to transfer data from palm to access db. HTH, Girish. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe bloggs Sent: Tuesday, June 08,

Re: MemPtrNew, MemHandleNew and anything about MemXXX

2004-06-08 Thread Ben Combee
At 10:02 PM 6/8/2004, you wrote: Hello XPerts, I have problem with dynamic allocation memory in palm. Please help. 1. How do i convert array of pointers from using 'New' to 'MemGluePtrNew'/'MemPtrNew'? Define your own operator new (using inline) that calls MemGluePtrNew. See http://www.palmoswerk

MemPtrNew, MemHandleNew and anything about MemXXX

2004-06-08 Thread \[ a | x \] - Peter Alex
Hello XPerts, I have problem with dynamic allocation memory in palm. Please help. 1. How do i convert array of pointers from using 'New' to 'MemGluePtrNew'/'MemPtrNew'? 2. How to dispose dynamic array claimed by MemPtrNew/MemGluePtrNew? So far I used MemPtrFree but somehow it returns 'Fatal Excep

Re: Crashing in EvtGetEvent

2004-06-08 Thread Ben Combee
At 08:15 PM 6/8/2004, you wrote: Are there any known issues with using dynamic Form Objects on OS 3.5/4.0? (I'm aware of the create/delete ascending/descending order requirement for FrmNewObject that will crash OS 5 on a regular basis if violated.) There also is a known form corruption bug on Palm

Crashing in EvtGetEvent

2004-06-08 Thread Keighley, Glenn
I'm seeing a crash in EvtGetEvent in the application that I'm currently working on. The crash is occuring mainly on OS 3.5 and OS 4.0 devices (not reproducible on OS 5). The stack trace looks as follows. +AF8AXw-Startup+AF8AXw- PilotMain StarterPalmMain(unsigned short,void+ACo-,unsigned short) Scr

Re: Palm OS "Bad Form" Assertion Error, What Does It Mean?

2004-06-08 Thread Ben Combee
At 07:15 PM 6/8/2004, you wrote: My application generates this error using the Palm OS Simulator 6. Form.cpp(7517): Bad form Does anyone know what this really means? The application runs fine on a regular Palm. This means that the data structures of the form failed a self-validation check. Have y

Palm OS "Bad Form" Assertion Error, What Does It Mean?

2004-06-08 Thread DaveL
My application generates this error using the Palm OS Simulator 6. Form.cpp(7517): Bad form Does anyone know what this really means? The application runs fine on a regular Palm. Thanks for any assistance. -- For information on using the Palm Developer Forums, or to unsubscribe, please see h

RE: Reminder: PalmSource DTS Incident Support

2004-06-08 Thread Ricardo Birmele
Y'know, Ben...someone ought to thank you for all the help you've been giving us. Lemme be the first: thank, Ben. I really appreciate it. (BTW: Does your boss know what great PR you are for PalmSource?) __Birm | -Original Message- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] B

RE: Hanging at logo on soft reset. HELP!

2004-06-08 Thread Jeffry Loucks
1. Is your app attempting to use globals during reset? 2. Is your app multi-segment and are you calling code outside the first segment? Jeff Loucks Work 425-284-1128 [EMAIL PROTECTED] Mobile 253-691-8812 [EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] -Original Me

Reminder: PalmSource DTS Incident Support

2004-06-08 Thread Ben Combee
I just wanted to post a reminder to the developers out there. If you have a urgent question, or some query that requires research into the operations of Palm OS, you may want to use PalmSource's Developer Incident Support. This is a paid program that's part of the PalmSource developer program

Hanging at logo on soft reset. HELP!

2004-06-08 Thread Jeremy Cheng
The app we're working on requires a soft reset after install. However when, it gets to the logo, the device hangs, and thus forces a hard reset. We can install and run the app through the debugger, but after we kill the debugging session, it resets and then hangs. If anyone can suggest anythin

Re: Odd address problem with ErrTry

2004-06-08 Thread Eric Potter
Eric Potter wrote: I found a bug in my code, where in certian senarios, when i get to an ErrTry, it throws the following error: i:\banzai\arm\core\emul68k\src\emul68kcommon.c, Line:562, Odd address In most casses, the line of code executes fine, but I one case it blows up. I researched the archi

Re: Inline assembly support in pacc for PNOlet (PODS v1.0alpha)

2004-06-08 Thread Ben Combee
At 04:31 PM 6/8/2004, you wrote: Is there any documentation about how to use PAASM? I tried converting some GAS code to it, and it's clearly a different language. Is PAASM a subset of ADS assembler? Is there an ADR/ADRL type function available? How about any primitives that could be used to provi

Re: POL Scroll Bar

2004-06-08 Thread Arrow
try changing: EVENT_MAP_ENTRY(sclEnterEvent, OnScroll) to: EVENT_MAP_ENTRY(sclRepeatEvent, OnScroll) ...got this from doing a search at the POL site ( http://www.pollib.com/ ) "Mark Chauvin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How do you capture scroll bar events in PO

USB Interface

2004-06-08 Thread Dennis Burns
I am interfacing a USB device (with hosting capability) to a Palm device. Will I have to create the slave-side code to implement the enumeration process, or is it available somewhere in a library? So far, I haven't found anything other than reading one or more bytes from the port. Thanks in advanc

Re: Inline assembly support in pacc for PNOlet (PODS v1.0alpha)

2004-06-08 Thread Rob Larson
Is there any documentation about how to use PAASM? I tried converting some GAS code to it, and it's clearly a different language. Is PAASM a subset of ADS assembler? Is there an ADR/ADRL type function available? How about any primitives that could be used to provide similar function? -- F

Re: Streaming Sound Ouput instability on T3 after power off?

2004-06-08 Thread Marc A. Lepage
Marc A. Lepage wrote: I've implemented OS5 streaming sound output. The stream is constantly fed with 11025Hz UInt8 mono data and sounds fine. However, on Tungsten T3 and Zire 72, the sound is unstable after power off/on (while it's playing) and the app crashes on subsequent exit. It doesn't do

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Rob Larson
Isn't serial port work fun?!! You can't use a debugger, since the debugger uses the serial port. Note that if you use a serial debugger connection, the serial port is tied up until you reset the device. Same deal if your program opens the serial port and exits without closing it. A soft reset u

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Dave Lippincott
>If it > was a flowcontrol or handshake problem I would get some data in, even if > missing some or a lot, but now I get NONE! Not true, it depends on the UART. Also, if the logic levels are not up to standard levels, no data would flow. Make sure your sensor doesn't depend on RTS or DTR for powe

Inline assembly support in pacc for PNOlet (PODS v1.0alpha)

2004-06-08 Thread Robert Hildinger
I've been playing around attempting to compile some PNOlets with PODS v1.0 alpha in an effort to compare the quality of code generated by PODS vs CW 9.3, and I've come across some interesting (and disturbing) items 1. CW 9.3 ARM code is generally smaller and faster than the code generated by P

RES: MemPtrNew versus MemHandleNew

2004-06-08 Thread Desenvolvimento 3
It depends on where you will use that. When you use a Handle, the memory chunck is moveable, I mean when the palmOS need to (re)allocate memory for other porpouses it could move your handle to satisfact its necessity. So, before you use it you must lock the handle... and unlock just after using t

Re: MemPtrNew versus MemHandleNew

2004-06-08 Thread Robert Scott
On Tue, 8 Jun 2004 17:16:10 -0300, "Régis Daniel de Oliveira" <[EMAIL PROTECTED]> wrote: >Hy all! > > >My app need to allocate four 4k buffer, that will be used by many functions >during the app execution. I can allocate memory for the pointers using >MemPtrNew and MemHandleNew. > >Witch one is th

MemPtrNew versus MemHandleNew

2004-06-08 Thread Régis Daniel de Oliveira
Hy all! My app need to allocate four 4k buffer, that will be used by many functions during the app execution. I can allocate memory for the pointers using MemPtrNew and MemHandleNew. Witch one is the best for using? Thanls all! -- For information on using the Palm Developer Forums, or to un

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Karl-Petter Åkesson
Thanks for the reply Rob, already tried SerialFix, didnt help:-( And if you read my first mail carefully I wrote that its not a cable problem. I have been using another application on the T3 and with it I can communicate with the sensor! Cables are working, trust me. I even used an oscilloscope

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Karl-Petter Åkesson
Hi again, have been working with the code for an hour or two now. Realized that I hadnt really configured the port correctly but it didnt help much. And I much doubt that its the speed or lack of handshake thats causing the problem, if so why would the application stop receiving data all? If it

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Rob Larson
The first thing I'd be suspicious of is the cable to the Palm. Some vendors provide a different serial connector for the new (Tungsten & Zire 71) devices than for older devices. The specification is the same, but there seems to be a small difference on the real devices that leads to poor connecti

Plam localization

2004-06-08 Thread Krunal Doshi
Hello, I was looking for a tool which can extract strings from resource/prc file. Then thses strings will be sent to translators. After i get translated strings, they need to be put into the rsrc/prc, so as to have localized version of prc. I am using codewarrio 8. If i can get file format for

Re: Connecting to Access db Wirelessly

2004-06-08 Thread Dave Lippincott
goto the PalmOne and Palmsource websites and look over similar solutions. That failing here are some thoughts, but not a definitive list: a) write a conduit. sync wirelessly and use the conduit to translate the data from the Palm PDB to the Access DB. (did it) b) use the Palm network routines to

Re: is 'B' going to be always right after 'A'?

2004-06-08 Thread Alan Jay Weiner
>I wonder how safe it is to assume that 'B' is going to be always right after >'A' as far as the Palm OS universe goes. /PaulN I'd sort it that way, so immediately you know it's wrong... :) From http://www.fact-index.com/d/di/diacritic.html : (googling "diacritical sort letters") Different lan

Connecting to Access db Wirelessly

2004-06-08 Thread joe bloggs
Hello Forum, I am looking to develop an application that will be used to collect data for an MS Access 2000 database. Once the data is collected on the Palm, it needs to be sent via a wireless network connection to the database. Is this possible using Palm OS 4.x and if so how would I go about c

RE: Printing Question

2004-06-08 Thread Glenn Bachmann
Hello, Our PrintBoy SDK offers a full suite of mobile printing api's for developers of handheld applications, including drivers for most popular printers. You can find out more at http://www.bachmannsoftware.com/printmgr.htm. There is also information on compatible printers, and we can help you wi

Re: Printing Question

2004-06-08 Thread Ben Combee
At 11:45 AM 6/8/2004, you wrote: anyone? Did you see Steve Sabram's response to your original mail on June 2nd? -- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/ -- For information on using the Palm Developer Forums, or to unsubscribe, ple

Re: Printing Question

2004-06-08 Thread rua17
anyone? "rua17" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > The management wants to have sellers with a HandHeld and a Printer. They > want to print the vouchers directly in the client place. > > I want you to be sincere and to help me answering the following questions: > > - Is

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Dave Lippincott
Baud rates over 9600 require some sort of hand shaking otherwise you can loose data. You may be able to get away as high as 14400 without it but I'd bet that alone could be the issue. I had an issue with a Symbol unit where a radio interrupt was causing the serial port to loose data. There were a

Re: Hiding an app from the launcher

2004-06-08 Thread Ben Combee
At 10:13 AM 6/8/2004, you wrote: Anybody use Eclipse, the free IDE available at www.palmsource.com ? How can I make a PRC hidden using this IDE? Are they any other free tools I can use to make a PRC hidden once it has been crreated? It depends on if you're using standard makefile projects, or manag

Re: Re[2]: Conversion function codewarrior / pocketstudio(pascal)

2004-06-08 Thread Stefano Coluccia
"Adrien Regimbald" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > I'm afraid that I was a bit mixed up. I thought you were trying to > save a photo from the camera. Yes I'm trying to save a photo from a camera, but first I've tried to open an jpg image and save it and it's a

Re[2]: Conversion function codewarrior / pocketstudio(pascal)

2004-06-08 Thread Adrien Regimbald
I'm afraid that I was a bit mixed up. I thought you were trying to save a photo from the camera. Have you worked this problem out though? I'm not sure from your e-mail whether you have or not. Adrien. Tuesday, June 8, 2004, 2:50:05 AM, you wrote: SC> "Adrien Regimbald" <[EMAIL PROTECTED]> ha scr

Re: Hiding an app from the launcher

2004-06-08 Thread Palm Developer Forum
Anybody use Eclipse, the free IDE available at www.palmsource.com ? How can I make a PRC hidden using this IDE? Are they any other free tools I can use to make a PRC hidden once it has been crreated? "Eric Cloninger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Or -dbFlagHidden in

Re: is 'B' going to be always right after 'A'?

2004-06-08 Thread John Marshall
On Tue, Jun 08, 2004 at 10:39:53AM -0400, jimrandomh wrote: > Paul Nevai wrote: >> I wonder how safe it is to assume that 'B' is going to be always right >> after 'A' as far as the Palm OS universe goes. > > Character literals with no qualifiers are defined to be ASCII by the C > standard. Intere

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Karl-Petter Åkesson
Hi, Thanks for your reply. I did some serial comm stuff in the olds days too, software for a midi-interface and never had problems then, but now I havent done any Palm coding for 5 years so it has taken some time to get back on track. What do you mean by geometry? I'm using 38400 baud, 8N1 no h

Re: is 'B' going to be always right after 'A'?

2004-06-08 Thread jimrandomh
Paul Nevai wrote: I wonder how safe it is to assume that 'B' is going to be always right after 'A' as far as the Palm OS universe goes. Character literals with no qualifiers are defined to be ASCII by the C standard. Thus, digits are sequential, lowercase letters are sequential, and uppercase lette

Re: SysUIAppSwitch()

2004-06-08 Thread Ben Combee
At 04:27 AM 6/8/2004, you wrote: I've been getting errors in an application, invoked via SysUIAppSwitch(), when it frees the cmdPBP passed by the caller. The caller calls MemPtrSetOwner(ptr, 0); before calling SysUIAppSwitch() or during its AppStop() handling (or both). It appears that if a value

Re: Serial comm differences between Simulator and real device

2004-06-08 Thread Dave Lippincott
I was never able to get Pose or the simulator to accurately model the serial ports and I've been working with RS232 on the Palm since the Personal/Pro days. What geometry are you using for the port settings? Things like baud rate and clearing out the I/O buffers will make a difference. How sensi

Re: Retrieving Rom Serial Number

2004-06-08 Thread Dave Lippincott
65535 is not a valid error. Its 0x. You don't mention what is returning the value. I assume its SysGetROMToken. Please read about SysGetROMToken in the SDK docs. It clearly states that if the first byte of the returned value is 0xFF, there is no serial number available. While the M500 d

POL Scroll Bar

2004-06-08 Thread Mark Chauvin
How do you capture scroll bar events in POL? I've tried these variations and they don't work: class CMyForm : public CForm { public: ... Boolean OnScroll(EventPtr pEvent, Boolean& bHandled); Boolean OnScroll2(ComponentEventPtr pEvent, Boolean& bHandled); BEGIN_EVENT_MAP(CForm) EVENT_MAP_ENTRY

is 'B' going to be always right after 'A'?

2004-06-08 Thread Paul Nevai
I wonder how safe it is to assume that 'B' is going to be always right after 'A' as far as the Palm OS universe goes. /PaulN -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Bitmap zooming

2004-06-08 Thread Aryeh Teitelbaum
Thanks David Aryeh Teitelbaum - Original Message - From: "David Fedor" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Tuesday, June 08, 2004 12:01 AM Subject: Re: Bitmap zooming > >If you're looking for an API that is going to make this simple, you're > >out of

SysUIAppSwitch()

2004-06-08 Thread Bill Lee
I've been getting errors in an application, invoked via SysUIAppSwitch(), when it frees the cmdPBP passed by the caller. The caller calls MemPtrSetOwner(ptr, 0); before calling SysUIAppSwitch() or during its AppStop() handling (or both). It appears that if a value is passed as cmdPBP, it must be a

about memory

2004-06-08 Thread armada
My application is 60K,and it has been installed into my device. How much memory space to let it run?if all variables and others is 10K. Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Conversion function codewarrior / pocketstudio(pascal)

2004-06-08 Thread Stefano Coluccia
"Adrien Regimbald" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > Well, my Pascal is very rusty, but.. > > In your declaration of the ImageData structure type, shouldn't imgH be > a pointer (imgH : ^UInt16)? If it's not supposed to be a pointer, > where are you storing the i

Serial comm differences between Simulator and real device

2004-06-08 Thread Karl-Petter Åkesson
Hi, I'm new to the list but I have looked some in the online archives to find an answer but have not. The problem I have is that my code works just fine on the Palm Simulator on my PC but when I move the application to the T3 it behaves strange. I'm aware of the CTS/RTS bug and thats taken care