I am using NetLibIFGet, but it always returns the
netErrPrefNotFound error, no matter how much I
iterate.
Can anyone suggest why this may be happening? Has
anybody else had this problem? I am using a palm3x
with factory settings.
Thanks!
Paul
P.S. My code looks like this:
Err err;
UInt16 AppNetRefnum=0;
UInt32 ifCreatorP=0;
UInt16 ifInstanceP=0;
UInt32 index=0;
err = SysLibFind("Net.lib", &AppNetRefnum);
if (!err)
{
do
{
err = NetLibIFGet(AppNetRefnum,index,
&ifCreatorP,&ifInstanceP);
index++;
} while (err);
}
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/