RE: Non Carbon OT APIs?
RE: Non Carbon OT APIs?
- Subject: RE: Non Carbon OT APIs?
- From: Joe Kelly <email@hidden>
- Date: Fri, 15 Mar 2002 17:02:14 -0800
My shared library was calling InitOpenTransport(), and when I removed the
call, it no longer crashed. FWIW: the app does call
InitOpenTransportInContext() down in the PowerPlant network classes.
Can anyone suggest to a network programming newbie an OS 9 CarbonLib 1.5
alternative to using OTStream calls to get the router's MAC address? (why no
OTGetRouterMacAddress() call? : )
joe
-----Original Message-----
From: Joe Kelly
To: 'email@hidden'
Sent: 3/15/02 3:50 PM
Subject: Non Carbon OT APIs?
(sorry if this email gets repeated... having all sorts of network issues
today : )
I've inherited a application which I've carbonized. It was using Network
Setup (including More Network Setup) to a] rename the current set, b]
create
a new set with with ethernet + dhcp, c] select that new set. In
addition, it
was using OT streams to fetch the MAC address of the router
(OTStreamOpen,
OTStreamClose, OTStreamIoctl). I wrapped all these calls in a shared
library
that links against InterfaceLib, and gets weak linked to my app.
When the app quits, it crashes -- requiring a reboot. When I comment out
the
calls to my shared library, it doesn't crash.
So has anyone experienced crashes or other odd behavior when linking non
Carbon OT apis into Carbon apps? Are there any caveats, known issues, or
other gotchas that I should be aware of?
Thanks,
joe
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.