I am confused by your usage of "Plug-in."  Is this a Network Prefs Panel
Plugin (i.e. a PRC with the 'NPPI' creator ID?)  That's the only kind of
"plug-in" that I'm aware exists for PalmOS.  If so, email me.

If not, I assume you mean a shared library.  Unless you've burned a new
SmallROM or WholeROM image, you should have no problem opening "Net.lib".  

Try using the OS-defined global, GSysLibNet.  This should always be valid.
You probably should still try and find out why you can't open Netlib, a
library that is installed by default each time the device is reset.  Only if
the device is out of memory should this library not be around, and I suspect
you will have a ton of problems if that's the case.

-Jeff Ishaq
The Windward Group

> -----Original Message-----
> From: Hiroyuki Okamoto [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 26, 1999 1:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Re: SysLibFind("Net.lib") does not work when 
> plug-in calls
> it.
> 
> 
> 
> Greg Winton <[EMAIL PROTECTED]> wrote:
> 
> > At 11:24 AM 7/26/99 -0400, you wrote:
> > >Im writing a plug-in which has a code resource.
> > >In this plug-in, SysLibFind("Net.lib", &refNum) is called.
> > >And my app prc calls this plug-in.
> > >But actually in the plug-in, SysLibFind("Net.lib", 
> &refNum) always returns
> > >sysErrLibNotFound.
> > >
> >
> > What library are you trying to find?  If you are looking 
> for the PalmOS
> > NetLib library, I think you need to drop the '.'  (ie. SysLibFind
> > ("NetLib", &refNum).  I don't remember offhand if this library is
> > automatically loaded, so you may need to load it using SysLibLoad().
> >
> 
> Thank you for your reply. but "Net.lib" is correct.
> "Net.lib" is the name of  PalmOS net library when you call 
> SysLibFind().
> This problem occurs only when plug-in by code resource calls 
> SysLibFind().
> 
> ---
> Hiroyuki Okamoto
> mailto:[EMAIL PROTECTED]
> 
> 
> 
> 
> 

Reply via email to