Re: IsOpenTransportInited
Re: IsOpenTransportInited
- Subject: Re: IsOpenTransportInited
- From: Tomas Zahradnicky <email@hidden>
- Date: Wed, 14 Apr 2004 13:30:40 +0200
At 12:30 +0200 14/4/04, Tomas Zahradnicky wrote:
is OK to use the following code to detect whether CLASSIC OT is initialized?
It'll probably work. However, why not just keep track of whether
you've successfully initialise OT.
err = InitOpenTransport();
gOTInited = (err == noErr);
It's from static library linked to a plug-in and I found that
multiple initializations and terminations caused problems in classic.
Carbon version works fine with multiple
Init/TerminateOpenTransportInContext calls.
Thanks,
Tomas
--
Ing. Tomas Zahradnicky, Jr.
Production Manager, 24U Software
Associate Member, Filemaker Solutions Alliance
mailto:email@hidden
http://www.24uSoftware.com
_______________________________________________
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.