IrDA to RS-232 adaptors? or...

2002-03-18 Thread Spazm 24
Hi Again. So the boss wants to print and communicate with another serial gadget simultaneously with the m505. I told him the only way I can think of is to use an IR printer. He said fine., and I coded it. Now he says IR won't do because we want to use the printers we already have in stock.

PC-Lint for CW8

2002-03-18 Thread Akhilesh Singh
Hi, I have PC-Lint 7.5 and want to lint CW8 C/C++ code but I am running into trouble. Has anyone done it before? Can someone guide me. Thanks -AS -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Bulk bitmap export from Constructor

2002-03-18 Thread Chris Tutty
Hi, I'm moving some of our resources out of Constructor to allow us to manage the international versions more easily and while the string lists and the like exported fairly easily using DeRez I can't find any way to export the bitmaps. I've searched the palm-dev-forum and the web but I get

announcing EventAnalyzerHack

2002-03-18 Thread Paul Nevai
Dear Fellow Developers: EventAnalyzerHack shows how the Palm OS generates events. I found it indispensable for both application and hack development. I hope that you will find it useful too. You can get it from www.paulcomputing.com, www.palmgear.com/PaulComputing, and

Re: Using MathLib

2002-03-18 Thread fabricio
Ok, thanks. But can you tell me the URL? Fabrício de Paula - Original Message - From: Ben Combee [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Saturday, March 16, 2002 4:00 AM Subject: Re: Using MathLib I just wanna use functions from

Locking the Device at a Preset Time or after being inActive for xx duration?

2002-03-18 Thread Yuva Kumar R
Hi All, I want to lock my device at a Preset Time or after being left inactive for some duration say 10seconds. How can I do that programmatically? Any sample codes available, please. Thanks a lot. Regards Yuva -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: Using MathLib

2002-03-18 Thread John Marshall
On Mon, Mar 18, 2002 at 09:51:25AM -0300, fabricio wrote: If you get a current version of MathLib from Rick Greham's page, you'll have code that has been updated to the current SDKs. Ok, thanks. But can you tell me the URL? http://www.google.com/search?q=MathLibbtnI= John Rick who? :-)

Definite ... problem! (Doh!)

2002-03-18 Thread Joe Siebenmann
Hi All, Sorry, after days of head-pounding and hair-pulling I solved the 'Object not in form' problem Doh! ;) Thanks, Joe Siebenmann __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- For

Re: Accessing more than 1 open databases?

2002-03-18 Thread Dave Lippincott
If you use DmGetNextDatabaseByTypeCreator to retrieve the local ID, you can setup different ID pointers and have more than one DB open that uses the same creator ID and Type. - Original Message - From: Brian Smith [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Sunday,

OT: PalmSource Europe split?

2002-03-18 Thread Ralf Dietrich
I heard rumors on the CeBIT about the European PalmSource 2002 would split in 3 separate events in separate cities. As consequence, developers couldn't exchange knowledge in these small, school-alike lectures, IMHO. Which plans exist? -- For information on using the Palm Developer Forums, or

Printing doubles

2002-03-18 Thread fabricio
How could I print doubles? Here's my code... ... double pp,seno; pp = 90.7; seno = round(pp); StrPrintF(xxx, %.4g = %.4g,pp,seno); FrmCustomAlert(msgAviso,xxx,,); // it doesn't print my doubles correctly... ... Fabrício de Paula -- For information on using the Palm

Re: OT: PalmSource Europe split?

2002-03-18 Thread John Marshall
On Mon, Mar 18, 2002 at 02:57:33PM +0100, Ralf Dietrich wrote: I heard rumors on the CeBIT about the European PalmSource 2002 would split in 3 separate events in separate cities. No rumour. See http://www.palmsource.com/events/europe/europe.html John -- For information on using the

Re: Printing doubles

2002-03-18 Thread Brian Smith
On Mon, 18 Mar 2002, fabricio wrote: How could I print doubles? Here's my code... StrPrintF doesn't support printing floats or doubles. Here's one function that's out there for that... http://tangentsoft.net/palmfaq/src/pdouble.c

Upgrade from Palm OS 3.3 to Palm 3.5 or above?

2002-03-18 Thread gm000979
Hi all, I am working with Java HQ but I can not run this application on my palm device: a PalmIIIe. Does anybody know if I can upgrade my device OS to enable it to run J2ME applications? And if yes...how to do it? Thanks and Regards Lara (MSc)

RE: Upgrade from Palm OS 3.3 to Palm 3.5 or above?

2002-03-18 Thread Scott Johnson
From: [EMAIL PROTECTED] Does anybody know if I can upgrade my [Palm IIIe] device OS to enable it to run J2ME applications? And if yes...how to do it? I know nothing of J2ME, but in general many Palm devices have flash memory and can be upgraded. However the IIIe does not and cannot. See:

Re: Getting the Stack Pointer

2002-03-18 Thread John Marshall
On Mon, Mar 18, 2002 at 04:08:27PM -, Russell K Bulmer wrote: So, does anyone know of a way in C/C++ to get the stack pointer? void *what_is_a_stack_pointer_anyway () { int insert_imagination_here; return insert_imagination_here; } John -- For information on using the Palm

RE: Re: Getting the Stack Pointer

2002-03-18 Thread Russell K Bulmer
So, does anyone know of a way in C/C++ to get the stack pointer? void *what_is_a_stack_pointer_anyway () { int insert_imagination_here; return insert_imagination_here; } Ahem - yes - obvious when you think about it isn't it - thanks for your help! Cheers Russell -- For information on

Re: Null string happened on real palm but 'ok' in emulator

2002-03-18 Thread Mark Smith
Low Pui Kuen [EMAIL PROTECTED] wrote: cL[i] = MemPtrNew(StrLen(ReadRecord(className, i) + 1)); This allocates 2 bytes less than you need because the + 1 is misplaced. You're doing the equivalent of this: char *p = abc; StrLen(p + 1); // returns Strlen(bc), which is 2 -- For

NetSocketAddrRawType

2002-03-18 Thread Carl Smith
I was wondering if anyone has worked with raw sockets and/or could help me with the following problem. I am trying to bind a raw/raw socket, so I can build the MAC header, and am running into trouble trying to use the NetSocketAddrRawType in the way the documentation, from Palm, suggest.

Re: region datares is full error when using PRC Tools

2002-03-18 Thread Ben Combee
Eugene Mayevski [EMAIL PROTECTED] wrote in message news:80172@palm-dev-forum... Hello! I get region datares is full error when trying to link the multi-segment application with PRC Tools. Interesting is that CodeWarrior links the same application flawlessly. Any tips are much appresiated.

Re: Bulk bitmap export from Constructor

2002-03-18 Thread Ben Combee
Chris Tutty [EMAIL PROTECTED] wrote in message news:80212@palm-dev-forum... Hi, I'm moving some of our resources out of Constructor to allow us to manage the international versions more easily and while the string lists and the like exported fairly easily using DeRez I can't find any way

Re: Getting the Stack Pointer

2002-03-18 Thread Ben Combee
John Marshall [EMAIL PROTECTED] wrote in message news:80242@palm-dev-forum... On Mon, Mar 18, 2002 at 04:08:27PM -, Russell K Bulmer wrote: So, does anyone know of a way in C/C++ to get the stack pointer? void *what_is_a_stack_pointer_anyway () { int insert_imagination_here;

Re: rcp to rsrc

2002-03-18 Thread Ben Combee
James Barwick [EMAIL PROTECTED] wrote in message news:80166@palm-dev-forum... Anyone have a tool to go from rcp to rsrc? I'm considering moving all my rcp resources to CW. Any issues? (I do have the pilrc plugin for CW...works pretty well, but still don't have a good localization/overlay

Ann: PilRC CodeWarrior Plugin 2.9p2

2002-03-18 Thread Neil Rhodes
This is an announcement of a new version of the PilRC plugin to CodeWarrior (for both Mac and Windows). Download from http://www.calliopeinc.com/pilrcplugin.html Version 2.9p2 Per Aaron's advice, backed out of 2.9p3 to a more stable 2.9p2. -- Neil Rhodes [EMAIL PROTECTED]

Re: Getting the Stack Pointer

2002-03-18 Thread John Marshall
On Mon, Mar 18, 2002 at 11:12:06AM -0600, Ben Combee wrote: On Mon, Mar 18, 2002 at 04:08:27PM -, Russell K Bulmer wrote: So, does anyone know of a way in C/C++ to get the stack pointer? [...] Or, in CodeWarrior compiler speak, UInt32 BringMeTheHeadOfAlfredoStackPointer(void) = 0x200E;

MathLib Trigonometry Parameters

2002-03-18 Thread fabricio
Cool!!! I got MathLib and open/close it in my app. Now I wanna know if the angles are in radian or degrees, and if it's in radians, how can I get the PI value? Fabrício de Paula -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: MathLib Trigonometry Parameters

2002-03-18 Thread Pascal Levy
Cool!!! I got MathLib and open/close it in my app. Now I wanna know if the angles are in radian or degrees, and if it's in radians, how can I get the PI value? 3.1415926535897932 should be enough... Pascal -- For information on using the Palm Developer Forums, or to unsubscribe, please

DmGetNextDatabaseByTypeCreator and VFS

2002-03-18 Thread Scott Gruby
A co-worker of mine claims that he installed his application on an m505's SD card and was able to use DmGetNextDatabaseByTypeCreator to find his databases (that he also stored on the SD card) and open them using DmOpenDatabase. The Palm desktop, as I understand it, will install files that you

Re: MathLib Trigonometry Parameters

2002-03-18 Thread fabricio
There's not a function or a #define for PI value in MathLib? Is it what you means? Man, I can't believe that hehehehhh... Ok, let's gonna put a #define in my apps... Fabrício de Paula - Original Message - From: Pascal Levy [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL

Re: Getting the Stack Pointer

2002-03-18 Thread Neil Rhodes
From page 183 of Palm OS Programming: the Developer's Guide (used with permission): UInt32 GetStackSpaceUsed() { MemPtr bottomOfStack; MemPtr topOfStack; Uint16 aStackBasedVariable; SysGetStackInfo(topOfStack, bottomOfStack); return (UInt32) Abs((char *) aStackBasedVariable -

RE: Definite 'Object not in form' problem!

2002-03-18 Thread Kevin OKeefe
Very unlikely that it's a problem in the API or compiler. Much more likely it is a problem with your code: Missing break in a switch? Using FrmCopyLabel to overwrite a label with a label that is too big? It sounds to me like you are doing something while initializing the form that is

Re: Getting the Stack Pointer

2002-03-18 Thread Aaron Ardiri
On Mon, 18 Mar 2002, Neil Rhodes wrote: UInt32 GetStackSpaceUsed() { MemPtr bottomOfStack; MemPtr topOfStack; Uint16 aStackBasedVariable; UInt16 i hope :) // az [EMAIL PROTECTED] http://www.ardiri.com/ -- For information on using the Palm Developer Forums, or to unsubscribe,

RE: Locking the Device at a Preset Time or after being inActive f or xx duration?

2002-03-18 Thread Peter Epstein
If I recall, this capability is built into PalmOS 4.0. -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Database Search with Packed Records

2002-03-18 Thread Danny Epstein
I am wondering how fast search would be done with packed records... struct{ int iD; char * Text[]; }packedProduct; struct{ int ID; char* SKU; char* UPC; }Product; It looks like your packed records are stored as follows: - 2 bytes for ID - several bytes for

RE: Resource vs. normal databases

2002-03-18 Thread Danny Epstein
is there any additional overhead (as far as dynamic memory consumed) for a resource database as opposed to a regular database? regular - record I don't think opening a resource database consumes any more dynamic heap than opening a record database. However, every time you access a resource,

CodeWarrior problem under MacOS X

2002-03-18 Thread José Rodríguez Ruibal
Hi, I've just installed CodeWarrior 8 for PalmOS under MacOS X, and it seems that the PalmRez Post Linker does not work and, when I compile (make or even debug) my project, CodeWarrior crashes... Does anyone had this problem? What's wrong? Do you know if there is a know problems list for CW

RE: Determining whether the power-on password is set

2002-03-18 Thread Danny Epstein
Is there a way to determine whether the user has set the system password to trigger on power-on? Look for prefAutoLockType and SecurityAutoLockType in Preferences.h. These are new in Palm OS 4.0. -- Danny PalmSource -- For information on using the Palm Developer Forums, or to unsubscribe,

RE: Resource vs. normal databases

2002-03-18 Thread Brian Smith
On Mon, 18 Mar 2002, Danny Epstein wrote: I don't think opening a resource database consumes any more dynamic heap than opening a record database. However, every time you access a resource, the system searches through all the open databases to find it. It can presumably skip over record

RE: Multiple Resource Files

2002-03-18 Thread Peter Epstein
We're getting around to upgrading. Really we are ;-) Anyway, that's just one more reason that using multiple resource files is just fine. -- Peter Epstein -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Difference between packed and unpacked databases.

2002-03-18 Thread Dyk Corman
Hi I read so much about packing a structure that has more than one textfield before saving it in a database. Can anybody try to explain me how much memory this saves? If I had a structure struct{ UInt16 id char * field1 char* field2 }test and the text strings in field 1 and two

RE: Difference between packed and unpacked databases.

2002-03-18 Thread Danny Epstein
struct{ UInt16 id char * field1 char* field2 }test This structure has pointers for field1 and field2, so you'd need to store the actual contents of these fields somewhere. You wouldn't want to store a struct like this directly in a database record, but it could be useful for a

RE: Difference between packed and unpacked databases.

2002-03-18 Thread Schettino, John
[What Danny Said ;)] packed vs unpacked means (to me anyway) unpacked: struct{ UInt16 id char field1[MAXLEN1] char field2[MAXLEN2] }test This struct can be read/written directly to db records, but wastes (quite a bit of) storage memory. It is a little faster for read/write/search -

Re: DmGetNextDatabaseByTypeCreator and VFS

2002-03-18 Thread Dave Carrigan
Scott Gruby [EMAIL PROTECTED] writes: A co-worker of mine claims that he installed his application on an m505's SD card and was able to use DmGetNextDatabaseByTypeCreator to find his databases (that he also stored on the SD card) and open them using DmOpenDatabase. I think that your

Unknown version Error

2002-03-18 Thread Sailesh Chaudhary
Hi I have upgraded one program from PalmOS 3.0 to PalmOS 4.1,but when i load it on emulator it gives me the error like: UIAppShell[Unknown Version]Just changed the emulated program counter to 0x8003A1DA. This address is invalid because it's in neither ROM nor RAM. Can anybody

Re: region datares is full error when using PRC Tools

2002-03-18 Thread Eugene Mayevski
CodeWarrior's linker uses up to 64K in the data segment, while PRC-Tools will only use 32K. This was discussed last week on the tools-dev forum. Thank you for the tip. Eugene -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Unknown version Error

2002-03-18 Thread Joe
--- Sailesh Chaudhary [EMAIL PROTECTED] wrote: I have upgraded one program from PalmOS 3.0 to PalmOS 4.1, but when i load it on emulator it gives me the error like: UIAppShell[Unknown Version]Just changed the emulated program counter to 0x8003A1DA. This address is invalid

RE: Unknown version Error

2002-03-18 Thread Sailesh Chaudhary
No Joe i have not used any thing like this actually when application is loaded it starts giving the error some times before clicking on icon. thanks shailesh -Original Message- From: Joe [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:57 PM To: Palm Developer Forum Subject:

Re: IrDA to RS-232 adaptors? or...

2002-03-18 Thread Spazm 24
I guess Simultaneously was not the best choice of words. RS-232 can be ignored while printing. We just want to avoid having to physically move the serial cable back and forth whever we want to print. Also, the Palm is cradled in this application, so IR line-of-site seems a little tricky to

RE: What prevents draw APIs from working?

2002-03-18 Thread Peter Epstein
Well, a few things comes to mind: 1) WinDrawChars uses the textColor rather than the foreColor. Have you called WinSetForeColor? Perhaps the foreColor is the same as the backColor? 2) What is rP? If the extent is zero or negative in either x or y, then it may not draw. 3) Verify your clipping

EXTENDING BEYOND THE MAX SEGMENT

2002-03-18 Thread Kim Hock NG
Hi there! I am aware that there were discussions about inter segment jumps on Code Warrior, I would like to do large programs on gcc and PRC tools, would appreciate help there on how to do the intersegment jumps which restricts Palm routine calls within the 32 K or is it 64 K boundary Any

Power off/on detection

2002-03-18 Thread Richard Bell
How do I detect when the PDA has powered down (auto or manually) and when it powers back on? I've got an application that needs to put up security if the PDA has been inactive for more than a given amount of time. Thanks Richard -- For information on using the Palm Developer Forums, or to

Re: Bulk bitmap export from Constructor

2002-03-18 Thread Chris Tutty
From: Ben Combee [EMAIL PROTECTED] Take your PRC file, then use PRC2BIN (http://www.massena.com/darrin/pilot/tanda.htm) to convert it to a collection of BIN files, one per resource. Then use the netpbm package to convert the Palm OS bitmaps to Windows BMPs. (I don't have immediate knowledge

Beaming app deletes data

2002-03-18 Thread The Grand Poohbah
I added a beam me feature to my application like the example in Beamer.c. When I beam to another Palm OS handheld that already has a copy of the application, the database is replaced depending on the Palm OS version in the receiving handheld. If the receiving handheld has Palm OS 3.1.1, the

RE: Beaming app deletes data

2002-03-18 Thread Danny Epstein
When I beam to another Palm OS handheld that already has a copy of the application, the database is replaced depending on the Palm OS version in the receiving handheld. I think I reported this bug many years ago. :) See this old thread:

RE: Beaming app deletes data

2002-03-18 Thread Peter Epstein
I remember hitting this same bug a couple of years ago. Annoying one isn't it? When the Launcher asks the user whether it's okay to replace the existing app, and the user says yeah, go ahead, the Launcher was deleting not just the app, but all associated databases as well. This means a user who

Re: Power off/on detection

2002-03-18 Thread Bob Withers
At 06:31 PM 3/18/2002 -0600, Richard Bell wrote: How do I detect when the PDA has powered down (auto or manually) and when it powers back on? I've got an application that needs to put up security if the PDA has been inactive for more than a given amount of time. In PilotMain you receive the

Database record design questions

2002-03-18 Thread Jason Freund
Hi, I've read through a lot of the stuff on Memory, Resource, and Data management, but since I'm brand new to this section of the API, and my app's requirements are somewhat complex, I'd appreciate any advice from seasoned Dm programmers as to how I should design and build my databases. ===My

RE: Database record design questions

2002-03-18 Thread Danny Epstein
Some comments, in no particular order... I understand where the single-file requirement is coming from, but it may not be worth it. You might also consider a self-extracting archive, or have your app extract the data file. You could even compress the data file. You can use a single big database

Re: What prevents draw APIs from working?

2002-03-18 Thread Mark A. Peters
It turned out to be the cornerDiam parameter to the WinXXXRectangle API's that was the problem. I figured I could use roundFrame as the value to get rounded corners, but it turns out that a value of 5 (there isn't an SDK symbol for that one) is the correct value. As soon as I changed to 5,

RE: Unknown version Error

2002-03-18 Thread Low Pui Kuen
--- Sailesh Chaudhary [EMAIL PROTECTED] wrote: I have upgraded one program from PalmOS 3.0 to PalmOS 4.1, but when i load it on emulator it gives me the error like: UIAppShell[Unknown Version]Just changed the emulated program counter to 0x8003A1DA. This address is invalid

Running Web clipping application

2002-03-18 Thread Rakesh D. V
Hi, I am developing a web clipping application. But when I run PQA, it doesn't find my server... this is because my server runs on Intranet and is NOT hosted on the web. So palm.net proxy cannot find my machine. How should I go about with this. Is it that I have to host my server on the web

call my application ?

2002-03-18 Thread Hau Ho
Hi all, I'm tring to build a conduit that could call my application on the palm by SyncCallRemoteModule function, but i don't know how i can do it ? thank you ! _ Do You Yahoo!? Get your free yahoo.com address at http://mail.yahoo.com