Re: Charset (ISO8859 to extended ASCIIi)

2007-10-17 Thread Luciano A. Stertz
, 2007, at 7:54 PM, Luciano A. Stertz wrote: What is the Palm default charset? I'm trying to write a software that interfaces with a printer, and all accented characters are print incorrectly. The printer is configured to use the extended ascii charset. Look at the following code

Charset

2007-10-16 Thread Luciano A. Stertz
with accents and print it. char buffer[]=Luciano André Stertz\r\n; Result: the accented character is printed incorrectly. 2. Create the same static array and overwrite the accented character char buffer[]=Luciano André Stertz\r\n; buffer[12]=0x82; // 'é' in the extended ascii charset

RSA, RC5 algorithm

2007-08-07 Thread Luciano A. Stertz
Hi, I'm working on an application that requires RSA and RC5 cryptography but need some help. Before describing the problem, I must confess that I'm quite a newbie in digital security, so please be patient. According to the Palm OS Reference, there's only one cryptography algorithm

Re: NetLibReceive issues

2006-09-08 Thread Luciano A. Stertz
Doesn't the HTTP header itself reports the size of the data contained in the package? In the specific case of HTTP, I would check that. Luciano Dmitry Grinberg wrote: TCP is a STREAM protocol = there is no END of data, it is one continuous stream. To see the end of http packer it

Re: I'll be blunt. Does gSOAP work?

2006-02-17 Thread Luciano A. Stertz
Hi, I have never worked with gSOAP, but have already worked a lot with networking in Palm OS. There is a very well known limitation in the Palm stack that may be related to the problems you are facing with gSOAP. The Palm stack supports only 16 sockets open at the same time. With all

Re: netErrTooManyTCPConnections

2005-11-14 Thread Luciano A. Stertz
Benjamin Bloomfield wrote: I'm wondering how to avoid getting this error (netErrTooManyTCPConnections) when doing a SocketConnect. It seems like I must not be closing connections properly, because every time I make a connection, I immediately transfer data, receive data, and close the

Basic question on resource databases

2005-10-01 Thread Luciano A. Stertz
Hi, I'm writing a program to send databases through a network connection. It's working fine with simple palm databases, but I get a strange behavior with resource databases. When I open a PRC, seems that it overwrites my program's resources with the ones defined in the PRC file. For

Re: Basic question on resource databases

2005-10-01 Thread Luciano A. Stertz
Ben Combee wrote: At 10:40 AM 10/1/2005, you wrote: Hi, I'm writing a program to send databases through a network connection. It's working fine with simple palm databases, but I get a strange behavior with resource databases. When I open a PRC, seems that it overwrites my program's

Re: Palm Windows-based?!?

2005-09-26 Thread Luciano A. Stertz
Del Ventruella wrote: Wow... One Palm device switches to a Windows platform, and the Palm OS programmers of the world are already ringing their hands. What a coup for Microsoft. Seems a natural move to me. It's not only one Palm device switching to Windows. It's the sucessor of the

Re: Palm Windows-based?!?

2005-09-26 Thread Luciano A. Stertz
Logan Shaw wrote: I can't pretend I know what the mind of Palm is, but I'm starting to feel that they're growing less committed to Palm OS. I expected them to wait for PalmSource to become a bargain and then buy it back, but instead they let ACCESS have it. One would think if they saw Palm OS

Palm OS Resource editor bug?

2005-09-22 Thread Luciano A. Stertz
Hi, I'm using the Palm OS Resource editor that comes with PODS 1.2, but found a problem/issue in the header generation tool. I have two buttons with no ascii text. They're buttons with the \x01 and \x02 characteres from Symbol 7 font (the fat arrow up and down). In the generated

Re: Palm OS Resource editor bug?

2005-09-22 Thread Luciano A. Stertz
Eric Cloninger wrote: Luciano, Give your resource elements a comment such as Down Arrow and Up Arrow and they will be used to generate the header file name. I did so, called them up and down (without the quotes), doesn't work. For reference, the resource editor version is 6.2.0.6.

Re: Getting text of a text box problem

2005-09-20 Thread Luciano A. Stertz
[EMAIL PROTECTED] wrote: Hi Developers, I have one form on which I have placed one text box using resuorce .. Now what I want to do is get a text of that text box... What I am doing is .. int ind = FrmGetObjectIndex(FrmGetActiveForm(), LoginTextID); ControlType *ctrl = (ControlType*)

Re: PODS 1.2- structures/variables

2005-09-19 Thread Luciano A. Stertz
JAMES S HAINES wrote: I'm getting errors when I try to declare the following structure. Any variable that I declare as ptType is unrecognized by the compiler and debugger. I've included PalmOS.h as required. Signed integers (ie Int16, Int32, etc) are also unrecognized. Another curious thing

SDK 5 on old Code Warrior?

2005-09-10 Thread Luciano A. Stertz
Hi, I'm using CodeWarrior 7 with the default SDK (3.5) and it works just fine. But now I need to use some features only availabe on newer Palm OS SDK. Is it possible to update Code Warrior 7 to work with SDK 5r3? I've just installed the SDK, it correctly found CW installation. When I

Re: SDK 5 on old Code Warrior?

2005-09-10 Thread Luciano A. Stertz
Erico Franco wrote: Luciano A. Stertz wrote: Link Error : ÔmainÕ is undefined. Was this update supposed to work? Is there any setup I can do to put CW 7 + SDK 5r3 to work together? If not strictly necessary I don't want to update CW right now. Thanks in advance, Luciano Hi

Re: JNI on PalmOS?

2005-08-01 Thread Luciano A. Stertz
Tim Norman wrote: Does anyone know if the IBM WebSphere Micro Edition JVM on PalmOS supports JNI? If not, does it support calling of PalmOS API functions? As far as I know, J2ME doesn't support JNI. Luciano -- For information on using the PalmSource Developer Forums, or to

Re: codewarrior and palm

2005-06-15 Thread Luciano A. Stertz
Ornstein, Adam wrote: Is codewarrior still the best tool to use for palm development? I would not recommend start coding on a dead tool. It may be the best option now (I'm not saying it is), but you must remember that there will be no further development on Code Warrior. Luciano --

Re: Experiences with POL (Palm Object Library)?

2005-06-13 Thread Luciano A. Stertz
imran baig wrote: WILL POL support Palm OS 6.0 in future ? And since Code Warrior for Palm OS is dead, will it be 'ported' to prc-tools/PODS? That would be great. Luciano On 6/13/05, Matt DeCaro [EMAIL PROTECTED] wrote: Christoph Regli [EMAIL PROTECTED] wrote in message

Re: database type

2005-05-13 Thread Luciano A. Stertz
Orasanu Iuliana wrote: Hy all, I'm trying to find on my device only some particular type of files (sometimes prc files, and sometimes pdb files). I am using DmGetNextDatabaseByTypeCreator to find the files and DmDatabaseInfo to see the name and the type of the file. Prc files have (from what I

Re: Query on pdb files

2005-02-22 Thread Luciano A. Stertz
Sareeta Mohanty wrote: An application is compiled to a pdb file and this provides the layout of a keyboard. The pdb file is hooked to keyboard driver application in my palm. I want to read the data from that pdb and modify it to create another pdb for the current application, i.e. change the

Re: LstSetListChoices keeps crashing on me :(

2005-02-18 Thread Luciano A. Stertz
Robert Baruch wrote: Hi all, Can someone tell me what's wrong? In my program, when LstSetListChoices is hit, the emulator dies with an array index out of bounds. Here's the code fragment: static void displayCallLog() { ListType *list; char *duration; char *testArray[] = {one, two, three,

Problem opening many sockets (please help!)

2005-02-14 Thread Luciano A. Stertz
Hi, I'm trying to create a ftp client program, but I'm facing the (in)famous problem of too many open sockets. As to each FTP data transfer a socket is opened, after 15 transfers the socket 'slot' is full. I understand the lingering issue, and disabling Linger indeed solves partially the

Re: HTTP library for 68k?

2005-02-09 Thread Luciano A. Stertz
Robert Baruch wrote: Hi all, Does anyone know of an HTTP client library in C for 68k? Apparently the Internet Library described in the PalmOS Programmer's API Reference isn't supported in PalmOS 5 and above? AFAIK it was only valid for Palm VII models. Please correct me if I'm wrong. Any help

Re: Developing on Linux

2005-02-04 Thread Luciano A. Stertz
Kevin Groves wrote: Eka Gauranga Das wrote: Hi all anyone is developing Palm Apps under Linux? can you share your experience? Which tools, etc... thx in advance Eka I've been doing that for a couple of years now and it's fine, emulator, gcc, pilrc and kpilot. What about debugging? Can gdb +

Re: Interfacing with Plucker

2005-01-25 Thread Luciano A. Stertz
Mike G wrote: Hi All, I have an application to write that I plan on using Plucker to view the content. I need to easly interface with plucker. The application goes like this. I want to use standerd Palm GUI to find a certain page to display, then when the user clicks on a sellectable item

Re: RSRC2RCP (Win32) question

2005-01-25 Thread Luciano A. Stertz
Ben Combee wrote: At 04:31 AM 1/25/2005, you wrote: Is this an appropriate forum to ask a question about RSRC2RCP? This or tools-forum would work. I don't think the author of that applications reads the forums, though. Also, there are at least two different rsrc2rcp applications -- one a

Re: Rs-232 to USB transition

2004-12-20 Thread Luciano A. Stertz
Rudla Kudla wrote: Hello, I have some question about Palm USB interface. My Palm application was written for RS-232 interface for Palms with universal connector. The price of the Palm was major argument for choosing the Palm as an platform. Now the cheap Palms has only USB connector, so I need to

Re: Rs-232 to USB transition

2004-12-20 Thread Luciano A. Stertz
Rudla Kudla wrote: Luciano A. Stertz [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Rudla Kudla wrote: Hello, I have some question about Palm USB interface. My Palm application was written for RS-232 interface for Palms with universal connector. The price of the Palm was major argument

Re: Can IR port be used to synchronize TOD clocks between two palms?

2004-12-13 Thread Luciano A. Stertz
be implemented for PalmOS. Luciano Stertz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: image map

2004-11-23 Thread Luciano A. Stertz
the image map to create a header file with the polygon's coordinates, it's quite easy to update the image and/or the mappings. Luciano Stertz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: string formatting

2004-11-12 Thread Luciano A. Stertz
arsch loch wrote: hi i'm new to palm programming and a little lost because many things that work in ANSI C don't on the Palm. for example, string formats: how do i write a floating point number into a string, like sprintf(buf, %.2f, floatnum); it doesn't seem to work at all, buf then contains

Re: Where are Jpeg images stored

2004-10-27 Thread Luciano A. Stertz
Ben Combee wrote: At 07:28 AM 10/26/2004, you wrote: Hi All, In my application i receive a file thru sockets and pass it to exchange manager to display it. I transfered a Jpeg file to Exchange managerand it shows that image well. Now i need to retransfer that Jpeg file back to same socket. So i

Re: New Error for StrCopy after removing Memory Handle Free as advised. HELP!

2004-10-26 Thread Luciano A. Stertz
Your code doesn't make sense. FrmGotoForm receives the FormID as parameter. An integer value, but you're trying to pass a char pointer. http://www.palmos.com/dev/support/docs/palmos/Form.html#998001 Luciano Stertz Wilson, Mike E. wrote: I removed the MemHandleFree(gHandle

Re: problems with FrmRemoveObject

2004-10-26 Thread Luciano A. Stertz
and then the list. The popup may have some pointer referencing to the list object internally, while the list probably doesn't know about the popup. Who knows what happens in the OS layer when you call FrmRemoveObject... just another shot in the dark. Luciano Stertz -- For information on using

Re: Not a control object?

2004-10-26 Thread Luciano A. Stertz
... They are not. Use FrmCopyLabel instead. http://www.palmos.com/dev/support/docs/palmos/Form.html#997022 Luciano Stertz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to read and draw a image JPG in a database file (PDB)

2004-10-19 Thread Luciano A. Stertz
thaihv wrote: Thank Jonas As i said i am very new to palm OS. I dont know even if what tools is used to embed the image into PDB file (this file in PC, not in handhelds), too.Fisrt and foremost i want somebody in this forum could tell me how the image jpg is embedded in the PDb file (how to read

Re: problem with palm dev forum

2004-10-14 Thread Luciano A. Stertz
tried to contact the webmaster and the palm forum admin, but got no answer... Luciano Stertz BarryJaques wrote: OK so the dumb message that accompanies every attempt to post to the forum translates something like 'the service does not exist'. Crazy. I will make one more attempt to contact

Re: problem with palm dev forum

2004-10-14 Thread Luciano A. Stertz
Ben Combee wrote: At 06:40 AM 10/14/2004, you wrote: The message is in portuguese. Actually it says that the e-mail [EMAIL PROTECTED] doesn't exist in the server. I guess it's an anti-spam filter or something like that. Probably their e-mail server doesn't recognize the forum e-mail as

Re: Converting mini-USB to serial

2004-10-07 Thread Luciano A. Stertz
, and therefore must be connected to a USB controller, can't connect to another device. Luciano Stertz -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Converting mini-USB to serial

2004-10-07 Thread Luciano A. Stertz
Luciano A. Stertz wrote: [EMAIL PROTECTED] wrote: Is there a serial adapter I can hook to the mini-USB port of devices like the PalmOne Zire or Tungsten 2 to connect them to a GPS equiped with a serial connector (like most of them)? Or is it jut not feasible? I guess it can't be done

Re: Converting mini-USB to serial

2004-10-07 Thread Luciano A. Stertz
interface. Wouldn't that be an interesting product? Probably there are more users trying to integrate their serial toys with a Palm... Luciano Stertz - Original Message - From: Luciano A. Stertz [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Thursday, October

Re: ftp soure code or lib??

2004-10-04 Thread Luciano A. Stertz
to create a non-GPL program, but it may be a good source of information. Luciano Stertz palmDev wrote: anybody know where i can find source code or a shared library for ftp? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support

Re: Problems converting rsrc to rcp

2004-09-17 Thread Luciano A. Stertz
Matt Graham wrote: Luciano A. Stertz wrote: It works fine, instead for accented caracteres (á, ç, õ, é, etc). These caracters are incorrectly converted, so I have the following questions: I'd suggest just switching to PilRC. It's not visual, but once you get used to working with it, it's

Re: Problems converting rsrc to rcp

2004-09-17 Thread Luciano A. Stertz
file to RCP format using the Palm Application Explorer (PRCExplorer) program on Windows. Ben, Thanks for the advices. I'll try to fix rsrc2rcp and will take a look in the other resource editors. Luciano Stertz -- For information on using the Palm Developer Forums, or to unsubscribe

Problems converting rsrc to rcp

2004-09-16 Thread Luciano A. Stertz
information about the character encoding in rsrc files, so that I can try to make rsrc2rcp handle them correctly? 3. Is there a good (visual) resource editor that runs in Linux? 4. Any other workaround? Thanks in advance, Luciano Stertz -- For information on using the Palm Developer

Re: help on integer to string conversion

2004-09-16 Thread Luciano A. Stertz
Seems you are passing the arguments in the reverse order. Luciano Stertz [EMAIL PROTECTED] wrote: Hi, I'm looking for any help on why using strDisplay = StrIToA (size,display) always memory faults with the message: App just wrote to the memory location 0x0004187C, which

Re: help on integer to string conversion

2004-09-16 Thread Luciano A. Stertz
I mean, what are size and display? The function prototype is: Char *StrIToA ( Char *s, Int32 i ) Is 'size' a char pointer and display the integer you want to convert? Luciano Stertz Luciano A. Stertz wrote: Seems you are passing

Re: NetLibReceive timeout

2004-09-09 Thread Luciano A. Stertz
Nobody? May someone who had already played with netlib at least confirm if my test function seems to be OK? Is there any obvious error? Thanks, Luciano Luciano Stertz wrote: Hi all, This is my first e-mail to the group, hope that I'm lucky in my first try! :-) I'm