Re: Off-topic: PalmOS or WinCE

2005-03-16 Thread ABX
Michael R. Cooper [EMAIL PROTECTED]: It seems that if one thinks ahead, the coding between the two can be *almost* the same... AFAIK in the wxWidgets toolkit wxWinCE port works fine on PocketPC and probably fine on MS Smartphones (have to polish a few things), http://abx.art.pl/wx/wince/ and

M-Systems' DiskOnChip H

2005-03-16 Thread Corrado
What about this news ?? http://www.m-systems.com/content/Corporate/Press/prInfo.asp?id=754 -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Notifications buggy on NVFS as well?

2005-03-16 Thread Jan Slodicka
No reaction? This might be the worst problem of all NVFS-related problems. It simply means that the presence of programs like TextPlus, ClipPro, ScrShot etc. may cause the crash of your program, while the user will attribute the problem to you. Jan Slodicka - Original Message - From:

RE: M-Systems' DiskOnChip H

2005-03-16 Thread Jeffry Loucks
If a couple of megabytes isn't reliable, why on earth would I jeopardize 2 Gigabytes? Pardon my attitude, but the PalmSource FFS gives me the creeps. I don't know where my data is, when it's safe and when it's not. They could offer 2 Terabytes and it wouldn't make any difference. Here's hoping

Re: Off-topic: PalmOS or WinCE

2005-03-16 Thread Jim Cooper
However, CASLpro can. I would question whether having to write C code means CASL supports the whole API :-) It's not unique in that regard either. AFAIK both SF and NSBasic allow extensions to be written like that. However, using ifdefs to segment out the Palm specific code you can also

Re: Off-topic: PalmOS or WinCE

2005-03-16 Thread Jim Cooper
Anyway, I will look at all tools mentioned, but will likely push customers towards PalmOS. The PalmOS is definitely easier for end-users. For developers I'm not so sure :-) It seems that if one thinks ahead, the coding between the two can be *almost* the same... simply letting the compiler

Re: Seeking bespoke Palm OS developer / quote

2005-03-16 Thread Jim Cooper
it's not as big an issue as your suggesting. Not so much big issues, as ones I think he should be aware of :-) People tend to make assumptions based on the way PCs do things. That's one less thing the maintenance developer has to learn. Well, you take away one thing and add another - you have

RE: Notifications buggy on NVFS as well?

2005-03-16 Thread Jeffry Loucks
Yes, that's probably some of what we've seen, too. Our company has put T5/650 dev on hold. The NVFS has thrown us too big a curve. We have a DM intensive app, with many small and large records, lots of notifications and intensive NetLib activity. It was hard enough on the much more reliable

Re: Off-topic: PalmOS or WinCE

2005-03-16 Thread Jim Cooper
I' wouldn't say 'very easy to learn' Well, I can only go by me experience :-) For one of my conference sessions on PalmOS programming I tried to write the same simple data entry app in several PalmOS dev tools. PocketStudio (a Pascal API level tool) was actually the easiest :-) Things like

Re: PalmSim.exe error

2005-03-16 Thread versha khar
first error - If i give my domain name as www.xyz.com in NetLibGetHostByName , i get Palmsim.exe error . But if i give as http://www.xyz.com it doesnt? which is the correct way? second problem i have in my prog attached below do i need to call NetLibsend ..if i just want to store data what i

error - buffer isn't large enough for the purpose

2005-03-16 Thread versha khar
hi all , i am running a network communication program , my NetLibReceive gives an error , buffer isn't large enough for data. but the data i get from the server is very small . str = MemPtrNew( sizeof( char ) * 500 ); result = NetLibReceive(AppNetRefnum , socket ,str , 1000 , 0

RE: error - buffer isn't large enough for the purpose

2005-03-16 Thread Jeffry Loucks
First off, you allocate 500 bytes and then tell NetLibReceive() you have room for 1000 bytes. Second, you are passing the address of the pointer to your buffer, not the address of the buffer. Try: #define kBufSize 1000 void *str = MemPtrNew(kBufSize); Int16 result =

Treo 650 slow on first search

2005-03-16 Thread Stefano
Hi all, I have tried an application written by me in the past on a real Treo 650 device. While in older devices (from PalmOS 3.5 to Tungsten C / Treo 600) it runs correctly, on Treo 650 during an items search operation it has a particular behaviour: on the first search, it is particularly

establishing internet connection with simulator 5 using network programming

2005-03-16 Thread rupesh kumar
i am using simulator 5 for testing my application.i want to connect my application to internet using NetLibReceive to fetch data from any web site. how this can be done.if possible send code for this. -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Treo 650 slow on first search

2005-03-16 Thread Jan Slodicka
The records have to be moved to the DbCache on the first access. Unless the DB is too large they will stay there thereafter. Best regards, Jan Slodicka - Original Message - From: Stefano [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Wednesday, March

Re: Seeking bespoke Palm OS developer / quote

2005-03-16 Thread Callum Macdonald
Do you mean something that records how long activities have taken (eg a timesheet entry program)? Effectively yes, although it would record how long resources have spent working on an activity. I'm not sure if it makes much difference, but activities may be returned to, so multiple resources

Re: Seeking bespoke Palm OS developer / quote

2005-03-16 Thread Chris Tutty
From: Jim Cooper [EMAIL PROTECTED] That's one less thing the maintenance developer has to learn. Well, you take away one thing and add another - you have to get at the data in the backed up pdb file somehow :-) If you need to sync/transfer data you need to write that piece somewhere.

Re: Seeking bespoke Palm hardware

2005-03-16 Thread Chris Tutty
From: Callum Macdonald [EMAIL PROTECTED] In addition to the software development, we're also looking to mount a contactless reader of some sort on a Palm powered device and enclose the whole thing in as in-destructable a case as we can get! (snip) Can anyone recommend where I might find

NetLibReceive has return value -1 : socket shutdown by remote host

2005-03-16 Thread versha khar
In my network application on Simulator5 using codewarrior8.0 ,i am using NetLibReceive function call , and the returned value is -1 , PalmOs API References says that this is because The remote host shuts down the socket? Why is this happening? i am unable to understand! can i use some

Re: NetLibReceive has return value -1 : socket shutdown by remote host

2005-03-16 Thread Vladimir Lozhnikov
check your code on device only (not simulator) vk In my network application on Simulator5 using codewarrior8.0 ,i am using NetLibReceive function call , and the returned value is -1 , PalmOs API References says that this is because The remote vk host shuts down the socket? vk Why is this

Re: PalmSim.exe error

2005-03-16 Thread Miguel Angel Sotomayor Hernandez
What error code do you get when using www.xyz.com (or the real host name). The error codes are very explicit. It seems you are trying to connect to a webserver. If you are, then keep reading, else, don't. Since you are connecting to a web server (right?) You won't get any data if you don't

Extended Sound vs Sampled Sound

2005-03-16 Thread Eric Potter
Is there a difference between the Extended Sound functionality described in the T|T SDK sample code and the Sampled Sound functions defined in the Palm OS 5.4 API reference? If they are different, which one should I use when developing for a T3? Eric -- For information on using the Palm

Re: Off-topic: PalmOS or WinCE

2005-03-16 Thread David Thacker
Michael R. Cooper [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All... Just new to the PDA programming and looking to add PDA integration to some of our products, so I have a few questions that I was hoping to get real developer feedback from: 1. I seem to like the PalmOS

Re: NetLibReceive has return value -1 : socket shutdown by remote host

2005-03-16 Thread Ben Combee
i am new to Palm Network programming. suggestions are welcomed! Get and read the O'Reilly book Palm OS Network Programming... it's my favorite guide to NetLib usage on the device. -- Ben Combee, Senior Software Engineer, palmOne, Inc. Combee on Palm OS weblog: http://palmos.combee.net/

Re: Off-topic: PalmOS or WinCE

2005-03-16 Thread Michael R. Cooper
Thanks David! -- Grasp Software Corporation www.grasp.ca David Thacker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Michael R. Cooper [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All... Just new to the PDA programming and looking to add PDA integration to

Lost syntax coloring

2005-03-16 Thread Timothy Dean
Some of my files are coming in without any syntax coloring (all black and white) in my code warrior IDE. These files were previously shown as colored and some of my other files are still showing as colored. No mater what I do in preferences, I can't seem to get it back. Any ideas? Thanks.

Re: Lost syntax coloring

2005-03-16 Thread Adrien Regimbald
Hello Timothy, I hate to suggest this, but just in case: have you removed the object code from the project lately? If you disassemble your project, the syntax highlighting won't display. Try recompiling the project and see if that helps. Adrien. Wednesday, March 16, 2005, 9:58:22 AM, you wrote:

Maybe a problem with libgcc.a

2005-03-16 Thread BrownB
Hello, I've got this problem: I'm compiling CPP files and C files, with PRCTools, but whenever my application tries to use new it happens a Fatal Exception, because of a jump to a strange location (0x030006e50). Anyone has ideas? It's 5 days I'm blocked on this problem... Thank you for help,

Spanning data over multiple records

2005-03-16 Thread Zakai Hamilton
Is there an easy way to read/write data over multiple records? This is so I can take a 256K stream and span it over multiple 32K records. However I want to use the PalmOS DB API not the File API because of the double buffering overhead. -- For information on using the Palm Developer Forums, or

Re: Maybe a problem with libgcc.a

2005-03-16 Thread Cory Pratt
I use new all the time. The only issue I've seen is that if you run out of memory, new still calls the constructor for the object. So, in all of my constructors I have: if (!this) return; BrownB wrote: Hello, I've got this problem: I'm compiling CPP files and C files, with PRCTools,

Re: Seeking bespoke Palm OS developer / quote

2005-03-16 Thread Jim Cooper
I was never really happy with having to install an entirely different development environment just to compile the page of code that does the sync. I use that development environment in other work too, it's not just for conduits :-) Most programmers don't make their living writing Palm code, and

Development Time

2005-03-16 Thread Fernando
I think the following inforamation might be useful for me and anybody starting out, give a one line description of the smallest project that you ever worked on that required data synchronization and how long it took you from start to finish.. Fernando PS I know a one line description is very

Re: Lost syntax coloring

2005-03-16 Thread Regis St-Gelais
Timothy Dean [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Some of my files are coming in without any syntax coloring (all black and white) in my code warrior IDE. These files were previously shown as colored and some of my other files are still showing as colored.

RE: Development Time

2005-03-16 Thread John Sutton
Data collection in back office environment synchronizing to a back end M$ SQL Server. Palm OS bit - 3 months (including learning curve of CW IDE etc) Conduit bit - 1 month (including learning curve of CDK) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: Development Time

2005-03-16 Thread Fernando
Thanks John I am glad you included your learning curve time Regards Fernando -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of John Sutton Sent: Wednesday, March 16, 2005 12:59 PM To: Palm Developer Forum Subject: RE: Development Time Data collection in

Re: error - buffer isn't large enough for the purpose

2005-03-16 Thread Logan Shaw
versha khar wrote: i am running a network communication program , my NetLibReceive gives an error , buffer isn't large enough for data. but the data i get from the server is very small . str = MemPtrNew( sizeof( char ) * 500 ); If you are writing in the C (or C++) programming language,

AlmSetProcAlarm turns on the screen on T5

2005-03-16 Thread Aaron Hansen
Hey Folks, I built a simple test app in CW9. I used the app wizard and added a procedure alarm. The callback only sets another procedure alarm 10 seconds in the future. I found that when the T5 is turned off, this alarm turns on the screen when it fires. Is this a known issue? My

Please Help!!: Best way to find out if the device is in sleep mode

2005-03-16 Thread Sohil Shah
What is the best way to find out if the device is in sleep mode. I have a procedure alarm that needs to execute its code only if the device is in sleep mode. If the device is in use by the user, the function must simply exit. Is there any API call to find out what mode the device is currently

RE: Please Help!!: Best way to find out if the device is in sleep mode

2005-03-16 Thread Aaron Hansen
You can register for notifications that will tell you when the device goes to sleep and when the device wakes up. I would just capture those and set some status in your app (maybe use feature memory) that you could check to see if it's ok to run or not. Note my email earlier that procedure

Busy socket error when using non-blocking sockets

2005-03-16 Thread Joe Fant
I'm trying to convert a program from using blocking sockets to non-blocking sockets and have modeled my program closely after the sample in Greg Winton's Palm OS Network Programming book. I can succeed in putting the socket into non-blocking mode using the NetLibSocketOptionSet immediately

Re: Development Time

2005-03-16 Thread Jim Cooper
Beer tasting notes program as one of the demos for a conference session. Palm - 5 minutes until I got bored and drew little beer mugs instead of just displaying an integer rating, so another 10 minutes or so (I'm not that good with Paint). PocketStudio generated the code, which is why it was so

RE: Please Help!!: Best way to find out if the device is in sleep mode

2005-03-16 Thread Sohil Shah
Thanks for your relpy. I am running into some other issues using this approach. I tried the following: handle the sysNotifySleepNotifyEvent - this time I save the status so that my application knows that the device is sleeping handle the sysNotifyLateWakeupEvent - this time I toggle the status

re: NetLibReceive has return value -1 : socket shutdown by remote host

2005-03-16 Thread Joe Fant
What is returned by the errP parameter in the NetLibReceive call? This will give you a better idea of why NetLibReceive is unhappy. Setting non-blocking mode is accomplished by: flag = true; i16Result = NetLibSocketOptionSet(u16libRefNum, i16socketRefnum, netSocketOptLevelSocket,

False secion errors in PODS

2005-03-16 Thread Stadin, Benjamin
Hi, I just want to report a minor issue in PODS: I have a C file in which I put every function in EXTRA_SECTION_THREE (the .h declares only few prototypes). Every function, beside the last, looks like: int foo () { }EXTRA_SECTION_THREE 1) That compiles without complains. Notice here that

where to download Treo650 simulator?

2005-03-16 Thread mguo
It always takes a long time to find something in either palmsource or palmone website. Can anybody help me? thanks -ming -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Development Time

2005-03-16 Thread John Sutton
Jim, Don't waste your time with paint, code your own bitmaps with a hex editor next time. Cheers John -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Cooper Sent: 16 March 2005 23:43 To: Palm Developer Forum Subject: Re: Development Time Beer

RE: AlmSetProcAlarm turns on the screen on T5

2005-03-16 Thread John Sutton
What are you doing inside your procalarm function? Some calls can cause the device to wake up. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Hansen Sent: 16 March 2005 21:50 To: Palm Developer Forum Subject: AlmSetProcAlarm turns on the screen on

Re: Development Time

2005-03-16 Thread Logan Shaw
John Sutton wrote: Don't waste your time with paint, code your own bitmaps with a hex editor next time. Don't laugh. That's how you had to make custom fonts in TI-BASIC on the TI99 4/A. I remember reaching the point where I could kind of think of fonts semi-directly in hex. - Logan --

re: where to download Treo650 simulator?

2005-03-16 Thread Tony Yat-Tung Cheung
Have you visited the http://pluggedin.palmone.com? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Help with 64k limit

2005-03-16 Thread Stadin, Benjamin
Hi, Could you please give an example on how to do this? I'm stuck at this point with PODS. regards, Benjamin Variables are not put into segments. The only way to get more data space is to use CodeWarrior's expanded mode with CodeWarrior, although that's really a last resort, IMO.

Re: Help with 64k limit

2005-03-16 Thread Stadin, Benjamin
Sorry, somehow the original thread got lost. My problem is that I have some globals variables with static text (for my About form with large text and scrollbar and other things). I haven't figured out how to store this text anywhere else, segments don't seem to work. Regards, Benjamin -- For

re: NetLibReceive has return value -1 : socket shutdown by remote host

2005-03-16 Thread versha khar
thanks for the reply. errP parameter in the NetLibReceive call does not return any error i have checked for all the possible error values.Thats the most surprising thing...i will try with the nonblocking method now and lets see if that solves my problem.Thanks a lot. regards versha -- For

Re: How to pass information to the handler of a popup form?

2005-03-16 Thread Luc Le Blanc
Robert Moynihan a écrit : One of the forms of my application displays a list of entries. I want, when the user taps on one of the displayed entries, to pop up a new form, containing more information about that entry. Now, I can intercept the entry selection by intercepting the

sslwrite() return -1 when I set non-blockin to socket

2005-03-16 Thread qqbell
I am trying to add SSL to my application. I also found that SslRead() will never return, unless I set the socket to non-blocking. After I set the socket to nonblocking after SslOpen() returns, I perform a SslWrite() and then a SslRead(). Both seem to work fine. But then when I perform

Reassembling fragments (WAP SAR)

2005-03-16 Thread Donald C. Kirker
Hello, I posted something similar to this a while back, but am still having trouble. I am trying to re-assemble packets that my program receives using the WAP WTP protocol with Segmentation and Reassembly. It looks as if some data is making it into the data global in SARType, but not all, and I

Re: Help with 64k limit

2005-03-16 Thread Logan Shaw
Stadin, Benjamin wrote: Sorry, somehow the original thread got lost. My problem is that I have some globals variables with static text (for my About form with large text and scrollbar and other things). I haven't figured out how to store this text anywhere else, segments don't seem to work.

Re: How to pass information to the handler of a popup form?

2005-03-16 Thread Chris Tutty
From: Vesselin Bontchev [EMAIL PROTECTED] One of the forms of my application displays a list of entries. I want, when the user taps on one of the displayed entries, to pop up a new form, containing more information about that entry. Somebody else suggested to me to stuff a custom event in the

re: NetLibReceive has return value -1 : socket shutdown by remote host

2005-03-16 Thread versha khar
i tried the NetLibSocketOptionSet(parameters as nonblocking) - after NetLibSocketOpen and before NetLibSocketConnect - i am getting netErrWouldBlock error in NetLibSocketConnect. In NetLibreceive the return value is 0 i.e the socket has been shutdown by remote host...the errP parameter here

Re: Maybe a problem with libgcc.a

2005-03-16 Thread BrownB
My problem isn't related to the memory usage, because if I use MemPtrNew() to allocate the object, I have no errors. In which segment do you place the contructor? Is this detail important? -- For information on using the Palm Developer Forums, or to unsubscribe, please see