chrDelete in palm

2003-12-01 Thread Dhanashri
Hello All , Is chrDelete command char disfunctional in palm os 4.1 5.0 ? We enqueued it as follows : EvtEnqueueKey(chrDelete,0,0); But it does not act upon it . The OS simply ignores this char . Is something missing here ? Please advise asap . Thanks regards , Dhanashri . -- For

High Density API strange behavior

2003-12-01 Thread Max Vlasov
Hello! I had some problems when implementing High Density API in an application that previously was implemented for Sony High Resolution API. The Simulator unexpectedly was being shut down without any warning. I did a very simple application that reproduce the behavior. So the following code is

T|T3 DIA: the 2 prc really needed?

2003-12-01 Thread Edmund
Hi, I enhanced my program to support DIA for TT3 and Sony's CLie, according to the sample from palmsource, SampleCollapse_R2. It works perfectly for TT3 Simulator (downloaded from palmone) and Sony's Simulators (both normal one and landscape one). For TT3 Simulator, I have not installed the two

Re: chrDelete in palm

2003-12-01 Thread Dhanashri
Does anyone have answer to this question ?? please reply asap . We need the info urgently . - Original Message - From: Dhanashri [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, December 01, 2003 1:42 PM Subject: chrDelete in palm Hello All , Is chrDelete

RE: Is there a NaN Function?

2003-12-01 Thread Caspar Heiden, vd
I also checked the numeric attribute for my field (using Constructor), and although the field would allow commas (,), it would not allow a decimal point to be input into the field once I loaded the program to my palm (it would allow a decimal point on the emulator). Any idea why that

Change stack size in PiLRC

2003-12-01 Thread Caspar Heiden, vd
You can control the stack size with the pref - Stack Size setting in constructor. Could somebody please tell me how to do this in PiLRC? thx, Caspar -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: T|T3 DIA: the 2 prc really needed?

2003-12-01 Thread Simon Dick
On Mon, 2003-12-01 at 09:39, Edmund wrote: Hi, I enhanced my program to support DIA for TT3 and Sony's CLie, according to the sample from palmsource, SampleCollapse_R2. It works perfectly for TT3 Simulator (downloaded from palmone) and Sony's Simulators (both normal one and landscape one).

Re: jpeg

2003-12-01 Thread Anders Rahm-Nilzon
ok, it sounds very hard and takes alot of time and that is something I donn't have right now, but is it possible to have .png files in your application then ? Thank you so much for your time, I'm really glad for all help you give me !!! \Anders R-N -- For information on using the Palm

color depths PNG

2003-12-01 Thread Tomas Kucera
Hi, I have an application which receives a PNG picture from a server. Then I display it on screen using PiNGer from zboxz. The problem is that I want use some other controls (menu buttons) at the time. Unfortunatelly when I change colortable to the one corresponding with png picture it also

Re: chrDelete in palm

2003-12-01 Thread Luc Le Blanc
I don't know about chrDelete, I use chrBackspace and it works. Do they have the same purpose? -- Luc Le Blanc Dhanashri a écrit : Does anyone have answer to this question ?? please reply asap . We need the info urgently . - Original Message - From: Dhanashri [EMAIL PROTECTED]

Extraneous char on T3 Simulator

2003-12-01 Thread Gordon, Douglas
When I run my app on the latest T3 Simulator (and only on that simulator), in one of my full-screen modal dialogs I get a letter G near the upper left corner and can't figure out where it's coming from. It seems to be periodically refreshed. I have a function that draws a line on the screen

ARM shared library

2003-12-01 Thread Abhishek Tomar, Noida
Hi, I was going through Targeting_Palm_OS.pdf. It specifies at one place that we can build ARM shared libraries (along with 68K shared libraries). But when I follow the steps for developing a shared library, I do not see option for ARM. There is option just for 68K shared library. I am using

a Pilrc warning question

2003-12-01 Thread Paul Nevai
How can I make sure that Pilrc will not generate this type 'tSLT' in my .rcp file? I know I can suppress the warning in my CodeWarrior settings but I don't want to do that. Instead, I would like not to generate this 'tSLT' at all. Is it possible? Warning : The resource type 'tSLT' (0x74534C54)

Re: .png

2003-12-01 Thread Jan Slodicka
I don't know if there is any Palm port of the png library - I just want to warn you that png requires huge amount of own code + zlib. Rough estimation 70+ K of extra code (multiply by 2 if you want support both ARM and motorola). Otherwise free portable png libs exist, but expect similar troubles

Re: Change stack size in PiLRC

2003-12-01 Thread John Marshall
Caspar Heiden, vd [EMAIL PROTECTED] wrote: You can control the stack size with the pref - Stack Size setting in constructor. Could somebody please tell me how to do this in PiLRC? It's not particularly obvious why you would want to. If a stack setting resource is going to have any effect,

Re: Why new [] works in Debug but not Release (was: Allocating memory for C++ objects)

2003-12-01 Thread Matthew Henry
The new[] expansion is deferred until the end of the source file. It then uses whatever pragmas are in effect at that time. Ben, Most of the time that indeed appears to be true. But it seems to me that is not always true. For example, I have a .cpp file in a library that looks like this:

Re: Tealscript crashes

2003-12-01 Thread Matthew Henry
Jan Slodicka [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] After several days I got a response from Tealscript. Their tip is the stack overflow. While I don't believe too much into this explanation (maybe just because I don't know what they do), it opens an interesting question what

sending binary stream of data...

2003-12-01 Thread sopta
Hello, I need to send some data to server using POST method. Problem is that the server doesn't parse the parametres standard way, but rather expects them in this format (in data stream after header is sent): UUstring_oneUUstring_two,... UU = two-byte integer with length of data How should I

STRING header file in CW and atof

2003-12-01 Thread Lawrence Lau
After I had included string header file in my code developing in CW v9.0 in Windows XP and Visual Studio 6.0 (VC98), an error occurred: -preprocessor error directive -Only Mac or Win32 targets supported in Sting header file Does anyone know why? And, how to fix it? How can I use atof or similar

new/delete and exception handling

2003-12-01 Thread Mark Lussier
Codewarrior 9.1, latest SDK 5 From what I understand, even though I do not implement exception handling in my code, and have it turned off for my project, the new and delete operator are still generating exceptions that go unhandled. So it would seem I must write my own versions of new and

Re: Debug with simulator

2003-12-01 Thread Larry
Hi, Ben, Thanks for the reply, On Nov.28, I could launch the simulator from the IDE, but the problem then was it didn't stop at the break points I set. Today I run the program again, it gives me the following error i:\ripple\arm\core\emul68k\srcslowemu\run68k.c, Line:2258, Invalid write to

Using CW 9.2 and straight C Is there Error Trapping

2003-12-01 Thread Muriph, Michael
I have used VB, C# and awhile ago wrote some programs using MS VC. In all of these places I could write code that effectively did this. Try { or VB like on error resume next hResult = sysapi(...) or foo.doSomething catch { or if err.number 0 Using C

Re: Change stack size in PiLRC

2003-12-01 Thread Ben Combee
At 08:48 AM 12/1/2003, John Marshall wrote: If a stack setting resource is going to have any effect, it's because it's sitting alongside some executable code in a resource database that happens to be an application. That executable code came from somewhere. Most likely it came from Code Warrior,

Re: new/delete and exception handling

2003-12-01 Thread Ben Combee
At 10:53 AM 12/1/2003, Mark Lussier wrote: Codewarrior 9.1, latest SDK 5 Update to CW 9.2 when you get a chance. From what I understand, even though I do not implement exception handling in my code, and have it turned off for my project, the new and delete operator are still generating exceptions

Re: ARM shared library

2003-12-01 Thread Ben Combee
At 08:29 AM 12/1/2003, Abhishek Tomar, Noida wrote: Hi, I was going through Targeting_Palm_OS.pdf. It specifies at one place that we can build ARM shared libraries (along with 68K shared libraries). But when I follow the steps for developing a shared library, I do not see option for ARM. There

Re: a Pilrc warning question

2003-12-01 Thread Ben Combee
At 08:35 AM 12/1/2003, Paul Nevai wrote: How can I make sure that Pilrc will not generate this type 'tSLT' in my .rcp file? I know I can suppress the warning in my CodeWarrior settings but I don't want to do that. Instead, I would like not to generate this 'tSLT' at all. Is it possible? Warning :

Errors While Trying To Free Memory For Fields

2003-12-01 Thread Mike
I'm using the code found on Palm's Programming Recipes page: http://www.palmos.com/dev/support/docs/recipes/fields_with_static_text.html My form has 2 sets of 6 fields, one set are text descriptions and the other set are their associated values. Here's how I initialize the fields, again using

Re: STRING header file in CW and atof

2003-12-01 Thread Dave Lippincott
The Palm APIs does not support formatting of floating point numbers to strings. You will have to write your own code to do so. However, plenty of developers (myself included) had the same issues early on. A search of past posts will get you several examples you could use. There are also a few

Re: Using CW 9.2 and straight C Is there Error Trapping

2003-12-01 Thread Matthew Henry
Using C for the Palm the best I can do is diligently check the returns from all the functions?? You can can also use ErrTry/ErrThrow/ErrCatch. However, they are almost entirely useless as it doesn't call destructors. Ok, you don't have destructors in C, but the point is you won't get any

Re: Using CW 9.2 and straight C Is there Error Trapping

2003-12-01 Thread Ben Combee
At 11:17 AM 12/1/2003, Muriph, Michael wrote: I have used VB, C# and awhile ago wrote some programs using MS VC. In all of these places I could write code that effectively did this. Try { or VB like on error resume next hResult = sysapi(...) or foo.doSomething

Re: Extraneous char on T3 Simulator

2003-12-01 Thread Matthew Henry
I don't own a T3, but I sent a copy of the app to one of my beta testers and luckily he does not see anything unusual on the screen. Anyone know where this might be coming from? Strange that it only appears when this particular form is active. The T3 simulator always does that. I think it's been

Re: Using CW 9.2 and straight C Is there Error Trapping

2003-12-01 Thread Ben Combee
At 11:44 AM 12/1/2003, Matthew Henry wrote: Even in C++, you can't really use try and catch or you will overload the first segment. The only reasonable solution, in C or C++, is to check return codes. IMHO, of course. With CW, you overload the data segment, not the first code segment. It's

Re: Using CW 9.2 and straight C Is there Error Trapping

2003-12-01 Thread Michael Yam
I do use the ErrTry/ErrThrow/ErrCatch macros. They work well enough for fatal errors. I remember an old but very good article on this subject. See HandHeld Systems Magazine, July/August 1998 issue. It's no longer publishing, but the article was written by Ken Krugler. --Mike Y. On Mon, 1

problem with LstSetSelection function

2003-12-01 Thread Zechner Christian
Hello! I have a problem with LstSetSelection. I can use this function with Palm m505 emulator without problem, but when I use this function with Palm Vx emulator, I can't select 2999 item or more. In LstSetListChoices I put 3300. Why? Thanks. -- For information on using the Palm Developer

publick acknowledge

2003-12-01 Thread Andres Ramirez
Aaron Wrote: some of these developers have turned into very professional developers (pity they dont acknolwedge that) :) Yes, Right I am one of them This is a good time for saying thanks it is gonna be in alfabetical order, not other order :P Well i am a palm programmer since 2000 I have get

Re: publick acknowledge

2003-12-01 Thread Aaron Ardiri
ps:If sometime we meet, the bill is mine :) PalmSource events - most of us turn up *g* beer tabs go out of control, especially if the event is held in europe. oktoberfest this year was... memorial.. :) 11L of beer later *g* --- Aaron Ardiri [EMAIL PROTECTED]

Re: problem with LstSetSelection function

2003-12-01 Thread Dave Lippincott
My guess would be you're running out of memory. Are you getting an error that may be able to tell you what is going wrong. - Original Message - From: Zechner Christian [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Monday, December 01, 2003 1:41 PM Subject: problem

Re: publick acknowledge

2003-12-01 Thread kcorey
On Mon, 2003-12-01 at 19:02, Aaron Ardiri wrote: ps:If sometime we meet, the bill is mine :) PalmSource events - most of us turn up *g* beer tabs go out of control, especially if the event is held in europe. oktoberfest this year was... memorial.. :) 11L of beer later *g* What an ironic

Re: publick acknowledge

2003-12-01 Thread Aaron Ardiri
ps:If sometime we meet, the bill is mine :) PalmSource events - most of us turn up *g* beer tabs go out of control, especially if the event is held in europe. oktoberfest this year was... memorial.. :) 11L of beer later *g* What an ironic choice of words! The next morning you

The BIG FrmRemoveObject() problem returns!!!

2003-12-01 Thread Etienne Fortin
I never encountered this behavior before but converting my apps to work on PalmOS 5 seems to have some problems involved... Anyway, my apps work well with PalmOS 4.1. I tested it under PalmSim (standard, no device in particular) and it works great too... Now with PalmSim for Clié TJ25, it doesn't

Debug PNO stationary on simulator

2003-12-01 Thread Chris Apers
Hi, I'd like to make some ARMlets using the PNO Stationary but failed to compile it as a dll using infos from Palm website about OS5 programming and testing. Is there any way to build (at least) a dll with a code based on PACEInterface and debug it on simulator ? Thanks Chris -- For

CField Problem with POL

2003-12-01 Thread Pablo Martin Vera
I´ve got a problem with a CField control, it´s a non editable control and I write it by code using DDX_Text funcion I´m calling the form wich contain the field in a modal way. When I close it the text of the cfield remains in the screen. So I see it in the calling form. Why?? I´ve got several

Re: publick acknowledge

2003-12-01 Thread John Marshall
kcorey [EMAIL PROTECTED] wrote: I know I felt delicate the next morning after just 2 beers (maybe 3?)...I can't imagine what your head must have felt like. And as Ken knows I was feeling rather delicate too, as was the carpet. :-) Thanks, Andrés, these sorts of emails are much appreciated!

Re: CField Problem with POL

2003-12-01 Thread Matthew Henry
Pablo Martin Vera [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I´ve got a problem with a CField control, it´s a non editable control and I write it by code using DDX_Text funcion I´m calling the form wich contain the field in a modal way. When I close it the text of the cfield

Re: problem with LstSetSelection function

2003-12-01 Thread Matthew Henry
Zechner Christian [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello! I have a problem with LstSetSelection. I can use this function with Palm m505 emulator without problem, but when I use this function with Palm Vx emulator, I can't select 2999 item or more. In LstSetListChoices

Identifying precisely a CPU on a Palm device

2003-12-01 Thread Etienne Fortin
In PalmOS, a call to FtrGet(...) can gets you the processor currently used. The problem with that function is that it only returns the processor generation (ARM920T, DragonBall EZ, ARM925, ...) but not the CPU manufacturer. This information can be important when doing hardware specific stuff. The

empty clipping rectangles

2003-12-01 Thread Alexander R. Pruss
Are all PalmOS versions supposed to support WinSetClip() with an empty clipping rectangle (one of the extents set to zero)? Plucker's been crashing on OS 3.5 Visors, and the crash is fixed when one forestalls WinSetClip() calls with empty clipping rectangles. Is this a bug in the OS 3.5 Visors,

RE: WinDrawChar problem with some high ascii

2003-12-01 Thread Ken Krugler
At 05:51 AM 11/24/2003, Jeremy wrote: I'm having a strange problem with WinDrawChar. It works fine with other characters in stdFont, but with some of the less common characters such as '=B5' and '=BC', I get the following error: called SysFatalAlert with the message: TextMgr.cpp, Line 2723,

PQA and PalmOS 5 / wildcard SSL certificates

2003-12-01 Thread Noah Hornick
I've got two problems right now with a PQA (Web Clipping Application): First is that it doesn't work at all on PalmOS 5 - clicking on this icon gives an error message with the text (3402)[bluetie.pqa]. There's no explanation offered, but I found a mention of someone getting the same error

Re: PQA and PalmOS 5 / wildcard SSL certificates

2003-12-01 Thread Ben Combee
At 04:58 PM 12/1/2003, Noah Hornick wrote: I've got two problems right now with a PQA (Web Clipping Application): First is that it doesn't work at all on PalmOS 5 - clicking on this icon gives an error message with the text (3402)[bluetie.pqa]. There's no explanation offered, but I found a

PILRC: Density-2 abmp vs Tbmp ... bug?

2003-12-01 Thread Daniel Seifert
Hi, I have a BITMAPFAMILYEX (low/highres image) which I draw to the screen using WinDrawBitmap. What I notice is that I can not have the BITMAPFAMILYEX in little endian mode (-LE32 switch at pilrc) without all the colors getting seriously messed up. .c: bmpH = DmGet1Resource('abmp',

Re: PILRC: Density-2 abmp vs Tbmp ... bug?

2003-12-01 Thread Ben Combee
At 05:21 PM 12/1/2003, Daniel Seifert wrote: Hi, I have a BITMAPFAMILYEX (low/highres image) which I draw to the screen using WinDrawBitmap. What I notice is that I can not have the BITMAPFAMILYEX in little endian mode (-LE32 switch at pilrc) without all the colors getting seriously messed up.

Re: PILRC: Density-2 abmp vs Tbmp ... bug?

2003-12-01 Thread Daniel Seifert
Am Di, 2003-12-02 um 00.25 schrieb Ben Combee: Ben, I have a BITMAPFAMILYEX (low/highres image) which I draw to the screen using WinDrawBitmap. What I notice is that I can not have the BITMAPFAMILYEX in little endian mode (-LE32 switch at pilrc) without all the colors getting seriously

Re: Array of struct - global vs local

2003-12-01 Thread Daniel Seifert
Am Fr, 2003-11-28 um 00.13 schrieb John Marshall: John, If you compile your small test program with -S (=generate assembly) you see what is happening, For MAX=9 the cmd struct is initialized by code. For MAX=10 there is a copy in the .data section which gets copied to the stack at the

RE: OS 5.x Serial Baud Rates

2003-12-01 Thread dennis
Thanks for the update, Rob. I appreciate the news. SerialFix sounds like a good solution for Tungsten/T. What's the situation with newer Tungstens? Dennis Leas --- [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rob Larson

Tungsten C WiFiDB Prefs !Unresolved!

2003-12-01 Thread Garth Coedie Terrell
Hi, Couldn't find a solution from the comm-dev-forum, so thought someone here might have an idea... Does anybody know which files on the Tungsten C contain the WiFi user preferences. For example, making a backup of these files would be able to restore the WiFi setup of a clean system. At the

Obtaining TREO 600 Simulator/Emulator rom File

2003-12-01 Thread alucard o
Good Day, Hello, Just like to ask if where can i obtain a ROM FILE for this simulator/emulator. Pls help me! its very urgent. Thanx a lot, Alucard __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -- For information on using

Re: T|T3 DIA: the 2 prc really needed?

2003-12-01 Thread Edmund
Thanks Simon! Simon Dick [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, 2003-12-01 at 09:39, Edmund wrote: Hi, I enhanced my program to support DIA for TT3 and Sony's CLie, according to the sample from palmsource, SampleCollapse_R2. It works perfectly for TT3

Retrieving text (as a string) from middle of a string

2003-12-01 Thread D. Kirker
How do I retrieve text (as a string) from the middle of a string? Similar to the substr, strleft, strright functions. Is there anything like it for PalmOS? Thanks, D. Kirker -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Retrieving text (as a string) from middle of a string

2003-12-01 Thread Craig Likes
Why not use the StrNCopy function and just get a pointer (char*) to the string position you want to start at then specify from that point the number of characters you want. Craig. --- D. Kirker [EMAIL PROTECTED] wrote: How do I retrieve text (as a string) from the middle of a string? Similar to

Released at last - thanks to you all!

2003-12-01 Thread Luc Le Blanc
Hi, I just released tonight the first public beta of Auriga, a cave survey freeware for Palm OS. I hereby wish to thank the Ben, Keith, Bob, Markus, James, Aaron, John, Dave, Régis, José, and many others, whose name I forget, of the Palm OS software development community, who made this

Re: PILRC: Density-2 abmp vs Tbmp ... bug?

2003-12-01 Thread Ben Combee
At 05:41 PM 12/1/2003, Daniel Seifert wrote: This sounds like a PilRC bug... of course, the -LE32 switch isn't fully supported, LE32 sounds to me like a very vital switch considering the current processor family being used ;-) True, but it is never needed for 68K code or for PNO code that calls