on the arm side the code given previously works...on 68k strangely does not...

On 3/19/07, Luca Bertoncello <[EMAIL PROTECTED]> wrote:
Luca Bertoncello <[EMAIL PROTECTED]> schrieb:

> "Jeff Loucks" <[EMAIL PROTECTED]> schrieb:
>
> > Like I said, I stripped this down from some more complex code, so you
> > may have to play with it a bit. What is probably happening is that
> > NetLibIFGet() is returning another kind of error than the two expected.
> > Check for netErrUnknownSetting, which means you're done, and
> > netErrPrefNotFound, which means the instance hasn't sufficient info. Any
> > other error is probably telling you NetLib isn't happy, which means you
> > don't have a newtwork.
>
> So, I made some experiments...
>
> First: NetLibIFGet returns netErrInterfaceNotFound instead of
> netErrInvalidInterface when the interface number is not valid...
> Second: NetLibIFSettingGet will ALWAYS return 0 for netIFSettingUp

Some other information...
If I call NetLibOpen BEFORE NetLibIFSettingGet I can get the right values
(for example the interface names).
But if I don't call NetLibOpen I get always trash...

So, it seems it is necessary to call NetLibOpen before all other functions,
but if I call NetLibOpen, it tries to estabilish a connection...

Any idea for a solution?

Thanks
Luca Bertoncello
([EMAIL PROTECTED])

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/



--
Best Regards, Dmitry Grinberg
Software Engineer, http://PalmPowerups.com
(847) 226 9295
AIM: DmitryGrinberg
MSN: [EMAIL PROTECTED]
ICQ: 165589894
Y! IM: dmitrygr2003

--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to