Re: CreateCustomControl crash (Urs...?)
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.