Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4798] New questions for plugin development

Date2004-06-02 02:41
FromAndres Cabrera
Subject[CSOUND-DEV:4798] New questions for plugin development
Hi,

As I have yet to shed my newbie status in C programming, please forgive 
me if the following questions are trivial.
The quesions are:

1. When a plugin opcode wants to display a message on the console, is 
there a more direct (and independent) way than setting a string in 
all_strings and then using something like:
printf(Str(X_1970,"VSTinit\n"));


2. Is it possible to use C++ when developing a plugin opcode? From what 
I saw, only C opcodes are valid (If I use a .cpp file, the dll is built 
fine, but is not recognized by csound5). I would need this in order to 
use several C++ classes for handling VST plugs.


Cheers,
Andrés

Date2004-06-02 06:21
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4803] Re: New questions for plugin development
>>>>> "Andres" == Andres Cabrera  writes:

 Andres> 1. When a plugin opcode wants to display a message on the console, is 
 Andres> there a more direct (and independent) way than setting a string in 
 Andres> all_strings and then using something like:
 Andres> printf(Str(X_1970,"VSTinit\n"));

Just use printf("VSTinit\n");
The Str stuff is really designed for alternative languages, and is
ignorable.  There is no real way to use this in plugins until some
thought is applied

==John ffitch