• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IsOpenTransportInited
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: IsOpenTransportInited
      • From: Quinn <email@hidden>
References: 
 >IsOpenTransportInited (From: Tomas Zahradnicky <email@hidden>)
 >Re: IsOpenTransportInited (From: Quinn <email@hidden>)

  • Prev by Date: Re: IsOpenTransportInited
  • Next by Date: Re: IsOpenTransportInited
  • Previous by thread: Re: IsOpenTransportInited
  • Next by thread: Re: IsOpenTransportInited
  • Index(es):
    • Date
    • Thread