Debugging Ideas

2002-12-10 Thread Brad Figler
All, I need help! I am looking for some suggestions to help me track down a bug in my code. Here is an overview of the problem I am having, followed by what I have done to debug the problem. I have a registered a callback function for the serial port via SrmSetWakeupHandler(). From the

Re: WinSetTextColor

2002-12-10 Thread Henk Jonas
Hi Raj, now we come closer to the problem. Let's imagine your device is capable to display different grayscales. First you have to as the OS for the right index for your grayscale value. That's what WinRGBToIndex is for. Next thing is you have to try to switch on grayscale at program start.

RE: GPRS samples

2002-12-10 Thread Maggi Pietro
Agus Silas wrote: What kind of application are you writing ? Actually the application I wrote works fine using the data chanel of GSM to transmit GPS position from mobiles to a base. It's sort of point to point communication. The problem is that the time needed to establish a data

Re: WinSetTextColor

2002-12-10 Thread Rajasekhar Reddy P
Hi Henk Thank you i got it. But It is very diffecult to find the difference is between two colors (gray and black) what is maximum value for k in that while loop it is starting from 8. when it came out from while what is k value. i am not using while loop i just put winScreenMode Yes your

Re: I really love Multilink :)

2002-12-10 Thread Ton van Overbeek
Blake Winton [EMAIL PROTECTED] wrote: snip The ability to tag each function, while useful, is at too low a level of granularity for me (and Florent) to use, so I've been using Multilink. (I've got a patch for the libraries it comes with, so if anyone is going to start maintaining it again,

GSMLibrary usage

2002-12-10 Thread Dragomir Goranov
Hi, I have downloaded the GSMLibrary from Handspring's site. However there is no documentation or sample code to show how to use it. I want to handle data calls from my program and want to know when there is a data call incoming. Does anyone have an idea how to do this? Best regards, Drago

Re: WinSetTextColor

2002-12-10 Thread Henk Jonas
Raj, The contrast is generally not very good for old devices. But you should adjust the contrast whenever you switch between b/w and grayscale. The maximum value for k is 8 and it goes all the way down to 1. Every time it shifts tmp_depth one bit to the left. The goal is to find the first

Serial printing support

2002-12-10 Thread rajesh adukkadukkath
What are the various possibilities to include serial printing support in my PalmOS application developed using j2me? _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail --

HTTP GET and POST

2002-12-10 Thread Seluk Yazar
Hi, I'm new in Palm :) Can we read data from internet using HTTP GET or POST like methods in any palm development platform or how can we do that in PALM tecnologhy. Or where can i find essential resources and sources codes (maybe) about these subjects Thanks -- For information on using the

RE: Please help with SPT 1500

2002-12-10 Thread Stringer
From: Louis [EMAIL PROTECTED] I have an app that works on Symbol SPT1550, SPT1700 and SPT1800, but it crashes on SPT1500. The SPT1500 runs OS 3.2. The 1700 runs on 3.5 and the 1550 1800 on 4.x. Mt problem is that the app crashes on the ScanOpenDecoder() command. I am using CW 8.1. I know

RE: GPRS samples

2002-12-10 Thread Agus Silas
Yes, with GSM you have some fixed delay for Connection and Hangup, you can avoid some time with GPRS, but remember that you will always have some connection delay due to autentication. That's true, but it will happen once until the end of the session BTW, how do you plan to connect your

RE: GPRS samples

2002-12-10 Thread Agus Silas
Thanks Steve for your informations... Cordialement, Agus Silas BST Technologies T. (+33) 5 57 80 16 03 F. (+33) 5 57 77 29 97 http://www.bst-technologies.com 44° 52' 55.70 N - 0° 31' 54.19 W -Message

palm bmp to BMP

2002-12-10 Thread geeta more
Hi All , i am trying to convert Palm Bmp to windows BMP format ... anybody has already worked on this ??? Regards , Geeta __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts

How do I make an editable number field in a table?

2002-12-10 Thread Andy Arhelger
I want to have an editable number field in a table. The value is stored in the db as a Int32. I have everything set up for a field in the correct column, in my get method for the column I convert the Int32 to a string and do a MemHandleNew() and return the handle with an offset of 0. This all

#65279;Trouble with TblSetItemInt

2002-12-10 Thread Eric Marsh
#65279;I've coded up a table that I want to use to display a matrix of integers. The cell type is numericTableItem and to set the value I'm using TblSetItemInt. The documentation for both of these items say that they reference an int but when I use the table I get an unsigned value. I need to

Re: Treo 300 SimpleSMS equivalent

2002-12-10 Thread Scott Gruby
In article 104431@palm-dev-forum, Chris Faherty [EMAIL PROTECTED] wrote: Anyways, I'd like to also experiment with using SMS as a trigger. This way I can have more flexibility from the server side as to when a pop is needed, and further improve battery life by not requiring data services

Project building error

2002-12-10 Thread news.palos.com
I've just noticed that CodeWarrior 8.3 won't build my project which contains 2 .cpp files and MathLib.c file. All files are declared in the project and I use only one segment. In the main.cpp, I call pow and sqrt functions from the MathLib.c. Both MathLib.h and MathLib.c were added automatically

Speed of Tungsten T

2002-12-10 Thread Mike McCollister
There is a bit of confusion out there. In some places I've read that the Tungsten T is 170 MHz while in others I've read that it is running at 140 MHz. Which is it? Thanks, Mike __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up

RE: #65279;Trouble with TblSetItemInt

2002-12-10 Thread Robert McKenzie
Eric: The code (OS 4) uses Int16 for the TblSetItemInt, then, when drawing a numericTableItem passes it to StrIToA which wants an Int32. So you have me puzzled too. Looking a little deeper, however, I find that in OS 3.1 the table keeps its ItemInts as UInt16s, so I suspect what you are

AppCompatility Application

2002-12-10 Thread Mike McCollister
Palm has an application out there call AppCheck (http://palm.com/support/downloads/appcheck.html). It scans the device for known good and know bad applications for Palm OS 5. How does one get his applications on that list? Thanks, Mike __ Do you

Re: Speed of Tungsten T

2002-12-10 Thread Aaron Ardiri
There is a bit of confusion out there. In some places I've read that the Tungsten T is 170 MHz while in others I've read that it is running at 140 MHz. Which is it? 144Mhz the OMAP processor is actually 175Mhz, and, palm has underclocked it for battery life performance :) they are the

Re: Speed of Tungsten T

2002-12-10 Thread Mike McCollister
Aaron, Thanks. I now see why the confusion is out there. Mike --- Aaron Ardiri [EMAIL PROTECTED] wrote: There is a bit of confusion out there. In some places I've read that the Tungsten T is 170 MHz while in others I've read that it is running at 140 MHz. Which is it? 144Mhz the

Re: NSBasic

2002-12-10 Thread George Henne
Let's take this offline. If anyone in the group wants to keep following this thread, email me and I'll cc you. Don't run away now, George, it was just getting interesting. Please do CC me at [EMAIL PROTECTED] :-) If I was running away, I wouldn't have invited you to follow. :-) I'll forward

MailPlusDB format?

2002-12-10 Thread Barry Peet
Is there anyone that knwos how to write an entry in the MailPlusDB used in the mailplus client (which is included in the Extended Connect Software)? Regards, Barry -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: unallocated chunk of memory error when call WinDrawChars

2002-12-10 Thread Matt Graham
christy wrote: Can you give an example call to Unpack()? My database has two fields (id - integer and name - chars) When reading a record, you only have to lock it then you can read it. try this structure for the record instead: typedef struct { UInt16 fid; char fname[];

Re: unallocated chunk of memory error when call WinDrawChars

2002-12-10 Thread Matt Graham
Ben Combee wrote: Then a structure definition for it might look like typedef struct FDBRecordType { UInt16 fld; char fname[]; } FDBRecordType; This sets up a record with an indefinite array type at the end. Hmm, my newsreader showed this response in another thread and I

Re: Project building error

2002-12-10 Thread Ben Combee
At 16:19 2002-12-10 +0100, you wrote: I've just noticed that CodeWarrior 8.3 won't build my project which contains 2 .cpp files and MathLib.c file. All files are declared in the project and I use only one segment. In the main.cpp, I call pow and sqrt functions from the MathLib.c. Both MathLib.h

Re: HTTP GET and POST

2002-12-10 Thread Steve Mann
Can we read data from internet using HTTP GET or POST like methods in any palm development platform or how can we do that in PALM tecnologhy. Yes, using NetLib. Or where can i find essential resources and sources codes (maybe) about these subjects The SDK docs, the knowledge base. Regards,

Re: GSMLibrary usage

2002-12-10 Thread Steve Mann
I have downloaded the GSMLibrary from Handspring's site. However there is no documentation or sample code to show how to use it. There is sample code and docs. You need to look around the site a bit. You might also want to post this question on the HandSpring developers forum. I want to

RE: Project building error

2002-12-10 Thread Agus Silas
Thanks Ben, you've solved my first problem. It's a bit tricky ;) Concerning my second problem, in fact, Tools.cpp has it's own header, Tools.h, which contains all functions prototyping. But if I include the header, Tools.h, in Main.cpp and build the project here's one of the error messages I get

Re: AppCompatility Application

2002-12-10 Thread Henk Jonas
Hi Mike, interesting thing, you've found. If you would follow the link to the list, you could read this: For companies seeking to update or add their information to this list, please email: [EMAIL PROTECTED] Henk Mike McCollister wrote: Palm has an application out there call AppCheck

RE: netLib feature

2002-12-10 Thread Kevin OKeefe
You could create a trap patch for MdmDial and snag its return code when you call the original trap. -Original Message- From: dex [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 1:06 AM To: Palm Developer Forum Subject: netLib feature I've the proble to verify if the

RE: Project building error

2002-12-10 Thread Ben Combee
At 18:36 2002-12-10 +0100, you wrote: Thanks Ben, you've solved my first problem. It's a bit tricky ;) Concerning my second problem, in fact, Tools.cpp has it's own header, Tools.h, which contains all functions prototyping. But if I include the header, Tools.h, in Main.cpp and build the project

Re: netLib feature

2002-12-10 Thread dex
In article 104293@palm-dev-forum, [EMAIL PROTECTED] says... I've the proble to verify if the connection with ISP fails because the line in busy. Is there anyone who can suggest me how to do it? I didn't find any reference on SDK. Any suggestion will be welcome thx dex Pls, Is

WinSetCoordinateSystem, WinScaleRectangle

2002-12-10 Thread Jeff Wheeler
I'm trying to do something very simple, but haven't figured out the key to make it work. What I want to do is shift an arbitrary rectangular area on the screen to the right by exactly one pixel, regardless of screen density. I have code that works on the low resolution devices, but on the

Re: netLib feature

2002-12-10 Thread Steve Mann
I've the proble to verify if the connection with ISP fails because the line in busy. Is there anyone who can suggest me how to do it? I didn't find any reference on SDK. netlib should return an error code to you. Why don't you just try it and see what happens? Regards, Steve Mann -- For

Re: using Visual Basics to program Palm OS

2002-12-10 Thread Micholi Chaikin
There are tools available in the API to design UIs at runtime Sorry, I am new at this. What is API? (I presume UI means user interface?) :-) AppForge is the only IDE that uses Visual Basic for the Palm. Sorry - what is an IDE? There is also something called NSBasics (www.nsbasics.com) -

RE: WinSetCoordinateSystem, WinScaleRectangle

2002-12-10 Thread Jeff Wheeler
Arg. Never mind. The code does work. I had had been using FrmAlert() after WinSetCoordinateSystem() in order to monitor the results, and FrmAlert() must reset the screen mode. Once I moved it out of the block, all was well. Sorry for the extra noise. Jeff -- For information on using the

Re: NSBasic

2002-12-10 Thread Jamie Macleod
Why take it off line? This is a palm development thread. I found NSBasic to be very slow myself, thus I skipped it and went to C. I would be interested to see how users are finding the new version. Why don't you want us to know? Jamie George Henne [EMAIL PROTECTED] wrote in message

Re: NSBasic

2002-12-10 Thread Jamie Macleod
Have you tried CaslSoft? It is supposed to compile to native code using the GCC compiler. I would be interested in how good a job it does. Jamie [EMAIL PROTECTED] wrote in message news:104322@palm-dev-forum... NS Basic's speed depends what you're trying to do. If it's heavy CPU crunching,

Re: WinSetCoordinateSystem, WinScaleRectangle

2002-12-10 Thread Mark Wilden
- Original Message - From: Jeff Wheeler [EMAIL PROTECTED] I had had been using FrmAlert() afterWinSetCoordinateSystem() in order to monitor the results Have you looked at the Palm Reporter? -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: NSBasic

2002-12-10 Thread Dustin Davis
There's no reason to take it off-line. You can't convince me that it is fast or that the run-time is small, so there is nothing else really to talk about. I know I'm not using the latest generation of Palm, I currently have a Palm IIIc which isn't quite a dinosaur yet. Most of the people using

RE: WinSetCoordinateSystem, WinScaleRectangle

2002-12-10 Thread Jeff Wheeler
Mark Wildon wrote: Have you looked at the Palm Reporter? No, but I will! This particular test was on an actual device, though, with a release build. Jeff -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: using Visual Basics to program Palm OS [long]

2002-12-10 Thread Matthew Bevan
(If you give a short reply to this, be kind and remove the [long] from the subject :) On December 9, 2002 08:27 pm, Micholi Chaikin wrote: Sorry, I am new at this. What is API? (I presume UI means user interface?) :-) API = Application Programming Interface UI = User Interface (but you

OS 5.0 and SrmReceive

2002-12-10 Thread CLCurrySr
I have a transmitter that transmits serial data to the Palm serial port. My Palm application monitors the serial CTS line with SrmGetStatus to determine if the transmitter has completed transmitting all of its data. The transmitter will toggle the CTS when its has completed transmitting its

Re: NSBasic

2002-12-10 Thread Ed Greenberg
I went to the nsbasic website, but lost interest when I saw that it had a 100K runtime. --On Tuesday, December 10, 2002 1:15 PM -0700 Dustin Davis [EMAIL PROTECTED] wrote: There's no reason to take it off-line. You can't convince me that it is fast or that the run-time is small, so there is

need example of PDB file format

2002-12-10 Thread Kerry Twibell
Hello All, I am in need of creating PDB files to distribute with my application. I do not want them to be created in the code- instead, I want them created in advance, and downloaded (with the app) to the PDA. I've found a few third party tools to create text files or CSV files to PDBs. My

nilEvent and PopUp

2002-12-10 Thread Gonzalo Piano
Hi guys! I have the following problem, I have a form with a PopUp and a List. The PopUp is associated with that List. If in that form I execute a nilEvent, the PopUp stops allowing me to select an item from that List. If I take out the nilEvent, the PopUp works perfectly. I would be pleased

Re: using Visual Basics to program Palm OS

2002-12-10 Thread Laurent THALER
Matthew Bevan a écrit: OrbForms (www.orbworks.com) It looks surprisingly like... Visual Basic, for C. It still uses a runtime module - and there is no excuse for that when you use C. It also seems to be a subset of C (OC?)... PocketC is a nice tool for very quick (and dirty)

Re: need example of PDB file format

2002-12-10 Thread Steve Mann
I've found a few third party tools to create text files or CSV files to PDBs. You might want to take a look at PDB-Def (www.slorevo.com). Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: using Visual Basics to program Palm OS

2002-12-10 Thread Jeremy Dewey
IDE = Integrated Development Environment. Being one of the authors of both PocketC and OrbForms, I have a very biased view. If you are looking for a RAD tool, OrbForms Designer is pretty fast (compared to other non-native compilers), and most importantly is very easy to use. It does not

Re: need example of PDB file format

2002-12-10 Thread Matt Hebley
One option is to create the databases using you application on POSE, extract the PDBs using POSE, and ship them. This may or may not suit your needs. Matt - Original Message - From: Kerry Twibell [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, December 11,

Output to File in Codewarrior

2002-12-10 Thread Robert Purcell
Hi Everyone, I'm currently debugging one of my programs, and it would be very nice to be able to dump data to a file using the C function 'fprinf()'. Codewarrior doesn't seem to recognize this function even with stdio.h included. My program decompresses data and dumps the uncompressed data into

Re: What happened to the winEnterEvent?

2002-12-10 Thread DeVon Fowler
Looks like PalmOS35 send the winEnterEvent followed by a frmOpenEvent. PalmOS5 sends a frmOpenEvent. If frmDrawForm() is executed then a winEnterEvent is sent in response. DeVon Fowler wrote: I'm having difficulty with the message process compatibility between PalmOS5 and PalmOS35. Attempting

Re: using Visual Basics to program Palm OS

2002-12-10 Thread Ron Nicholson
Laurent THALER writes: It still uses a runtime module - and there is no excuse for that when you use C. What percentage of C programs do not contain or use one of: libc stlib stdio PalmOSRuntime_2i_A5.lib MathLib.prc etc. ? BTW: As long as people are plugging their own solutions:

Re: Output to File in Codewarrior

2002-12-10 Thread Ben Combee
At 14:16 2002-12-10 -0800, you wrote: Hi Everyone, I'm currently debugging one of my programs, and it would be very nice to be able to dump data to a file using the C function 'fprinf()'. Codewarrior doesn't seem to recognize this function even with stdio.h included. My program decompresses

Re: Output to File in Codewarrior

2002-12-10 Thread Chris Tutty
From: Robert Purcell [EMAIL PROTECTED] Does anyone know of a way that I can output large amounts of data for debug purposes in Codewarrior? The emulator includes a HostControl.h header that defines a huge stack of functions I've used before to create debug files. Although I have a vague

Re: Output to File in Codewarrior

2002-12-10 Thread Robert Purcell
Ben, You're The Man! :) Thanks for your help. Now, back to debuggingugh! :( -Robert www.bapsoft.com Hi Everyone, I'm currently debugging one of my programs, and it would be very nice to be able to dump data to a file using the C function 'fprinf()'. Codewarrior doesn't seem to

Re: Output to File in Codewarrior

2002-12-10 Thread Steve Mann
Does anyone know of a way that I can output large amounts of data for debug purposes in Codewarrior? You can use the POSE Host Control API to write stuff to the POSE log file. Regards, Steve Mann -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Scroll Bars w/Tables in PalmOS5

2002-12-10 Thread DeVon Fowler
Are there any glue or helper functions to assist using Scroll Bars with a table in Palm OS5? Don't seem to be able to recognize which area of a scroll bar has generated the sclEnterEvent or sclExitEvent without accessing the attr structure. Any ideas would be appreciated. DeVo -- For

Re: About dialer on treo series

2002-12-10 Thread Miken
Please help me! Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: About dialer on treo series

2002-12-10 Thread ScottP
Why not just upgrade your version of Codewarrior to use the 4.0 SDK (or 5.0) rather than copying 4.0 files back to the 3.5sdk. I'm not sure what's in these files, but can't imagine that copying like this is going to work. Especially since if it ever does get past this error message the object

Re: About dialer on treo series

2002-12-10 Thread Oliver
Please help me! So you're getting an error saying that the identifier sysNotifyHelperEvent is unknown? Seems to me you're not including everything you need to. If you're using Windows, the windows exploder has a search feature that lets you 'grep' through files. I just did that and found this

Tungsten T audio bug

2002-12-10 Thread Tim Norman
I'm hoping that someone from Palm can speak about the audio bug on Tungsten T devices. According to http://www.aerodromesoftware.com/faq.html , there is a bug in the Tungsten ROM that causes downsampling. This problem affects my product as well ( www.pocket-tunes.com ) and my customers are

Re: Scroll Bars w/Tables in PalmOS5

2002-12-10 Thread kcorey
On Tue, 2002-12-10 at 22:58, DeVon Fowler wrote: Are there any glue or helper functions to assist using Scroll Bars with a table in Palm OS5? Don't seem to be able to recognize which area of a scroll bar has generated the sclEnterEvent or sclExitEvent without accessing the attr structure.

Palm OS 5.0

2002-12-10 Thread Ai Lee Tang
hi all, Can a PalmOS3.0 Application running on a Handheld with Palm OS5.0 ? rgds, ailee _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus -- For information on using the Palm

Palm OS 5.0 question

2002-12-10 Thread Brad Figler
Is there a list of known bugs with Palm OS 5.0 posted anywhere? I have stumbled across what appears to be a bug and I want to know if anyone else has seen the issue. I have, most definitely, stumbled across a discrepancy between 4.0 and 5.0. Is there a place to report issues like this? Thanks

Re: About dialer on treo series

2002-12-10 Thread Miken
Hi,all,Thanks! I have passed,because I don't select Always Search User Paths,and thanks. Now,I find a new problem.After I call dialer,and finish the call,I want to return my program UI.How to do? Thanks again. begin 666 1.jpg M_]C_X `02D9)1@`!`0$!+ $L``#_VP!#``@!@!0@'!P)0@*#!0-# L+

Re: GSMLibrary usage

2002-12-10 Thread Dragomir Goranov
I have downloaded the GSMLibrary from Handspring's site. However there is no documentation or sample code to show how to use it. There is sample code and docs. You need to look around the site a bit. You might also want to post this question on the HandSpring developers forum. I searched

Re: Retrieving floats

2002-12-10 Thread Henk Jonas
Suman, Don't you have a DataInputStream? Call float value = ((DataInputStream) in).readFloat(); It's all a Java language problem. Henk Suman wrote: hi... i am writing a conduit in which i have to fetch the records from the palm database (.pdb file) and place them in a database. i was