?? What's that!

2004-08-10 Thread fred qw
I use typedef like: typedef struct tag_DXFREAD { longFileSize; longStoredStreamPos; longCurrentSection; longCurrentTableType; Boolean isBlockOpen; charReadBuffer[READBUFFERSIZE]; longBufferDataSize; longBu

Re: ?? What's that!

2004-08-10 Thread Krzysztof Kowalczyk
On Tue, 10 Aug 2004 06:57:50 -, fred qw <[EMAIL PROTECTED]> wrote: > I use typedef like: > > typedef struct tag_DXFREAD > { > longFileSize; > longStoredStreamPos; > longCurrentSection; > longCurrentTableType; > Boolean isBlockOpen; > >

Re: ?? What's that!

2004-08-10 Thread fred qw
Humm... Yes... I find Boolean in palmos.h. But what about FILE? i don't find that definition anywhere. What is the solution for FILE type data? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: ?? What's that!

2004-08-10 Thread Krzysztof Kowalczyk
On Tue, 10 Aug 2004 07:38:38 -, fred qw <[EMAIL PROTECTED]> wrote: > I find Boolean in palmos.h. > But what about FILE? i don't find that definition anywhere. > What is the solution for FILE type data? There isn't. Palm OS doesn't have file handling functions like C standard library. You have

Problems with SslRead

2004-08-10 Thread Bogdan
(I'm resending this because it didn't get posted in the first time) I'm writing an application that connects via SSL to a proxy server. Once connected to the proxy server, it sends a CONNECT request to the proxy to establish a tunnel to another server. I'm following these steps: 1.Connect to the

How to tell if a voice call is active?

2004-08-10 Thread Neil Whitworth
Can anyone explain how to check if there is a voice call active? I need to do this during an alarm cll back, on the Treo 600 and other (Treo 350/270, Tungsten W etc) palms. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/for

Link error in separate files!!!

2004-08-10 Thread Gláucio Barizon Pançardes
I am trying to use my separate code in varios archives for one better understanding, but when I bind in codewarrior 8,0 of the following o error: Link Error : Main.c: 'OpenOrCreateDB' referenced from 'AppStart' is undefined. Link Error : Main.c: 'MainFormHandleEvent' referenced from 'AppHandl

Re: Link error in separate files!!!

2004-08-10 Thread Krzysztof Kowalczyk
On Tue, 10 Aug 2004 09:02:57 -0300, Gláucio Barizon Pançardes <[EMAIL PROTECTED]> wrote: > I am trying to use my separate code in varios archives for one better > understanding, but when I bind in codewarrior 8,0 of the following o error: > > Link Error : Main.c: 'OpenOrCreateDB' referenced from

Re: Link error in separate files!!!

2004-08-10 Thread Gláucio Barizon Pançardes
First, debtor for the attention!!! But my project already has the implementations, for example: ConsultaForm.c already is in my project. and i dont have compile error, only link. When I compel main.c I do not have error, only when F7 squeeze (link) "Krzysztof Kowalczyk" <[EMAIL PROTECTED]> escr

Re: Link error in separate files!!!

2004-08-10 Thread Ray
Is it to do with the functions being declared static so not available to other files? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Link error in separate files!!!

2004-08-10 Thread Gláucio Barizon Pançardes
You are really total certain! Debtor! > Is it to do with the functions being declared static so not available to other files? > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Treo 600 auto turn on wireless mode

2004-08-10 Thread Keyur Patwa
Hi guys, I was going through all of your emails regarding this matter as I am also willing to turn the wireless mode automatically, programmatically and without any user interaction. I find all the functions u were mentioning but don't find any documentation about which function does what and tha

another way using int??

2004-08-10 Thread Brandon Prater
I often use a simple integer instead of boolean. 0 - off and 1 = on. you may have to change some code to check to see if the var ==0 instead of if(thevar), but it 'might' work. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support

re: another way using int??

2004-08-10 Thread Brandon Prater
sorry this was meant for a reply to another thread... is there any way to delete a topic that you posted -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Native Arm Applications

2004-08-10 Thread jhillman1
The Callback through the 68K PACE is to slow. I have to send 1 char, turn the port around, then receive the data. The code works fine on the M500 family. How big is the IR receive buffer? Can the hardware receive data before the port is turned around? My problem centers around the ability to s

re: Link error in separate files!!!

2004-08-10 Thread Randy Poublon
Try extern void ConsultaTableFormInit(FormType *form); //,UInt16 recordNumber); extern Boolean ConsultaFormHandleEvent(EventType * eventP); <--Here -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Native Arm Applications

2004-08-10 Thread Ben Combee
At 11:47 AM 8/10/2004, you wrote: The Callback through the 68K PACE is to slow. I have to send 1 char, turn the port around, then receive the data. The code works fine on the M500 family. It is unlikely that the callback is the source of your slowness -- that callback never enters the 68K emulat

RE: Treo 600 auto turn on wireless mode

2004-08-10 Thread Martin Bruner
I noticed that when I use PhnLibSetModulePower and attempt to open the serial port, I get a hsErrRadioNotRegistered error. So I have been using HsTurnRadioOn(); Marty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Keyur Patwa Sent: Tuesday, August 10, 2004

Re: Native Arm Applications

2004-08-10 Thread jhillman1
I am testing on a pair of ZIRE 72's. The reason I assumed a speed issue is that the target device responds with an ACK very fast. I set up another target device with a delay before it sends the ACK and I was able to get the ACK and continue to the point where a six byte command is sent to the targ

Is there any facilities like assert() in Palm OS?

2004-08-10 Thread Jennifer Fell
Is there any facilities like assert() in Palm OS? Thanks, Jenni -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Problem with feature memory

2004-08-10 Thread Joshua Lawrence
I am trying to write a simple UInt32 value to feature memory and then retrieve it. Here are my two functions - one to write the value to memory, and the other to read the value and write it to the screen. Note that HRWinDrawChars() is the Sony HiRes Library equivalent of WinDrawChars(). //glo

RE: Treo 600 auto turn on wireless mode

2004-08-10 Thread Keyur Patwa
Hey Marty, Thanks, it works! But as u know it pops up a message box asking if the user wants to turn the w/l mode on! Is there any way to turn it on without any user interaction, I mean without asking for the user confirmation? Let me know if it is possible! Thanks again, Keyur ---

RE: Treo 600 auto turn on wireless mode

2004-08-10 Thread Martin Bruner
That's what PhnLibSetModulePower is suppose to do, but I haven't got it running completely. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Keyur Patwa Sent: Tuesday, August 10, 2004 2:08 PM To: Palm Developer Forum Subject: RE: Treo 600 auto turn on wireless

Re: Is there any facilities like assert() in Palm OS?

2004-08-10 Thread Dave Carrigan
On Tue, Aug 10, 2004 at 03:01:20PM -0500, Jennifer Fell wrote: > Is there any facilities like assert() in Palm OS? ErrFatalDisplayIf() and friends. -- Dave Carrigan Seattle, WA, USA [EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680 UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS

Re: VFSFileDBInfo causes SystemCompatibility.c crash

2004-08-10 Thread Tom Bulatewicz
I'm using VFSFileDBInfo() to get prc/pdb info about files on an external card. Here's the call: err = VFSFileDBInfo( fileRefP, dbName, &attributes, &version, &crDate, &modDate, &bckUpDate, &modNum, 0, 0, &type, &creator, &numRecords ); if( err == errNone ) { // do my stuff here } But,

extern variable error!!!

2004-08-10 Thread Gláucio Barizon Pançardes
Why when I create an variable as UInt16 nReg; //like a global variable inside of a Main.c archive and when use extern nReg; / to use of this form: recH=DmNewRecord(dbCl, &nReg, tam); // in another Archive, show this erro Error : illegal implicit conversion from 'int *' to 'unsigned short *' DB

re: extern variable error!!!

2004-08-10 Thread Josh L
You wrote: >Why when I create an variable as UInt16 nReg; //like a global >variable >inside of a Main.c archive and when use extern nReg; / to use of >this form: ... You declared extern nReg; incorrectly. It should be: extern UInt16 nReg; Josh -- For information on using the Palm Developer For

Symbol scanner and PRC-Tools

2004-08-10 Thread Olivier
Hi, Do any one can tell me how i can get informations about using sanner ( SPT1700 ou SPT1800 from Symbol ) ? Is there some libraries to add to Prc-Tools from symbol ? Thanks for answhere :) Regards. Olivier -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Treo 600 auto turn on wireless mode

2004-08-10 Thread joe bloggs
Below is a code snipet of how I got PhnLibSetModulePower to work for me. Maybe it will help you. Note, I used HsGetPhoneLibrary to get a reference to the library. Also note that I am turning on the phone to allow the app to connect to the Internet (hense the call to my function SndProcessConnecti

RE: Treo 600 auto turn on wireless mode

2004-08-10 Thread Martin Bruner
Hi Joe, That code mades sense. Unfortunately I have a CDMA phone which supports 1xRTT. I will have to see if I have an equivalent function for that service. Thanks for the code snippet. Marty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of joe bloggs Sen

Re: Icons changing in alert dialogs

2004-08-10 Thread Kyle Dorian
Thanks, that makes sense. When I created the resource file there was an alert with ID of so everything created after that automatically had an ID of 1 or greater. Cheers, Kyle -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/de

Desktop application

2004-08-10 Thread Kalyan Sakhamuri
Hello all, We have a certain requirement, where the PDA needs to talk to an application on the Desktop and transfer some data to let the application handle the data from there on. However, the users need to be able to do this, even without them hotsyncing the PDA. So, I'm wondering, if there's so