re: Network prefs on Z22

2006-02-23 Thread Alexandre Barreto
Hi, How can i install this? they are .oprc i tryed to rename to .prc and isntall..but i go not network prefs Thank you -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How do i install .bprc , .oprc?

2006-02-23 Thread Alexandre Barreto
Hi i got a update to z22 that enable networking but i don´t know how to install it. it comes as .bprc and .oprc How do i do that? thanx -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How to prevent Treo 650 from closing my app when ir recive a phone call?

2006-02-01 Thread Alexandre Barreto
i have a huge app ruing on Treo 650, and evertime it recives a phone call, my app closes and everthing the user was doing is lost, he gota get in my app again and stat over. is there a workaround? saving everthing on shutdown ll be too much work. gota change too many things. thanx a lot --

Problem Creatign a PRC on Tungsten E2

2005-12-12 Thread Alexandre Barreto
Hi, I´m having a problem with a aplication hat reads a prc from a server and mount it on the device. the prob it that when i soft reset all prcs i tranfered with my app disapear from the device. But the pdbs i mount the same way don´t. whats wrong? the prcs work fine until i soft reset the

Tungsten E2 Memory

2005-11-10 Thread Alexandre Barreto
Hi, a client is complaning about some freezes of our aplication in Tung E2 Do i have to change anything because of the NVFS memory? i saw something about sorting the databases gives a error.. but the client say it just freezes. and we are not sorting any database. Thanx -- For information on

Re: Reciving Data in a Socket

2005-07-01 Thread Alexandre Barreto
[EMAIL PROTECTED] Home 253-851-8908 [EMAIL PROTECTED] Mobile 253-691-8812 -Original Message- From: Alexandre Barreto [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 5:38 AM To: Palm Developer Forum Subject: Re: Reciving Data in a Socket My friend Regis said i was a litle confusing

Reciving Data in a Socket

2005-06-07 Thread Alexandre Barreto
Hi, I need to call a function evertime there is data on a socket. i cant block my program wating for data there. i need the user to do other stuffs..and when data arrives this function read the socket and do stuffs. how can i do that? thank you, Alexandre -- For information on using the

Re: Reciving Data in a Socket

2005-06-07 Thread Alexandre Barreto
My friend Regis said i was a litle confusing in my post. what i want to know is How do I specify a function to be called automaticaly when there is data received on a socket (a call back or a notification) thanx Alexandre Barreto escreveu: Hi, I need to call a function evertime

Re: Reciving Data in a Socket

2005-06-07 Thread Alexandre Barreto
] Home 253-851-8908 [EMAIL PROTECTED] Mobile 253-691-8812 -Original Message- From: Alexandre Barreto [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 07, 2005 5:38 AM To: Palm Developer Forum Subject: Re: Reciving Data in a Socket My friend Regis said i was a litle confusing in my post

Re: Any MD5 digest lib for palm os?

2005-05-16 Thread Alexandre Barreto
Ingbert Grimpe escreveu: On Fri, 06 May 2005 09:38:59 -0300, Alexandre Barreto [EMAIL PROTECTED] wrote: i need a implementation of MD5 digest for palm. is there any lib, source anithing i can use? PalmOS supports MD5 - it's just not documented, so use at your own risk ;) Check Encrypt.h

Any MD5 digest lib for palm os?

2005-05-06 Thread Alexandre Barreto
i need a implementation of MD5 digest for palm. is there any lib, source anithing i can use? Thank you Alexandre -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

NetLibSocketOpen on the simulator

2005-05-02 Thread Alexandre Barreto
Hi, i´m having problems to open a socket in the simulator. i was using emulator before and it works fine.. then i had to change for OS 5 and now i get a error when i try to open the rockt..something about trying to read mem adress 0x000. what is wrong? i have sed the simulator to redirect

Re: Link Error???

2004-02-06 Thread Alexandre Barreto
I'm including then in both ways usein #include and by adding the files to the project if a mark the option use C++ compiler it compiles as C++ so i thiunk it works on the Lite but i need to use theis classes in the file in #includeing then... thnx Ben Combee wrote: At 06:19 AM 2/5/2004, you

RE: Link Error???

2004-02-05 Thread Alexandre Barreto
hi Ben, I tried to rename the files to .cpp and including then but it is not compiling then using c++ so i get error in the class declaration. any clues? thnx -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

problem using SysGetROMToken.. i can't get the serial# in some devices(m125,zire

2004-01-15 Thread Alexandre Barreto
I made a simple function to get the plams erial number.. it works fine on a m515 but on zire 71, m125 and prob others it dosen't work insteade of the serial number i get a the number of ÿ is equal to the number of digits in the serial number. 12 digits. whats is worng? hw can i get

Re: How can i set the name of the plam used in hotsync ?

2003-11-05 Thread Alexandre Barreto
Thnx a lot for the help guys the code in c fits perfect.. for what i need.. its just a backup action .. so its ok thanx a lot again _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com -- For information on using the

Re: How can i set the name of the plam used in hotsync ?

2003-11-04 Thread Alexandre Barreto
To set it from a backuped infromation a a card if for some reaons the plam loses everthing like hardreset so i can hot syinc again using a cel fone etc... we have a program here that make multiples hotsync at a server with palm has his name ( the hotsync one) for this operation if a user is in

How can i set the name of the plam used in hotsync ?

2003-11-03 Thread Alexandre Barreto
I need to set the name of the plam inside a program... how can i do that? thanx _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br -- For information on using the Palm Developer Forums, or to

Help with sockets! plz!

2003-10-15 Thread Alexandre Barreto
I have asked this many times here but still no anwsers my progrman conectas many sockets but not at the same time ( there is just 4 sockets) so it conects do what it have to do and disconect it.. but after a while, 14 - 16 times i can't conect any other socket.. i ways get conection refused

Could Someone Help me on Resolving the prob of too many conections of NETLib??

2003-10-02 Thread Alexandre Barreto
Ok, i tryedeverthing that i could.. everthing that i know but no sucess, some ppl told me about Lingers and so on.. but i could find a way arround this can someone explain me waht i have to do, and give me a good direction? i'm getting frustraded on this thnx a lot

Re: Net Lib, Sockets and etc... Help Urgencie

2003-09-18 Thread Alexandre Barreto
The erros i get are sometimes after about 16 transfers like u said i get connection refused erro and after that all my trys of sending a file i get Error creating data connection:Mem(0x) other times during a transfer of a afile.. i stop reciving its dadata.. and after that no data arrives

Net Lib, Sockets and etc... Help Urgencie

2003-09-15 Thread Alexandre Barreto
I'm Having problems reciving data overa socket it works fine on the emulator everthing goes ok but on palm i get erros after transmiting some data a trasnfer some files ..close te socket and reconect it for other transmition but after a while i stop recive data in the socket and sometimes i can't

How to close a conection?

2003-09-05 Thread Alexandre Barreto
i need tahta my program close the conection after doing everthigng it is suposed to do but after doing everthing.. and close the sockets i'm still conect to my ISP how can i close that conection without have to quit my app and go to network prefs to click on DIsconect? thanx

I need to compile a program writed for os 3.1

2003-09-03 Thread Alexandre Barreto
i'm using the old sources codes of Lftp to in a aplication thta needs to make ftp acesses to exchange data its worjking fine... but i had to use CW lite demo and there is a msg in the begining saying thta it can't be comercializated i tryed to compile it in Cw9 but i get too many erros because

NetLibSocketBind

2003-08-22 Thread Alexandre Barreto
I'm using this function and its is returning -1 so i checked the err param to see what error it was but the error don't mach with any of th ones especified in the reference if(NetLibSocketBind(libRefnum,DataSock,(NetSocketAddrType*)A,sizeof(A),timeout,errP) == -1){ WinDrawChars(Erro

How to make a socket wait for a conection from a server

2003-08-21 Thread Alexandre Barreto
I'm making a ftp program i saw some exemples of netlib and everthing is going fine untill i got to the datasocket i need to make it listen...so the ftp server can conect on it. after a i send a PORT command but when i call NetLibSocketListen i get a -1 and errP says the erro is netErrParamErr

Where can i find a good FTP source code for Palm?

2003-08-18 Thread Alexandre Barreto
i need a ftp source code for palm a good one thnx _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br -- For information on using the Palm Developer Forums, or to unsubscribe, please see

open a Url form a plam app without calling the viewer.

2003-07-25 Thread Alexandre Barreto
Hi, i'm trying to make aprogram that will send data to ASP pages.. i can do that using the viewr but with the viewr i get locked on it until the user clicks on the back buton.. is there a way to open the ASp sending the parameters from the aplicatiion withou the viewer? or maybe a way to go

Help reading MailDB

2003-07-23 Thread Alexandre Barreto
I need to read the records of the MaliDB a pdb used in the mail program ''m using the struct MailAddRecordParamsType to get it mail = (MailAddRecordParamsType*)MemHandleLock(recHandle); the prbleme is that many of the variable sin this struct are of type char* the ones tahta are int, short, etc

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

2003-07-23 Thread Alexandre Barreto
i need to retrive a record in the MailDB the struct of the record is the following: typedef struct { Boolean secret; Boolean signature; Boolean confirmRead; Boolean confirmDelivery; MailMsgPriorityType priority; UInt8 padding Char* subject; Char* from; Char* to; Char* cc;

Re: Laucnhing a web clip form a prc

2003-07-22 Thread Alexandre Barreto
Thanx! i'm launching the clipper now passing the parameter SysAppLaunchCmdOpenDBType that is a struct with the carNo and DbId of the pqa. but now i got a erro telling me that the web clipping accessed a global variable after PilotMain was called witch a launch code that doe snot suport global.

: Re: Laucnhing a web clip form a prc

2003-07-22 Thread Alexandre Barreto
but in the companon it say u can call a web clipping and after it exits return to that point u called it in your program. how can i do that? thnx a lot for your help and patience _ MSN Messenger: converse com os seus amigos

Re: Laucnhing a web clip form a prc

2003-07-22 Thread Alexandre Barreto
Ok, thnx a lot this is my function now: Err MostraClip (char *pqa) { Err err; DmSearchStateType searchState; UInt32 resultP; UInt16 cardNo; UInt16 flags = 0; LocalID dbID; SysAppLaunchCmdOpenDBType* parametros; LocalID ClipID; err = DmGetNextDatabaseByTypeCreator (true, searchState,

Re: Laucnhing a web clip form a prc

2003-07-22 Thread Alexandre Barreto
i'm passing the name of the pqa as a parameter to this function so i use DmFindDatabase to get its ID the name i'm using was exemplo is most.pqa i'm passing like this with the extension because if i send it without i gets no ID ( remain in 0) is this right? because i don't have anymore clues

Re: Laucnhing a web clip form a prc

2003-07-22 Thread Alexandre Barreto
You're missing: 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 *' on the MemPtrNew this is driving me mad hehe thnx

Re: Laucnhing a web clip form a prc

2003-07-22 Thread Alexandre Barreto
Finaly it works!!! thanx a lot for wvwerone that help me out on this question!! thnx Ben Combee,Chris Faherty and José Machado. could i use a litle more help form u guys? how can i pas parameter to my pqa.. so i can fill out fields in a form? i read something about using Get.. with html but

Laucnhing a web clip form a prc

2003-07-21 Thread Alexandre Barreto
i'm trying to launch my pqa file from a aplaication but i'm getting a erro code when using SysAppLaunch in the function below the erro is sysErrParamErr whats wrong? thnx a lot Err MostraClip (char *pqa) { Err err; DmSearchStateType searchState; //parametrosP; UInt32 *resultP; UInt16

My PDB is showing wrong on the Palm device

2003-07-11 Thread Alexandre Barreto
I made a program taht reads txt files and make a pdb out of then i'm making 50k regs in this pdbs it works fine in the emulator and simulator but on the device it says the pdb have 350 regs only i tried with less ones like 30k , 20k, 10k they all show less records like 200 something the records

Re: My PDB is showing wrong on the Palm device

2003-07-11 Thread Alexandre Barreto
I tought about that but i used other progs i made to puta a hole file into records in the pdb and it works fine i just got this prog and changed it and the weird thing is that in the emulator and simulator it works fine :( thnx for ur help

returning Strings from a C++ function to CASL main program

2003-04-04 Thread Alexandre Barreto
i'm programing a function in C++ to use in a casl program this function must return a string but when i return it ..nothing happens it pass nothing () i decalrede the fucntion as CASL_STRINGT i tried everthing i could.. but don't work what i have to do? thanx

Re: Grey Sacale using WinSetForeColor

2003-03-19 Thread Alexandre Barreto
Thx Dan But my rotine drwas PCx images using windraw pixel so i need to make ond ein greysacle por os 3.5.. so i couldn't find the funcition WInSetColors i use in my functon WinPalet to set the Palm palet to mach the one of the picture but my functon just work for colored or monocrome images

How to detect if a palm Screen is color or monocrome?

2003-03-19 Thread Alexandre Barreto
i need to make a function that detects if there is color or not on the palm is ther eany function that i can get that? i heard about WinScreenMode .. this can tell me this? thnx _ MSN Messenger: converse com os seus amigos

Grey Sacale using WinSetForeColor

2003-03-18 Thread Alexandre Barreto
i need to draw in a mono color Palm but WinSetForeColor just set the color to blakc no mather what number i use in the function how can i get grey scale to work? thnx _ MSN Messenger: converse com os seus amigos online.

RE:Emulator that suports Memory Sticks?

2003-02-27 Thread Alexandre Barreto
Thanx a lot for the information _ MSN Messenger: converse com os seus amigos online. http://messenger.msn.com.br -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Emulator that suports Memory Sticks?

2003-02-21 Thread Alexandre Barreto
is there any? where can i get one? thnx _ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

How to read a record of a pdb in a memory stick?

2003-02-18 Thread Alexandre Barreto
I need to put some pdbs in a memory stick and my aplicantion must read a record in this pdbs how can i do that? thanx _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com -- For information on using the Palm

Variables Types

2003-02-11 Thread Alexandre Barreto
I need to make rotines to be used in CASL pro i'm having problems with types like Uint8, Uint16, Uint32 and some others Uint16 i think i ll work with type short but the rest i don't know what to do where can i declare this types in my c file? Uint32 i tried int but din't work i need to get this

CallBack in SysNotifyRegister

2003-02-11 Thread Alexandre Barreto
i'm getting problems with the callback param at SysNotifyRegister it says its of invalida type ponter... whats wrong? thanx //** CASL_FLOATNUM TrataWU(void)//SysNotifyParamType *notifyParamsP) { Do

Program to make pdbs in desktop

2003-02-06 Thread Alexandre Barreto
Hi, I need a program like PDBmake..that gets a binary file and put it in a record inside a pdb file but pdbmak just make um record.. and i need to put many files inside a pdb each record willl be a full binary file each record is a 4 byte saying how long is the record in bytes and after de 4

Using a COdewarrior function in CASLPro

2003-01-14 Thread Alexandre Barreto
I need to use a function i developed in codewarrior on caslpro.. i don't know casl well i tried and i get errors in mayn .h files from the sdk i need to build it using the sdk 3.5 or supirior.. i'm trying to use de sdk 4 how can i do that? how can i make it works? help me giving me some

Could this be a compilator problem? HELP

2003-01-06 Thread Alexandre Barreto
I made aprogram and it's working fine... now i want to make it a funcion... its a funcion to show images PCx the problem is that in the fuction there is a line that don;t work... and wen its is in the mainformhandle fuction ti works.. the part that don't work is this: img =

Memory Stick and databases

2003-01-02 Thread Alexandre Barreto
How can i open a database in a memory stick? how can i specify where to lock for the database since the DmOpenDatabaseByTypeCreator don't specify nothing about memory sticks thanx a lot _ MSN Messenger: converse com os seus

Re: How to set Custom Palette?

2002-12-18 Thread Alexandre Barreto
Thx a lot winpalette worked fine.. i got the table form my pcx and seted the table of palm the image plots right... but i have a new problem... when i change the palete.. it changes everthing on the form... like the labels, butons, the title, menus background... i just need the pic in the

RE: How to set Custom Palette?

2002-12-17 Thread Alexandre Barreto
The reference is too simple... don't show any example and don't say much thing... its something using WinSetpattern() but i don't knoiw how to make it.. for set the color table tu mach my pic.. for exemple: color 21 is a dark grey but on default color table in plamOS its some pink.. how can

How to set Custom Palette?

2002-12-16 Thread Alexandre Barreto
I made a function to drawn images PCX on the plam screen the problem is taht i get the colloer messed up... how can i set the palette i want to use from the pcx? thnx a lot _ MSN Messenger: converse com os seus amigos online.

Color palet on Plam

2002-12-12 Thread Alexandre Barreto
Hi , i made a program to show images on the palm.. but i'm having some troble with the diference form the desktop palet to the plam palet... can aynone help me on that? is ther any way to convert the pixels color form desktop to palm? i'm using 256 color imagens pcx format.. so each byte is a

how to read a record in a database? help please

2002-12-02 Thread Alexandre Barreto
I'm tryigng to read the first record of a databse i tried many tims ad nothing work.. can someno explain me how to do that statrting form open the databse.. i'm new on palm programing i dit this: img = DmOpenDatabaseByTypeCreator('IMGD','MOST',dmModeReadWrite); // Get a handle for the

How can i read a record in a database?

2002-10-28 Thread Alexandre Barreto
i knw this is a neebiew question...but i'm a newbie in palm programing :) i'm trying to read a record byte by byte...how can i do that i doing the following, but i'm doing it worng cause i'm reading the low memory instead of the record... img =