> Great thanks Tito. One other question. Is it possible to build fout as > a plugin lib using fout.c and fout.h? Or would it conflict with > existing versions of the opcode? Turns out I don't actually build > Csound for this windows machine! But if I could just build a .dll that > would be handy. Thanks. Yes, you can build fout2 (and see the differences). Replace the OENTRY with static OENTRY localops[] = { { "fout2", S(OUTFILE), 5, "", "Tiy", (SUBR) outfile_set, (SUBR) NULL, (SUBR) outfile } }; LINKAGE I forgot `return OK' in `fout_flush_callback', I'll add it soon in git. You can manually add it. It works here with gcc -Wall -O2 -DUSE_DOUBLE --shared -fPIC \ -Icsound5/Opcodes/ -Icsound5/H -o libfout2.so fout.c tito ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net