Csound Csound-dev Csound-tekno Search About

[Cs-dev] Csound API: SetMessageCallback(NULL)

Date2011-12-19 11:49
FromSigurd Saue
Subject[Cs-dev] Csound API: SetMessageCallback(NULL)
It seems that setting csound_->SetMessageCallback(NULL) prior to deleting the csound_ instance, is a very bad idea in Csound version 5.12 (immediate crash), but that it works in 5.13 and later. Should we still avoid using SetMessageCallback(NULL) to remove callbacks or is it OK in general now?

Sigurd

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-12-19 12:41
FromVictor Lazzarini
SubjectRe: [Cs-dev] Csound API: SetMessageCallback(NULL)
I don't  think you actually need to do that, unless there is a specific reason in your code to do so.

Victor
On 19 Dec 2011, at 11:49, Sigurd Saue wrote:

> It seems that setting csound_->SetMessageCallback(NULL) prior to deleting the csound_ instance, is a very bad idea in Csound version 5.12 (immediate crash), but that it works in 5.13 and later. Should we still avoid using SetMessageCallback(NULL) to remove callbacks or is it OK in general now?
> 
> Sigurd
> 
> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for 
> developers. It will provide a great way to learn Windows Azure and what it 
> provides. You can attend the event by watching it streamed LIVE online.  
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2011-12-19 17:17
FromSigurd Saue
SubjectRe: [Cs-dev] Csound API: SetMessageCallback(NULL)
All right. I'll just remove it then. Thanks.

Sigurd
________________________________________
Fra: Victor Lazzarini [Victor.Lazzarini@nuim.ie]
Sendt: 19. desember 2011 13:41
Til: Developer discussions
Emne: Re: [Cs-dev] Csound API: SetMessageCallback(NULL)

I don't  think you actually need to do that, unless there is a specific reason in your code to do so.

Victor
On 19 Dec 2011, at 11:49, Sigurd Saue wrote:

> It seems that setting csound_->SetMessageCallback(NULL) prior to deleting the csound_ instance, is a very bad idea in Csound version 5.12 (immediate crash), but that it works in 5.13 and later. Should we still avoid using SetMessageCallback(NULL) to remove callbacks or is it OK in general now?
>
> Sigurd
>
> ------------------------------------------------------------------------------
> Learn Windows Azure Live!  Tuesday, Dec 13, 2011
> Microsoft is holding a special Learn Windows Azure training event for
> developers. It will provide a great way to learn Windows Azure and what it
> provides. You can attend the event by watching it streamed LIVE online.
> Learn more at http://p.sf.net/sfu/ms-windowsazure
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net