How to connect to Servlets from Palm sending full URL ???

2004-01-16 Thread Pinaki Roy
Hi, i'm supposed to connect to a servlet running in a webserver sending full URL in one shot. It's working fine in VC++ environment with win32 api-- there using InternetOpen i'm getting a session handle and then calling InternetOpenUrl with that session and the full url strings i'm able to

how to activate the Treo 600's display?

2004-01-16 Thread bohac
Hi there! I've written a program that shows a bitmap whenever the device is powered on. On most devices that works pretty fine. There was a little problem on the T|C, where I manually had to activate the display by changing the screen depth twice. Now I've tested my program on a Treo 600. The

test ....pl ignore...eom

2004-01-16 Thread Virendra
= There is nothing good or bad, There is nothing happy or sad, Only thinking makes it so! - William Shakespeare __ Do you Yahoo!? Yahoo! Hotjobs: Enter the Signing Bonus Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- For information on

Re: keyword export is used in SSllib.h

2004-01-16 Thread Virendra
export is a keyword introduced recently in the language to implement the implementation-model for templates. The earlier era of compilers In order to use any template class, a compiler must see the entire defintion of the template funtions declared within that class. Thus, a programmer has

Re: Re: keyword export is used in SSllib.h

2004-01-16 Thread Virendra
try doing something like this #define export __export__or_any_other_name #include SSllib.h -Viren --- Virendra [EMAIL PROTECTED] wrote: export is a keyword introduced recently in the language to implement the implementation-model for templates. The earlier era of

novtable (was Re: C++ virtual functions)

2004-01-16 Thread Virendra
In MS compiler system, you have some compiler directive called novtable that allows to do what u r saying - get rid of the global vtables from the memory. One uses it something like this : class __declspec(novtable) foo { public: virtual void funtion() = 0; }; No match for that in GCC though!

Re: how to insert my application into network layer of palmos?

2004-01-16 Thread Virendra
From your query, it appears to me that you want to do some filtering on packets before they are passed on to the upper layer application layer. Something like IP hooks in Symbian OS. I dont think PalmOS allows you do that (as a deverloper). Maybe you would like to get hold of there souce code(as

store image and display

2004-01-16 Thread divyanshu_jj
hello, i am new to palm programming, I want to display bitmap image on palm device. I am able to do it through .rcp file, but i want to do it through windrawbitmap( ) using database. i think i have to store this bitmap image to database resource, but i am not able to do it. Can anybody

Re: store image and display

2004-01-16 Thread Aaron Ardiri
i am new to palm programming, I want to display bitmap image on palm device. I am able to do it through .rcp file, but i want to do it through windrawbitmap( ) using database. i think i have to store this bitmap image to database resource, but i am not able to do it. Can anybody help me out

Re: Manual Power Off versus Automatic Power Off

2004-01-16 Thread Flex
It was somewhere in the prefs I think... look at the help for PrefGetPreference Régis Daniel de Oliveira wrote: Hy all! I need to know when the Palm is turned off Manualy and Automaticaly, but, i don't know wich event to query to discover how the device is shutting down. Does anybody knows how

Re: FYI: Palm OS 5 Update Release

2004-01-16 Thread Flex
Heh, thanks, hope the simulator will be a little bit usable now :) Personally I woluld prefer USB version of POD or similar. Amy Riha wrote: FYI -- An early update release of Palm OS 5 has been posted in the Development Seeding Area. It includes English, French, Italian, German, Spanish, Japanese

Controls with colors

2004-01-16 Thread [EMAIL PROTECTED]
Could say me anybody how can I change the color of buttons, menu´s tab...? I use CodeWarrior 9.0 and a Tungsten W Thanks for all -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

getting date

2004-01-16 Thread Roberto Pedrozo Mendes
Hi How i can to get date form palm Os ? Thanks = Roberto Pedrozo Mendes Arquiteto Sistemas J2EE CPqD - Campinas [EMAIL PROTECTED] __ Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!

transforming events to string

2004-01-16 Thread Roberto Pedrozo Mendes
Why i need to do to transform a pEvent-eType a String ? I´m building an debug file for my aplication and i want to this debug show to me all the events . Thanks = Roberto Pedrozo Mendes Arquiteto Sistemas J2EE CPqD - Campinas [EMAIL PROTECTED]

RE: transforming events to string

2004-01-16 Thread Caspar Heiden, vd
char eventString[64]; switch(pEvent-eType) { case keyDownEvent: StrCopy(eventString, keyDownEvent); break . . . etc. . . . default: StrCopy(eventString, unknown

How to create a receiver

2004-01-16 Thread R Luna
Hi Friends I create a app. with Net Library, I send Data to Central Server, for TCP/IP protocol, (the server was create in Visual C++) , this working perfect . But now ,I need send data or messages from server to Palm, How to open a port in Palm for receive data? Thank .for your atention

Re: how to get more info on errors, fatal alerts from users

2004-01-16 Thread Roger Stringer
Subject: how to get more info on errors, fatal alerts from users From: Brian Preston [EMAIL PROTECTED] Date: Thu, 15 Jan 2004 09:56:04 -0800 (PST) X-Message-Number: 20 I released my first product about 10 days ago. I've created a Yahoo! group for users to discuss it, report bugs, mention features

Re: Sharing preferences

2004-01-16 Thread Roger Stringer
Subject: Re: Sharing preferences From: Richard Coutts [EMAIL PROTECTED] Date: Thu, 15 Jan 2004 18:02:41 -0500 X-Message-Number: 29 My PDE software comes in six main versions Demo, Evaluation, Personal, Professional:Development, Professional:Runtime and Enterprise:Runtime. All the

about create editbox dynamical

2004-01-16 Thread Armada.li
I use codewarrior9.2,and develop for palmos5. I want to create editbox dynamical.When receive a command,the editbox can change its size and its position. How do I do? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

how do I modify text on button control

2004-01-16 Thread Armada.li
When user input texts,I want to set the texts to the button. How do I do? Thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: getting date

2004-01-16 Thread Dave Lippincott
Read about the Date Manager routines in the SDK docs. - Original Message - From: Roberto Pedrozo Mendes [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, January 16, 2004 7:51 AM Subject: getting date Hi How i can to get date form palm Os ? Thanks =

RE: Different behavior - Emulator vs. M105

2004-01-16 Thread Jim White
Hi! Thanks for the reply. Here is the relevant code: procedure UpdateDisplayDT; var SysTicks : integer; begin case ShackleNum of a bunch of irrelevant code end; // case // the intent of the code below is to set a crude 3-second timer CurrentTickCount := TimGetTicks;

Re: about create editbox dynamical

2004-01-16 Thread Matt Graham
Armada.li wrote: I use codewarrior9.2,and develop for palmos5. I want to create editbox dynamical.When receive a command,the editbox can change its size and its position. How do I do? Might want to check the API documentation under FldSetBounds() -- For information on using the Palm Developer

Re: Different behavior - Emulator vs. M105

2004-01-16 Thread Flex
Hmm... that leads to... remove EvtSetNull... function and in the AppEventLoop where the EvtGetEvent(...,evtWaitForever(or similar)) change to EvtGetEvent(...,SysTicksPerSecond()/3(for example)). This way you are sure a nilevent will be fired every 1/3 of the second... If there are other events it

Re: getting date

2004-01-16 Thread Flex
DateTimeType date; TimSecondsToDateTime(date,TimGetSeconds()); Dave Lippincott wrote: Read about the Date Manager routines in the SDK docs. - Original Message - From: Roberto Pedrozo Mendes [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, January 16, 2004

Re: how to fill the content of an object from more than 1 forms?

2004-01-16 Thread Matt Graham
Depends a lot on what GetFieldText() is doing. Chances are you're not allocating memory to hold the name and ID and just returning a temporary pointer that becomes invalid. Matt John Lai wrote: For simplicity, the following is to get the name from form 1 and get the id from form 2.

Re: store image and display

2004-01-16 Thread SLO Revo News
I want to display bitmap image on palm device. I am able to do it through .rcp file, but i want to do it through windrawbitmap( ) using database. i think i have to store this bitmap image to database resource, but i am not able to do it. We offer a utility that lets you convert BMP images into

Linker error: Structure is undefined...

2004-01-16 Thread Flex
Ok, I found myself looking at Near Data segment bigger than 64K and thinking what to do... First I noticed that PC Relative constant data was turned off so all my const structures were in fact in the data segment. Checked that and resolved a couple of millions Invalid 32bit reference to some

Re: Linker error: Structure is undefined...

2004-01-16 Thread Flex
Sorry ppl, I've fixed it. Don't know how but it's gone and me=(meType *)happy; Have a nice day :) Flex wrote: Ok, I found myself looking at Near Data segment bigger than 64K and thinking what to do... First I noticed that PC Relative constant data was turned off so all my const structures were

Re: Re: how to fill the content of an object from more than 1 forms?

2004-01-16 Thread John Lai
you're right...but how to modify this function? Char* GetFieldText(UInt16 objIndex) { FormType *form = FrmGetActiveForm(); FieldType *field; MemHandle h; Char *s = NULL; field = FrmGetObjectPtr(form, FrmGetObjectIndex(form, objIndex)); if

Re: how to insert my application into network layer of palmos?

2004-01-16 Thread Roger Stringer
Subject: how to insert my application into network layer of palmos? From: Michal Seliga [EMAIL PROTECTED] Date: Thu, 15 Jan 2004 13:59:42 +0100 My problem is like this: application uses tcp/ip to synchronize quite large amount of data and I can do nothing about how it is done. I need to make

Re: getting date

2004-01-16 Thread Sebastian Cancinos
Hello Roberto, Friday, January 16, 2004, 9:51:23 AM, you wrote: RPM Hi RPM How i can to get date form palm Os ? RPM Thanks RPM = RPM Roberto Pedrozo Mendes RPM Arquiteto Sistemas J2EE RPM CPqD - Campinas RPM [EMAIL PROTECTED] RPM

CW9 problema Invalid Pointer

2004-01-16 Thread R Luna
I declare a static Char *DataRow ; but the debugger say me Inavalid Pointer I declare Gobal, Local , Array, Pointer etc but mi app say in debugger Invalid Pointer , the when i get the value my app down What's up? -- For information on using the Palm Developer Forums, or to unsubscribe,

Re: Downloading ROMS

2004-01-16 Thread Patrick Philippot
LionScribe wrote: Don't use the quick link. After you log-in there is a link on the page to get to the Rom images. This link didn't work either but now it does. They apparently fixed the problem with my login without notifying me. Thanks. -- Patrick Philippot - Microsoft MVP [.Net] MainSoft

Treo 600 and PhoneNumberLookupCustom

2004-01-16 Thread Scott D . Schmitz
I am using PhoneNumberLookupCustom in my program in order to allow a user to select a contact record from addressbook. I grab the unique ID and store that in my local database. This all works quite fine on plain vanilla Palm branded Palm OS 4 and 5 devices. I tried on Treo 600 a few weeks

Re: how to fill the content of an object from more than 1 forms?

2004-01-16 Thread Matt Graham
yes, here is your problem. You can't lock a handle get it's pointer then unlock it and return the pointer. You need to have GetFieldText() do 1 of 2 things (it's your choice which) 1) allocate memory, store the text in the allocated memory and return a pointer to this memory. then you have to

Re: CW9 problema Invalid Pointer

2004-01-16 Thread Matt Graham
R Luna wrote: I declare a static Char *DataRow ; but the debugger say me Inavalid Pointer I declare Gobal, Local , Array, Pointer etc but mi app say in debugger Invalid Pointer , the when i get the value my app down I usually get Invalid Pointer when my pointer == 0. Try: DataRow = Hello; and

Re: CW9 problema Invalid Pointer

2004-01-16 Thread R Luna
thank , the solution for the problem was change in the preferences in Languaje Settings - C/C++ Languaje - change Reuse Strings for Pool Strings, Thank's = ;o) Matt Graham [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] R Luna wrote: I declare a static Char *DataRow ;

Test

2004-01-16 Thread Al Gelders
Sorry. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

SslReceive and SslRead

2004-01-16 Thread Vu Pham
PalmOS 5.0 reference lets me know that the SslRead is a convenience cover of SslReceive. Because I need to manipulate the timeout, I use SslReceive instead, but any call to SslReceive makes the simulators ( Treo600, TungstenC, common simulator of PamOS 5 ) and the real Treo 600 devices crash.

Re: SslReceive and SslRead [ problem found in SslLib.h ]

2004-01-16 Thread Vu Pham
In SslLib.h the func SslReceive is declared as follows : Int16 SslReceive(UInt16 refnum,SslContext *ctx,void *buffer,UInt16 bufferLen, UInt16 flags, void *fromAddr, UInt16 fromLen, Int32 timeout,Err *errRet) Note that the fromLen is UInt16, but the PalmOS 5 Ref says it is UInt16 *. After fixing

Zire 71

2004-01-16 Thread Mgh
Hi everybody, i have strange problem im my Zire 71, he is displaying a white screen with Reset button, this button doesn't do anything when i press it, and when i try soft reset the white screen dispears for few than 1 second and reappear, do u have any idea about this problem? i want to avoid

Re: Zire 71

2004-01-16 Thread Vu Pham
- Original Message - From: Mgh [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, January 16, 2004 5:00 PM Subject: Zire 71 Hi everybody, i have strange problem im my Zire 71, he is displaying a white screen with Reset button, this button doesn't do anything

Re: Zire 71

2004-01-16 Thread Mgh
i have a bug in my app i think in the use of my database, but what i am loocking for now is solution! --- Vu Pham [EMAIL PROTECTED] wrote: - Original Message - From: Mgh [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Friday, January 16, 2004 5:00 PM Subject:

Re: Zire 71

2004-01-16 Thread Douglas Handy
Mgh, when i try soft reset the white screen dispears for few than 1 second and reappear, do u have any idea about this problem? i want to avoid hard reset ! You need to perform a no notification reset, by holding down the UP button while performing a reset. Do NOT use the power button. This

Changing prefAutoLockTime

2004-01-16 Thread Chris Mitra
Hi, I have an application which is trying to set the auto lock time on the device: PrefSetPreference(prefAutoLockType, afterPresetDelay); PrefSetPreference(prefAutoLockTime, 600); PrefSetPreference(prefAutoLockTimeFlag, 0); However, these preference changes do not appear to kick in, until you

Re: netlib strange issues

2004-01-16 Thread Nahum Rosinsky
Vu, A zero zero length tcp segment, is equivalent simply to a packet used in cases of urgent notifications against a tcp peer by sending zero-length packets thru the tcp session. In this case the packet seems to be sending a RST (reset) again by using a zero window (common term in sniffer

about 160*160 and 320*320

2004-01-16 Thread armada.li
I use the following code to get the palm screen size: WinScreenMode (winScreenModeGet, width, height, depths, color); I find width and height equal 160 on Sony PEG-TJ25. I read TJ25 manual,and it say 320*320. I use PilRC Designer2.1.3 as my resource editor,and I find I only use 160*160. If I

Re: Help w/ Multiple record lists in pdb file built on desktop

2004-01-16 Thread Chris Tutty
From: steven pautz [EMAIL PROTECTED] We are looking for an example on how to create a pdb on a desktop using multiple record lists. We have looked at pdbc and it lists this feature in its Not Implemented section. PDBGo (www.pdbgo.com) is a scripted pdb reader/writer that will let you create