Re: looking for a case-insensitive string search algorithm (that allows non-prefix matches)

2004-09-15 Thread Veronica Loell
Stephen Klein wrote / skrev: [...] > p.s. no need to point me to approaches that assume ASCII characters, since I understand case-insensitivity in that context - it's when we get into alternate character encodings that I don't have a good grasp of what 'case insensitivity' (or accent insensitivi

Linking errors in POSDS

2004-09-15 Thread Pradeepkumar Chaturvedi
Hi All, I need a urgent help and I am highly thankful for that. I am compiling a 68K application and I am getting these errors while compilation. I do not know what to do now. All object files are getting created but IDE not able to link them, probable solution is to change linking order but h

Re: I give up...

2004-09-15 Thread Mike Margerum
Why aren't you just using DmNewRecord? Gary Olmstead wrote: I am creating a database with DmCreateDatabase()and closing it with DmCloseDatabase(). In between, I create new records with DmNewHandle(), MemHandleLock(), then DmWrite() to move a structure into the record, then DmAttachRecord(), and fi

Re: HTTP using NetLib on Treo 600

2004-09-15 Thread Mike Margerum
I definately only use a space before the HTTP/1.1 and it has workded for me on both at&t and sprint. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Palm Os Resource Editor

2004-09-15 Thread Insano R.A.
> to create the header files. But I have not used it. So, what do you use? or better, what do you do? I work with CW 8, with a resource header file create automatic I tried to use PODS 1.0 with xrd2header.xsl, but doesn´t work, because the instalation of Cygwin broke PODS. Are you using the I

Re: hex string to int

2004-09-15 Thread terry markovich
On Tue, 14 Sep 2004 16:57:42 -0700, Jim Duffy wrote: > Hi All, > > Does anyone have some sample code that demonstrates how to convert a hex > > string to an int value? > > For example I need to convert a string like "3F" to an Int16 with a value > of > > 63 > > Can't find any API call that co

Re: DmWrite of Character String

2004-09-15 Thread Matt Graham
pavana shetty wrote: Hi, In my application I try to write a record (the first field is a string) into the database using DmWrite.The retrieval of this record using DmGetRecord displays junk values in the string. Below are the relevant code snippets, typedef struct _SearchRecord { char * strS

Re: HTTP using NetLib on Treo 600

2004-09-15 Thread Kalyan Sakhamuri
Yes, that's exactly what the RFC also states. However, I tried to route a post method from the IE6.0 to a TCP server, I'm hosting here and when I saw the message format, it had a CRLF after the URI. That was the first confusion. Then secondly, with certain devices reporting a HTTP/1.1 400 Bad

Re: HTTP using NetLib on Treo 600

2004-09-15 Thread Simon Dick
Palm Developer Forum wrote on 15/9/04 21:14 >Hello Again, >I've just discovered that, in >the request line of the HTTP >message, I have >it as: >POST >/test/testpage.asp\r\nHTT >P/1.1\r\n (followed by the >headers) > >However, I came across some >posting yesterday, in which >it says that af

Re: HTTP using NetLib on Treo 600

2004-09-15 Thread Kalyan Sakhamuri
Hello Again, I've just discovered that, in the request line of the HTTP message, I have it as: POST /test/testpage.asp\r\nHTTP/1.1\r\n (followed by the headers) However, I came across some posting yesterday, in which it says that after the file (or resource) name, there should be a space (and no

looking for a case-insensitive string search algorithm (that allows non-prefix matches)

2004-09-15 Thread Stephen Klein
Hi, Does anyone know of a good way to perform a case-insensitive search of a large text string for the first occurrence of a small text string - using code that supports non-ASCII character encodings (possibly multiple bytes per character) - and which doesn't restrict matches to beginning a

Re: I give up...

2004-09-15 Thread Gary Olmstead
>Do you call FrmCloseAllForms() at AppStop? Yes. Come to think of it, I didn't check to see where/when the error is generated. I will check on that. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

NetLibSocketAccept help!

2004-09-15 Thread palmDev
i'm writing a simple server that accepts a connection. when the client connects the following code gets executed. the "socket" returned is very large eg: 984. isnt't suppose to be smaller like 2? when debuggin g_socket is 1. g_socket is the master socket i've created using the Open() api. AppNetR

Re: I give up...

2004-09-15 Thread Henk Jonas
DmNewHandle is cool if you want to store it inside a database. Don't free this memory if you allready attached it to the database. Do you call FrmCloseAllForms() at AppStop? Henk Gary Olmstead wrote: I am creating a database with DmCreateDatabase()and closing it with DmCloseDatabase(). In between

Re: suggestions for large help text screen + C programmer 101 memory error

2004-09-15 Thread developer
thanks a bunch -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

I give up...

2004-09-15 Thread Gary Olmstead
I am creating a database with DmCreateDatabase()and closing it with DmCloseDatabase(). In between, I create new records with DmNewHandle(), MemHandleLock(), then DmWrite() to move a structure into the record, then DmAttachRecord(), and finally MemPtrUnlock(). This seems to be working, but I get

Suite Developer Kit tutorial

2004-09-15 Thread Andrea Vi Nieto Eyzaguirr
Hi: I'm having problems configuring the Suite Developer Kit. Does anybody knows of a manual for beginners? -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Syntax coloring in CW 9

2004-09-15 Thread Eric Potter
Phil Lachmann wrote: One of my projects does not show the syntax cloring for macros, palm keywords etc. I have the 'activate browser coloring' option checked and my other projects show the coloring. What option do I need to look at in my project to activate the coloring? Thanks, Phil. Syntax colo

Re: Syntax coloring in CW 9

2004-09-15 Thread Ben Combee
At 10:52 AM 9/15/2004, you wrote: One of my projects does not show the syntax cloring for macros, palm keywords etc. I have the 'activate browser coloring' option checked and my other projects show the coloring. What option do I need to look at in my project to activate the coloring? Have you up

Re: Palm Os Resource Editor

2004-09-15 Thread Eric Potter
Bryan Leong wrote: I be try using Palm OS resource Editor to create my resource file but i cant assign a specified name for the object inside the file. for example a button in a form i want to name it OKButton and used this name in my coding. i read the help file it said we assign on Object Identi

Syntax coloring in CW 9

2004-09-15 Thread Phil Lachmann
One of my projects does not show the syntax cloring for macros, palm keywords etc. I have the 'activate browser coloring' option checked and my other projects show the coloring. What option do I need to look at in my project to activate the coloring? Thanks, Phil. -- For information on using th

Re: sample PNO project hangs on device

2004-09-15 Thread Pjuol Jola
Thanks again. As you can tell I am new to Palm Development. I'm getting quite accustomed to PODS but sadly I can't use it for my plans. I will have to get myself a copy of Codewarrior. As for the Debugger issue, I already defined __OS5DBG__ Thanks again for your help. --- Ben Combee <[EMAIL PR

Re: sample PNO project hangs on device

2004-09-15 Thread Ben Combee
At 09:54 AM 9/15/2004, you wrote: Hello again, I found out that when I remove the AdbDebugxxx statements in the PNO code, the app doesn't crash on the device. What may cause this? It sounds like you aren't initializing the debugger nub correctly. Are you providing the proper define (__OS5DBG__)

Re: sample PNO project hangs on device

2004-09-15 Thread Pjuol Jola
Hello again, I found out that when I remove the AdbDebugxxx statements in the PNO code, the app doesn't crash on the device. What may cause this? I'm looking into purchasing the palm universal serial cable or a serial cradle? Will any of the two will do? Also, can I know what are the limitation

Re: Question on Resource Databases.

2004-09-15 Thread Ben Combee
At 05:57 AM 9/15/2004, you wrote: Can I add resources with the same type and ID of a present resource? Will this overwrite the previous one or will there be two resources with the same type and ID but with different type index? DmNewResource and DmAttachResource will both issues warnings on debug

Re: Reminder: Munich Developer Conference in less than 2 weeks

2004-09-15 Thread Henk Jonas
Patrick Vuichard wrote: In addition to our usual program, there will be some Palm Powered devices sold up to 40% discount, and we should (it's nearly sure, but not definitive) organize a hack contest to win a Segway (). It isn't really Palm Powered, isn't it? CU in Munich

Question on Resource Databases.

2004-09-15 Thread BrownB
Can I add resources with the same type and ID of a present resource? Will this overwrite the previous one or will there be two resources with the same type and ID but with different type index? Thanks for help, BrownB -- For information on using the Palm Developer Forums, or to unsubscribe, ple

Re: Running on device?

2004-09-15 Thread pablo wablo
Hello, it's a Tungsten T2 --- Tim Kostka <[EMAIL PROTECTED]> wrote: > what device is it? > > > "pablo wablo" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] > > Hello I'm having problems running my app in my > > device... > > > > I created a standard PNO project in PODS... My >

DmWrite of Character String

2004-09-15 Thread pavana shetty
Hi, In my application I try to write a record (the first field is a string) into the database using DmWrite.The retrieval of this record using DmGetRecord displays junk values in the string. Below are the relevant code snippets, typedef struct _SearchRecord { char * strSearchName;"Search

Re: jdpalmlib

2004-09-15 Thread Jan Slodicka
Hello, looks like it is a library based on Thomas Lane jpeglib. If so, then you can use the simplest case - supply one row per call: usigned char *row ;// allocated to keep 1 pixel row and scanlines = &row ; max_lines = 1 ; The calls should be repeated while( cinfo->output_scanline < c

Adding list items from a database.

2004-09-15 Thread salil khanwalkar
Hi, I have seen the knowledge Base for creating dynamic lists. In my application i want to display searched records in a list box. The stringCount will be the number of records that i find. So it will change during every search. Once i find a record i want to add it to Char** itemList , i will the

Reminder: Munich Developer Conference in less than 2 weeks

2004-09-15 Thread Patrick Vuichard
Hello, just a quick word to remind european developers that we're holding our conference in Munich in a little less than 3 weeks. If you've never come to one of our conferences, it's a great place to learn about the future of Palm OS, meet our engineers, offer me a beer, and also network with a

Palm Os Resource Editor

2004-09-15 Thread Bryan Leong
I be try using Palm OS resource Editor to create my resource file but i cant assign a specified name for the object inside the file. for example a button in a form i want to name it OKButton and used this name in my coding. i read the help file it said we assign on Object Identifier field but i

Re: when i added .rsrc file in code warrior 9.0

2004-09-15 Thread Ben Combee
At 01:10 AM 9/15/2004, you wrote: hello all , when i added .rsrc( generated from construtor ) , i get a error message : "At least one file could not be added to the selected target(s)" is there any problem with my codewarrier , i want to use constructor and codewarrior 9.0 another thing is that