Csound Csound-dev Csound-tekno Search About

Re: how do i route csound messages to my program using API

Date2007-08-18 08:56
FromVictor Lazzarini
SubjectRe: how do i route csound messages to my program using API
you can set up a message callback


/**
   * Sets a function to be called by Csound to print an
informational message.
   */
PUBLIC void csoundSetMessageCallback(CSOUND *,
                            void
(*csoundMessageCallback_)(CSOUND *,
int attr,
const char *format,
va_list valist));


>
>
> Hello all you csounders,
>
> I have been at work with my csound api program for a while
> now, and I would now like to be able to route the message
> window (which you normally see in command line versions or
> in the csound GUI) to a text window in my stand alone app
> which uses wxWidgets. Is there a function in the API (in
> csound.h) to retrieve these messages? I don't seem to be
> able to find any but I would think there must be something
> like that. Would appreciate help from you guys as usual.
>
> Happy csounding
> Casey
> --
> View this message in context:
>
http://www.nabble.com/how-do-i-route-csound-messages-to-my-program-using-API-tf4289257.html#a12210795
> Sent from the Csound - General mailing list archive at
> Nabble.com.
>
> --
> Send bugs reports to this list.
> To unsubscribe, send email to
> csound-unsubscribe@lists.bath.ac.uk