I'm a PalmOS newbie, so I may be doing something wrong, but I
just noticed that this code:

  AppNetRefnum = -1;
  error = SysLibFind("Net.Lib", &AppNetRefnum);

does not return an error (ie. it returns 0), and it does not
set AppNetRefnum (it remains -1 after the call).  If I change 
the call to use the correct name of Net.lib like so:

  error = SysLibFind("Net.lib", &AppNetRefnum);

then it sets AppNetRefnum appropriately. 

Shouldn't the first version have returned an error?


This is under POSE 2.1d29, with my Palm Vx (OS 3.3) ROM, using GCC.

 -w


--
May the forces of evil become confused on the way to your house.


Reply via email to