Try this instead:
err = SysLibFind("Net.lib",&netLibRef);
if (err) {
err = SysLibLoad(sysFileTLibrary,netCreator,&netLibRef);
-Dave
"joe bloggs" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello Forum,
>
> I am running into a challenge with the Net Library.
> Before using the library, my application checks that
> it is installed. If it is not installed it tries to
> install it.
>
> The problem is that when running this program On POSE
> with the M505 Debug ROM, the Net Library only seems to
> install some of the time and not others. Does anyone
> know why that might be?
>
> Below is a snippet of the code:
>
> // Check if Net Lib installed
> err = FtrGet (netFtrCreator, netFtrNumVersion,
> &netLibVer);
> if (err == ftrErrNoSuchFeature)
> {
> // Net Lib not installed. Try installing it.
> err = FtrSet (netFtrCreator, netFtrNumVersion,
> NULL);
>
> if (err)
> return err;
> }
>
> Cheers,
> Joe
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail SpamGuard - Read only the mail you want.
> http://antispam.yahoo.com/tools
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/