16 bit to 32 bit - Watcom C ( not related to Palm)

2003-03-25 Thread Nihar Desai
my interest? I would really appreciate if someone can point me to the right direction. If anybody has worked on something similar, I would like to correspond with you. You may mail me privately cause it may not be of general interest to the group. Sorry again. Thanks and Regards, Nihar Desai So

FW: NetError 1205 on OS5 simulator

2003-01-13 Thread Nihar Desai
sorry for the typo! -Original Message- From: Nihar Desai [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 12:22 PM To: Palm Developer Forum Subject: NetError 1205 on OS5 emulator Grettings! I have an application which uses NetLib extensively. It works great on PalmOS emulator

NetError 1205 on OS5 emulator

2003-01-12 Thread Nihar Desai
then "Disconnect", my application works like a charm!! I dont change any of the network settings! I just do the connect, disconnect sequence and the "No more socket" error is gone!!! I am using CW8.3 with 4.1 SDK thanks and regards, Nihar Desai Software Engineer Pa

Moving from emulator to device

2002-07-16 Thread Nihar Desai
Hi friends, With the help from all of you, I have completed my demo project on time (demo coz its still on the emulator) Its a multisegmented application using NetLib calls. It is working well on the emulator with OS 4.1 debug rom and m505 device. Shortly I'll receive my m130 and Xircom wireles

Re: An integer field with repeating buttons

2002-07-09 Thread Nihar Desai
Hi, I use two repeat button with their graphical property enabled. Make two bitmaps for the up and down indicators and enable the number property for field. Trap the repeat event for the buttons and increment or decrement the way you like it! works pretty cool but take care of the sizing and plac

Translation Resource

2002-06-26 Thread Nihar Desai
Greetings! Has anybody used the translation resource in pilrc? Can you please point me to some literature or examples regarding the same. theres hardly any documentation with falch.net. also I couldnt find any example at sourceforge as is mentioned in falch help. Once i kept the control on the fo

Re: "No more sockets" error on OS5 simulator

2002-06-18 Thread Nihar Desai
Here is the beginging of the code I use to open the socket. This works fine on m505 OS4.1 debug ROM *** err = SysLibFind ("Net.Lib", &AppNetRefnum); if (err != 0) { err = SysLibLoad(sysFileTLibrary, sysFileCNet,&AppNetRefnum

"No more sockets" error on OS5 simulator

2002-06-15 Thread Nihar Desai
Hi friends Palm recently released the final version of the simulator for PalmOS5. When I unzipped the downloaded file I found to my horror that it was the same dr12 (at least the directory inside the unzipped file said so! also the same version no. 5.1.0.28) on which my application didnot work.

RE: Unanswered :( !!

2002-06-09 Thread Nihar Desai
stions.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Sabram Sent: Monday, June 10, 2002 2:28 AM To: Communication Developer Forum Subject: Re: Unanswered :( !! Nihar Desai wrote: >Hi frnds! > >Since a last number of days my quest

"No more sockets" in simulator

2002-06-07 Thread Nihar Desai
I am opening a socket to a remote server using netlib. My code works fine on poser3.5 with OS4.1 ROM. But it does not work on palmos5 simulator dr12! The error alert says "No more sockets Net1205" and I havent even opened one socket! I have checked "redirect calls" also i removed the virtual

Unanswered :( !!

2002-06-05 Thread Nihar Desai
Hi frnds! Since a last number of days my questions have remained unanswered. I dont think they were quite stupid or so simple to get a SFW reply! neways a probable reason could be that my system date is pretty out of date...talk about CMOS batteries... and my luck to get a new comp again which

Timeout in EvtGetEvent()

2002-06-02 Thread Nihar Desai
Greetings! I am connecting my palm to a server using tcp/ip and netlib libraries. I have to do a asynchronous data receive so I have used NetLibSelect in the event loop. But I have to set a valid timeout value(not a wait forever) in the EvtGetEvent() function for this to work. Now my concern is t

Get the size of received data

2002-05-31 Thread Nihar Desai
Hi fellas! I have opened a socket and am reading from it. I dont know what will be the size of the data to be received so I dont know how much buffer space to assign to the store the data. Is there any way I can get the number of bytes received without actually storing it? I tried NetLibReceive w

Re: Saving the selected text from a field

2002-05-30 Thread Nihar Desai
You are right.. actually i was playing with the clipboard so it was fine with me... This is a very poor way to do it, because you are overwriting the clipboard, even though the user has not asked you to do this. Here is how I would do it (untested code with no error checking): UInt16 s,e;

NetLibSettingGet again!!

2002-05-30 Thread Nihar Desai
Hi I did some more poking around with NetLibSettingGet and found something interesting or maybe my ignorance! :) If i set the host name by NetLibSettingSet(AppNetRefnum, netSettingHostName, "MyPCName", nLength); and then do a NetLibSettingGet(AppNetRefnum, netSettingHostName, strHostName, &nL

Re:Saving the selected text from a field

2002-05-30 Thread Nihar Desai
Hi This is how I did it. May be there's a better way?? Read the help of ClipboardGetItem. FldCopy(fldP); hTemp = ClipboardGetItem(clipboardText,&nLen); strTemp = MemHandleLock(hTemp); strTemp2 = MemPtrNew(nLen+1); for(i=0;ihttp://www.palmos.com/dev/suppo

Re: Resending NetLibSettingGet

2002-05-28 Thread Nihar Desai
et the "Incomplete setup.." error, I always get the host IP correct the first time after reset. > > Have I missed anything? or is there any other method to get host IP address. > Please enlighten me!! > > Thanks in advance > > Nihar Desai > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Re: Problem getting the host IP

2002-05-28 Thread Nihar Desai
What do i check there? I have checked "Redirect tcp/ip calls to host..." in POSE. Its a OS4.1 debug ROM. regards Nihar Subject: Re: Problem getting the host IP From: Steve Mann <[EMAIL PROTECTED]> Date: Mon, 27 May 2002 10:34:07 -0700 X-Message-Number: 29 >Have I missed anything? or is there an

Problem getting the host IP

2002-05-26 Thread Nihar Desai
st IP!!! other times it gives me memory error!! Specifically although I get the "Incomplete setup.." error, I always get the host IP correct the first time after reset. Have I missed anything? or is there any other method to get host IP address. Please enlighten me!! Thanks in advanc

Problem with NetLibSettingGet

2002-05-16 Thread Nihar Desai
Hi fellas I didnt get a reply to my last question. Hope I get it this time. I have to get the IP address of the host so i use NetLibSettingGet(..."HostName"... ) to get the host name and then NetLibGetHostByName() to get the host IP address. But NetLibSettingGet() gives an error which when displ

NetLibSettingGet

2002-05-13 Thread Nihar Desai
tings (Net121A)" The intriguing this is that despite of this error, many a times I do get the correct host IP!!! other times it gives me memory error!! Have I missed anything? or is there any other method to get host IP address. thanks in advance Nihar Desai SE Patni Computer Systems Limited A-

Re: Resending: Port doesnot Close

2002-05-12 Thread Nihar Desai
thnaks gary it worked i also had to do change in win2k registry tcptimedwaitdelay = 30(decimal) thanks again nihar Subject: Re: Resending: Port doesnot Close From: "Palm Dev Forum" <[EMAIL PROTECTED]> Date: Sat, 11 May 2002 15:19:52 -0400 X-Message-Number: 9 Linger. Search this forum for Ling

Port doesnot close

2002-05-11 Thread Nihar Desai
. newayz is this the cause of problem for the port in use error?? regards Nihar Desai SE Patni Computer Systems Limited A-78/9, GIDC Electronic Estate, Sector 25 Gandhinagar - 382 044. India Tel: 91 79 3240905 ext. 341 Fax: 91 79 3238913 http://www.patni.com World-Wide Partnerships. World-Class

Resending: Port doesnot Close

2002-05-10 Thread Nihar Desai
command gives me a "Port in use" error. i have to wait for about 3-4 minutes before I can connect again. Do I need to do anything else?? thanks in advance Nihar Desai SE Patni Computer Systems Limited A-78/9, GIDC Electronic Estate, Sector 25 Gandhinagar - 382 044. India Tel: 91 79 3240905 ex

Debugging stops in falch.net

2002-05-10 Thread Nihar Desai
all!!! also is there any list of known bugs with the software?? where can i find it?? Nihar Desai SE Patni Computer Systems Limited A-78/9, GIDC Electronic Estate, Sector 25 Gandhinagar - 382 044. India Tel: 91 79 3240905 ext. 341 Fax: 91 79 3238913 http://www.patni.com World-Wide Partnerships

port doesnot close

2002-05-10 Thread Nihar Desai
rects netlib calls to windows. I have searched the mailing list but was not able to get nething substantial. there was something on port linger but that was for 3-4 seconds and not minutes Nihar Desai SE Patni Computer Systems Limited A-78/9, GIDC Electronic Estate, Sector 25 Gandhinagar - 382 044.

Table checkboxes

2002-05-06 Thread Nihar Desai
Hi all, I have tables wherein there is a column of checkbox and the other columns are label items. Now I have to read the rows where the user has ticked the check boxes. what I do for scrolling like this: if I have 14 records and 7 visible rows, I fill the first 7 rows with the first 7 records,

Rows dont redraw

2002-04-25 Thread Nihar Desai
Hi fellas again the mighty table has got the better of me!!! I have to put a vertical scrollbar on the table. Since I dont have a lot of recrods to display (hardly 20), i follow the foll strategy. I initialize all the rows with data. There can be 7 visible rows in the table so i set the first 7

Number of Rows

2002-04-25 Thread Nihar Desai
Hi, I have made a table with 100 rows and 3 cols in design time. I set all the cells as labelitem and fill them with some dummy string. Only 10 rows are visible on form open. the function tblGetNumberOfRows() says that it will give the number of visible rows. but i get the value 100??? i know i'm

Increase number of Rows

2002-04-25 Thread Nihar Desai
Hi, Can we dynamically increase the number of rows in a table?? i.e if I define rows=20 in the resource file, can I increase it to 30 in runtime?? thanks in advance Nihar P a t n i, Gandhinagar, India. Tel:+91-79-3240905 (xtn:341), Fax:+91-79-3238913 -- For information on using the Palm Develo

Invisible columns in table

2002-04-24 Thread Nihar Desai
Hi All I have to store data in a table. My requirement is that only one column should be visible and rest all columns should be invisible. So basically I need to store strings in invisible columns. for example I have to store Employee Name and Employee ID in the table Employee Name will be the v

Collection object

2002-04-19 Thread Nihar Desai
Hi fellas Is there anything similar to the collection objects in palm os?? something like cPtrList in VC++ or vector datatype in java?? I am coding in C so i cant use c++ datatypes. Basically I have a delimited string which contains records from a SQL database. I have to store it in proper form a

Debugging Shared Library

2002-04-17 Thread Nihar Desai
Hi fellas I am using Falch.Net v2.6. How do i debug shared libraries? I have to develop a shared library with function which will send and recieve strings and a few other comm functions over a tcp/ip network. so i have to use the netlib library for that. can i load the netllib shared library in

HELP!!!!!i am completely stuck with the listbox!!!

2002-04-11 Thread Nihar Desai
Hi fellas I am again posting this problem with the hope that someone somewhere might come to my rescue I have this problem with filling a list box!!! Can someone help me out i have a delimited string eg Water~Milk~Coke~Pizza## and i want to store this in an array of strings i.e ReadArr

Help in filling a ListBox!!

2002-04-11 Thread Nihar Desai
Hi fellas I have this problem with filling a list box!!! Can someone help me out i have a delimited string eg Water~Milk~Coke~Pizza## and i want to store this in an array of strings i.e ReadArray[0]=Water ReadArray{1]=Milk etc. ReadArray is of type Char** i need this coz i have to fill