Hi,
First "Net.lib" is a built-in library. When the fucntion SysLibFind return
0, it's because it was succesful to find the library. The next step is to open
the library and do what you have to do. Here is an example :
UInt16 uAppNetRefnum;
int nRetour;
int nErreur;
UInt16 uIFErreurs;
// Find the library
nErreur = SysLibFind("Net.lib", &uAppNetRefnum);
if(nErreur == 0)
{
// If the library is found, open it
nErreur = NetLibOpen(uAppNetRefnum, &uIFErreurs);
if((nErreur == 0) || (nErreur == netErrAlreadyOpen))
{
// now you can do Internet code
}
}
Best Regards,
Denis
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/