Re: MathLib and Palm with ARM Processor

2004-07-23 Thread José dos Santos Machado
I did one test. I did a hard reset and installed ... Maybe there's an older (or newer, or corrupt) version of MathLib on you backup folder ? --- J. Machado [EMAIL PROTECTED] Palmcon Consultoria (www.palmcon.com.br) +55 21 9302-2794 -- For information on using the Palm Developer Forums, or

RE: [ANN] Jpeg/Gif decompression library updated.

2004-06-23 Thread José dos Santos Machado
- http://www.nyctergatis.com/jpeglib/ (non-ARM) - http://www.laubrass.com/doc/PUB/JPEG/ (non-ARM) - http://www.dp.mcw.edu/palmImaging/jpegArmlets.zip (ARM-native) Thanks Matthew, that sounds useful. --- J. Machado [EMAIL PROTECTED] Palmcon Consultoria (www.palmcon.com.br) +55 21 9302-2794

Re: [ANN] Jpeg/Gif decompression library updated.

2004-06-22 Thread José dos Santos Machado
JPEG/GIF decompression library for Palm OS (http://www.absoluteword.com/jpglib/) has been updated. Well, is it free ? --- J. Machado [EMAIL PROTECTED] Palmcon Consultoria (www.palmcon.com.br) +55 21 9302-2794 -- For information on using the Palm Developer Forums, or to unsubscribe, please

Re: [ANN] Jpeg/Gif decompression library updated.

2004-06-22 Thread José dos Santos Machado
Yes, if you are OK with nags it draws. Otherwise, no. Sorry, but what do you mean by nags ? (sorry, my english is terrible.) --- J. Machado [EMAIL PROTECTED] Palmcon Consultoria (www.palmcon.com.br) +55 21 9302-2794 -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: Palm Freezes on Palm Logo Screen

2004-04-20 Thread José dos Santos Machado
Hi Régis, My bet is that you're fragmenting memory a lot. PalmOS does a routine to de-fragment the memory on reset, so the time that it appear freezed is the time it's using doing the de-fragmentation. Using a handle *could* (I don't really know) minimize the fragmentation, but it's just a guess

Re: TblSetRowSelectable

2004-03-29 Thread José dos Santos Machado
I´m looking for a function like the TblSetRowSelectable but using COLUMNs instead ROWs because just one column (with checkboxes) need be selected. Hello Ricardo, There's no way on PalmOS API that you can select an ENTIRE column. You must do that by hand, iterating through all the enabled rows

Re: PalmOS 4.1 x PalmOS 5.2

2004-02-17 Thread José dos Santos Machado
Maybe you should be using the new serial manager ? -- J. Machado -- [EMAIL PROTECTED] Alexandre Teodoro Guimarães escreveu: Hi All, I have one problem here. My codewarrior application that I make for the Zire PalmOS 4.1 not work on new Zire 21 PalmOS 5.2. The application is simple, and

Re: RES: PalmOS 4.1 x PalmOS 5.2

2004-02-17 Thread José dos Santos Machado
sorry but I can not understand how I can find information searching... http://www.escribe.com/computing/pcpqa/index.html That should do it. :-) -- J. Machado -- [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Resource Editor

2004-01-21 Thread José dos Santos Machado
I use codewarrior resource editor or Rsrcedit in the palm but i would like to know anothers. Codewarrior 9 is shipped with PilRC Designer. It works with PilRC (so the files you create with the designer must be compiled with PilRC to work in your program). IMHO it's a good editor. Not s

Re: OS 5 Simulator, FrmCustomAlert(), text can't end with blank line error

2004-01-07 Thread José dos Santos Machado
You shall not pass empty strings do ^2 and ^3. Use a string with single space instead ( ). This is on the docs of FrmCustomAlert. :-) Cheers! -- J. Machado -- [EMAIL PROTECTED] Brian Preston escreveu: Anyone familiar with this? I searched the archives and couldn't find anything

Re: OS 5 Simulator, FrmCustomAlert(), text can't end with blank line error

2004-01-07 Thread José dos Santos Machado
The Palm OS Reference (which I did read before posting this, btw) that I've been using says that is only required for OS 2.0 and below. I was testing 5.0, so I didn't think I needed to do that. Hmmm... .I guess I missed that part of the reference... However, that solved the problem! So thanks. I

Re: How to draw integer?

2003-11-18 Thread José dos Santos Machado
but if I want to debug double value, how can I do? Since I looked for the StrPrintF( ), the formatStr only supports : %d, %i, %u, %x, %s, %c Did you ever tried to port the Linux sprintf to the PalmOS plataform ? It isn't hard to do. Only choose the right Linux version. Get the vsprintf source

Re: How to make PDB with more than 65535 records?

2003-11-18 Thread José dos Santos Machado
How can I create a PDB with more than 65535 records? Well, in a short answer, you can't. :) You may split your db into several files or pack the records to fit on that limit. Personally I use XML to do that. []'s J. Machado [EMAIL PROTECTED] Palmcon Consultoria (www.palmcon.com.br) +55 21

Re: malloc

2003-11-03 Thread José dos Santos Machado
There's no malloc on the PalmOS libs. You must use MemPtrNew or define your own malloc function. There are some differences between the ANSI C libraries and the PalmOS libraries. Take a time to look at the PalmOS Reference Guide and PalmOS Companion to know these differences. Basically:

Re: CDK 4.03 COM: 5000 bytes record = BUG?

2003-10-29 Thread José dos Santos Machado
There IS a function in the record adapter (it's not in the documentation btw) Well, would you mind to tell us which function is that ? :) Cheers ! -- J. Machado -- [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Multiline Text on a Field Box

2003-10-24 Thread José dos Santos Machado
Régis Daniel de Oliveira escreveu: and i what that the field apear like this: Palm OS System using 3 lines. How can i do this? Try to add the string Palm\nOS\nSystem to the field. The \n will add a linefeed/carriage return on it. :) Cheers! -- J. Machado -- [EMAIL

Re: Multiline Text on a Field Box

2003-10-24 Thread José dos Santos Machado
For the record, under Palm OS it only adds a line feed and not a carriage return. Thanks Doug ! That's quite true. My fault. :) -- J. Machado -- [EMAIL PROTECTED] -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: When will Codewarrior 9.x recognize globals?

2003-10-24 Thread José dos Santos Machado
I find sometimes the debugger simply won't tell me the true value of variables to the point where I can't debug. And this is with all optimizations off. I can understand the old bug in which you have many instances of the same name and it doesn't know which one to show you, but often, it

Re: DmResizeRecord

2003-10-08 Thread José dos Santos Machado
James Zatorski escreveu: My question is what's the best method of allocating space for the single HUGE record to be put in the MemoPad database. My bet is: Try DmNewRecord. It works. If you wanna update it with a new size, then try DmResizeRecord. Cheers! -- J. Machado -- [EMAIL PROTECTED]

Re: Dummy APP for handheld

2003-09-26 Thread José dos Santos Machado
Louis Wildschut escreveu: What's the fastest, best and cheapest way to create a dummy application on the handheld? You can ask a friend to write it for you... :) If it's just a dummy app with your creator id, I can write it to you, at no costs. If you're interested please contact me in PVT..

Re: Can I select complete row in a table.

2003-08-27 Thread José dos Santos Machado
Or you could create a table with only one row. That works fine for me. Cheers ! -- J. Machado -- [EMAIL PROTECTED] [EMAIL PROTECTED] escreveu: Hi Rangababu, There is only one way I know to make full row selection in CodeWarrior... Draw it on your own :) Take a look at

Re: dmMaxRecordIndex

2003-08-19 Thread José dos Santos Machado
rguevara escreveu: Hi, i have four open databases and want write in the last position of one. I don't know if dmMaxRecordIndex work... Very short answer: Yes, it works. I use it all the time. A little bit longer one: What's happening ? Are you having some trouble with it or just asked without

Re: Can I debug the program on the SD card?

2003-08-19 Thread José dos Santos Machado
ThuNguyet Nguyen escreveu: handle. Tapping on the Reset button in the Alert doesn't work, I have to do hard reset. Well, I usually don't have much problems using the cards, but let's see: You have to do a *hard* reset ? Or reset the handheld by hand, using some kind of paper clip to do it ?

Re: graphic button

2003-08-14 Thread José dos Santos Machado
Pablo Martin Vera escreveu: i´ve created a graphic button and I assigned it two 16 color bitmap images. When I start the aplication I see the in black and white not in color. Please tell me how to solve it. You could start the color suport in your startup code. There's some examples in the

Re: DmAttachRecord with MemHandleNew

2003-08-14 Thread José dos Santos Machado
Todd Niec escreveu: Is it possible to use DmAttachRecord with memory that was allocated with MemHandleNew()? The documentation doesn't say you can't, but it seems like I get weird behavior if I try this. Short answer: No, you can't. Use DmNewHandle instead. -- J. Machado -- [EMAIL PROTECTED]

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread José dos Santos Machado
Aaron, that's with you. :) its all about graphics programming primitives. loads of books on the subject, i'd suggest reading some :) Hehehehe... I'll try to make my homework and try to find some of these here in .br :) IMO that's the fascinating side of programming... -- J. Machado -- [EMAIL

Re: graphic button

2003-08-14 Thread José dos Santos Machado
Hmmm... Double post, sorry ALL... I guess i just passed through your problem... My buttons are 256 (8 bit) color buttons. I guess there's not a 16 color image in the Palm, rather there's 16 shades of gray. Try putting the button on the 8 bit color mask. And sorry by the bad tip on the las

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread José dos Santos Machado
Khaki Wizard escreveu: Hi, all: Is it possible to use BmpCreate() to create a bitmap larger than 64KB, say 640x480 8bpp, and use it to build an offscreen window for double-buffer paint purpose? Actually you cannot create any resource larger than 64kb on PalmOS, unless you do it on the memory

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread José dos Santos Machado
Ben Combee escreveu: Is it possible to use BmpCreate() to create a bitmap larger than 64KB, say 640x480 8bpp, and use it to build an offscreen window for double-buffer paint purpose? Hey guys, look what I found: http://www.cliedeveloper.com/spotlight/kinoma1.html IMHO it's a good tutorial on

Re: Bitmap offscreen window larger than 64KB?

2003-08-14 Thread José dos Santos Machado
Carsten escreveu: This is NOT good. MemSemphore issues aren't even mentioned in the official Palm-OS sdk. (when I remember right...) Sony should care more about the things they publish, reading that article sounds like MemSemaphore - used every day, don't care about the consequences ... H...

Re: push buttons

2003-08-14 Thread José dos Santos Machado
quote Steve K escreveu: You'll want to make sure that all of your push buttons are within the same group. This will stop your program from highlighting each push button after it is selected. When they are in the same group, when selecting a new push button, the previous one will become un

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-14 Thread José dos Santos Machado
Alan Ingleby escreveu: Régis Daniel de Oliveira [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How can i make a numeric field accept the minus (-) field? Short answer : You can't. Use a non-numeric field, and filter the keydown events. Long answer: You can use a workaround for this.

Re: Strange issue

2003-08-11 Thread José dos Santos Machado
Engi escreveu: Hi, If you go to http://aquapalm.free.fr , you could see my problem. When my records don't have any note, all is fine. But if I add a note, all the characters which are drawed after the note indicator are weird. Hello Engi, Ahm, let's see: Could you provide more information on

Re: Allow Numeric Fileds to Accept the Minus sign

2003-08-11 Thread José dos Santos Machado
Alan Ingleby escreveu: All you need to check for is that the insert position is at the start of the field, and that there isn't already a - after the insert position. The OS will then handle all the other issues for you (Such as making sure you don't enter more than one . for example. You got it.

Re: graphic button

2003-08-09 Thread José dos Santos Machado
Aaron Ardiri escreveu: UInt32 depth = 16; while (WinScreenMode(winScreenModeSet, NULL, NULL, depth, NULL) depth = 1; *g* many ways to skin a cat Heheheh, surely ! I liked this second ... Better than the first one.. :) This would only have trouble if you wanna extend the display to 24 bit

Re: FrmReturnToForm(0) crash....

2003-07-31 Thread José dos Santos Machado
Hi Ken, kcorey escreveu: The code works just peachy if I do a FrmGotoForm instead of popup/return, though the logic isn't quite as clear in the program. AFAIK, FrmReturnToForm only works well with the FrmPopupForm. They were meant to be together... :) Don't try to FrmGotoForm, because

Re: Newbie Question - Using Visual Studio??

2003-07-31 Thread José dos Santos Machado
Paul Johnson escreveu: It's actually quite easy. You need to write a batch file and overwrite your cl.exe with it. You can then get as clever as you like, but don't forget to put it back again when you wanna write for pc again. I think theres also somewhere to specify an external compiler and

Re: Newbie Question - Using Visual Studio??

2003-07-31 Thread José dos Santos Machado
Jim Cooper escreveu: Not that strange. Hardly a week goes by on the Delphi newsgroups without someone asking a similar question about Palm/PocketPC/... Hehehe... It may be my lack of vision on this... :) That's the reason that new blood exists.. These guys don't have any locks on their heads...

Re: FrmReturnToForm(0) crash....

2003-07-31 Thread José dos Santos Machado
kcorey escreveu: If I use the PopupForm/ReturnToForm pair, it crashes. Cool this one, huh ?? :) Questions: Are you using modal forms ? I *think* the Popup/ReturnTo pair only works with modal forms... Although I never used them to anything not-modal... :) If I change *both* of those to

Re: Newbie Question - Using Visual Studio??

2003-07-30 Thread José dos Santos Machado
My main question is how do I compile a program into a PRC in Visual Studio? Is this possible? Pointers to tutorials gratefully received... Heheheh... Really newbie and strange question... :) (well, strange to me... ) Well, you could find out the SHARK develpment kit, with Aaron Ardiri, so

Re: Database Edit Question...

2003-07-29 Thread José dos Santos Machado
Hi Régis, greetings from Rio, Well, since my first old days of PalmOS C programming, I do not assign strings to the structs like you're doing: /*Now, I'm changing the struct content...*/ theStructure.CodRca=8; theStructure.NomeRca=Regis Daniel; theStructure.Senha=saf; I usually

OT: Messages from [Palm-L]

2003-07-25 Thread José dos Santos Machado
Sorry by the offtopic message crew, but is anybody receiving some annoying messages from a Palm-L stuff ? It seems to be a spam to me, and very strange since they only tell things about some Palm Solutions... Strange... -- J. Machado [EMAIL PROTECTED] -- For information on using the Palm

Re: how to tretrive structs that have char* variables in their structure?

2003-07-23 Thread José dos Santos Machado
Alexandre Barreto escreveu: being email a MailAddRecordParamsType Are you sure this is the correct type ? Shouldn't that be a MailAddRecordParamsPtr ? Cheers ! J. Machado [EMAIL PROTECTED] Palmcon Consultoria (www.palmcon.com.br) +55 21 9766-8116 -- For information on using the Palm

Re: Laucnhing a web clip form a prc

2003-07-22 Thread José dos Santos Machado
MemPtrSetOwner(parametros, 0); err = SysUIAppSwitch(cardNo,ClipID,sysAppLaunchCmdOpenDB,parametros ); return err; // ErrNone (0) means no error } I don't have the reference guide with me now, but shouldn't you pass the parametros parameter as a pointer ? Something like: err =

Re: Laucnhing a web clip form a prc

2003-07-22 Thread José dos Santos Machado
Alexandre Barreto escreveu: if (!(parametros = MemPtrNew(sizeof(SysAppLaunchCmdOpenDBType { return sysErrNoFreeRAM; } i tried that but i keep geting the erro in compilation ilegal implicit conversion from 'void *' to 'SysAppLaunchCmdOpenDBType *' Typecast it. if (!(parametros =

Re: math function in PalmOS

2003-07-21 Thread José dos Santos Machado
Hi Zhang, Maybe you're a bit new to PalmOS programming, and here's a little tip: PalmOS doesn't have a goot set for math functions, and in it's early days a simple floating point add should be done through some complex API's. Mathlib is a thirdy party lib that's have been incorpored to some

Re: Corrupt Variables

2003-07-21 Thread José dos Santos Machado
Hi Ken, I had this problem once, with CW 6.0 (evaluation). This seemed (to me) to be a bug of the compiler or just a settings effect on the properties of the project. Try to initialize your variables as: UInt32 a = 1; UInt32 b = 2; UInt32 c = 3; This will surely tell the compiler you're

Off-topic - Unplug ?

2003-07-16 Thread José dos Santos Machado
Ben Combee only: Aren't you on vacation man ? Or already back ? -- J. Machado -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Off-topic - Unplug ?

2003-07-16 Thread José dos Santos Machado
Aaron Ardiri escreveu: for me, its normally an opportunity to do some more coding on another project *g* today, it was a nice 31C here in stockholm so i took my laptop to the swimming pools.. sick, very sick. did some coding inbetween water dips :) Hehehehe, REALLY SICK that... Man you should

Re: Zire's Digital Camera Again!!!

2003-07-08 Thread José dos Santos Machado
Hello Marcio, greetings from Rio de Janeiro, Take a look into the Palm Plugged In program (pluggedin.palm.com). There's a specific SDK to use with the Zire71 camera. Cheers ! J. Machado [EMAIL PROTECTED] Palmcon Consultoria (www.palmcon.com.br) +55 21 9766-8116 Marcio Pacheco escreveu:

Multi-Plataform issues (A little off-topic)

2003-07-07 Thread José dos Santos Machado
Hi David, I guess, what I'm asking is this: if in a year or two practically all PPC development is being done with the .NET Compact Framework, is it possible that the ordinary Win32 API could just go away? (Or is .NET still using the Win32 API under the hood). Well, like Aaron said: you just

Re: Multi-Plataform issues (A little off-topic)

2003-07-07 Thread José dos Santos Machado
Aaron Ardiri escreveu: even better is to rid the event loop totally. use a callback/listener approach. let the DAL handle all the event specific stuff :) This one (good) solution is how we implement it here in our company ! :) Although there are some cases the developer may want a event loop.

Re: Multi-Plataform issues (A little off-topic)

2003-07-07 Thread José dos Santos Machado
David Beers escreveu: OK, I'd like to figure this out and work on it as a long-term project. Surely it is !! :) My vague conception of this is that the DAL is an API that will make calls to functions that are wrappers for parallel Palm and Win32 API functions. YeP. That's the way. DAL is just a

Re: Multi-Plataform issues (A little off-topic)

2003-07-07 Thread José dos Santos Machado
Aaron Ardiri escreveu: Lua means writing in a new language tho - and, unless you are doing pre-parsing before installing to the device - it means you'll be acting as an interpreter (even converting into a bytecode requires interpreter) [ie: Java] That's right. Although Lua has a very small

Re: Multi-Plataform issues (A little off-topic)

2003-07-07 Thread José dos Santos Machado
your API is C, but, how do you bind the Lua to C? via scripts (parsing) in real time, or, you have some funky compiling process to make a .prc or .exe so it runs 100% native? Here we do a bind with the precompiled stuff. We do the parse at real time (not good), but we create a 100% prc, without

Re: Multi-Plataform issues (A little off-topic)

2003-07-07 Thread José dos Santos Machado
Aaron Ardiri escreveu: adding support for other platforms? (ie: non palm/pocket pc). have you looked at doing native ARM version? Hehehe, my applications doesn't need THAT kinda speed right now... :) I'm still the burocratic

(OT: Lua as Programming Language) - Was: Palm OS and Pocket PC programming tool

2003-07-03 Thread José dos Santos Machado
Well David, we do it here in Hands, at Brazil. :) That's the reason why i suggested it. I can't open the technology to the list (since it's private from my company) but I can surely say to you: It works and works fine. There's a port from Lua to PalmOS, named PLua, but it's not open source.

Re: (OT: Lua as Programming Language) - Was: Palm OS and Pocket PC programming tool

2003-07-03 Thread José dos Santos Machado
snip Jose, for those of us who know nothing about Lua, can you summarize what is /snip Ooops, sorry David, my fault :) Well, let's make a small brief: Lua is a small scripting language that was born here in Brasil to solve some development problems for our Oil company (Petrobras), and

Re: pInstaller

2003-06-13 Thread José dos Santos Machado
Arpan Dalal escreveu: I am using pInstaller to install the app on my palm. Initially I tried using a xml file but I ran into error: Problem calling initial library. Installation archive may be incomplete or corrupted. I have no clue what this means. This is a little bit off-topic, but you should

Re: pdb files(Beginner)

2003-06-11 Thread José dos Santos Machado
Sadanandam O. escreveu: Can anybody suggest me pdb viewer on desktop side. I have gone thru several search engines. Could not find ny. Try xPDF, freeware, great utility. You can find it on PalmGear, or with a little googling. For viewing prc files the PRCExplorer is the best, IMHO. Cheers!

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread José dos Santos Machado
... you could also try Java to keep at least the business logic platform independent. The UI won't necessarily work nicely with Java as the UI offered by Palm is too poor. Or you could move to Lua (there are ports to PalmOS and PPC) and keep all your business logic, and also don't worry with the

Re: Palm OS and Pocket PC programming tool

2003-06-05 Thread José dos Santos Machado
Aaron Ardiri escreveu: There are such tools, but they typically require programming in a language that's a higher level than C or C++. I don't know of any tools for C/C++. while 'tools' may not exist at the moment to do this - it doesn't mean that it cannot be done. we currently have a single

Setting up Zire Simulator

2003-05-31 Thread José dos Santos Machado
Hi folks, Does anybody know to setup the Zire71 simulator to use a PPP connection to access the internet ? I'm actually trying to test the new webbrowser, and it would be good to share my PC Connection with the simulator. Any points ? Ideas ? Docs to read ? Thanks in advance. J. Machado