• 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: CreateCustomControl crash (Urs...?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CreateCustomControl crash (Urs...?)


  • Subject: Re: CreateCustomControl crash (Urs...?)
  • From: Howard Moon <email@hidden>
  • Date: Mon, 28 Oct 2002 07:58:32 -0800

Urs,
On Saturday, October 26, 2002, at 10:17 AM, Urs Heckmann wrote:

UInt32 myAddress= (UInt32) this;

sprintf ( defString, "com.myGui.main%d.cntrl", myAddress );



If the control already exists (when forgotten to call UnregisterToolboxObjectClass), the address is valid pointer to my class and everything is fine. Still not elegant but obviously no pain...?

Are you sure the address of the callback is valid when the address of the 'this' is identical? I'm not up on how the Mac OS X system arranges memory, but what if 'this' points to the same address as was previously loaded, but the callback address is invalid? Can that happen? Guess I can try and see, huh? :-) Thanks again...

-Howard
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: CreateCustomControl crash (Urs...?) (From: Urs Heckmann <email@hidden>)

  • Prev by Date: Re: CreateCustomControl crash (Urs...?)
  • Next by Date: com.apple.iokit.IOAudioFamily OSBundleLibraries dependency for 10.2
  • Previous by thread: Re: CreateCustomControl crash (Urs...?)
  • Next by thread: AudioUnit ~ AUBase
  • Index(es):
    • Date
    • Thread