From: Jaco Vis (view other messages by this author) 
Date: Thu, 19 Oct 2000 19:12:48 

>Anyone been able to port the 3.1 sample project Netsample to >3.5? The supplied OS 
>3.5 Netsample
>project does no longer contain the FTP portion, as the 3.1 >version did. I have an 
>application
>based on the netsample for my ftp stuff, but this doesn't >compile under 3.5. I've 
>solved this
>by including the 3.1 header file dataprv.h in my project. >dataprv.h seems no longer 
>supported
>by 3.5 ? Can anyone confirm this? If so, why isn't it?

Yes, I think dataprv.h is no longer in Palm 3.5. I don't know why. What I did is I 
look at dataprv.h, copy the structure defined in there to my program, simplify it and 
use it. I change some variable typed structure to a generic datatype. I also have to 
change (I think a lot) in the name of datatype so my program can run under Palm3.5. 
Mainly, I use UInt8, Int8, UInt8*, Int8*, UInt16.. for all of my variables. Palm 3.5 
doesn't support Ptr (CharPtr, MemPtr...) So you have to use Char*, MemHandle. There is 
a header file you can include (*compatibility.h or st) but it doesn't cover everything 
so I go ahead make the changes once.
If you use a good editor, it won't take too long to make all the changes. There is 
some documents in Palm dev zone about Palm 3.5 that may help, too.

tnn

-----------------------------------------------
FREE! The World's Best Email Address @email.com
Reserve your name now at http://www.email.com



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to