Hi Victor, Michael, and Anthony, Thanks for your replies; I just wanted to point them out as something that should probably be addressed. I guess in csound usage it doesn't happen much where two CSD's with fltk things going on gets started in the same process by anyone so it's not the biggest issue to take care of I guess. If CsoundVST managed to work with FLTK instruments though I guess it'd be an issue then. Michael's solution of using the map with CSOUND* as a key has probably got to be the easiest way to do this. Maybe if time opens up I'll take a shot at it, but it's pretty low priority for me at the moment. steven On 10/28/06, Victor Lazzarini wrote: > I think these shouldn't really go in the CSOUND structure, > as the widgets are a separate plugin module. I am not > so sure these are problematic, as Istvan did not move > them. I had noticed them before, but never had a closer > look. > > However, if you wish, you perhaps can try using the > global variable mechanism that Istvan created. > > Victor > > > > > Hi All, > > > > I found some static variables in both widgets.cpp and > > FL_graph.cpp that I think need to be redone for > > reentrancy. For widgets, this code is there: > > > > static vector fl_windows; // all panels > > //static vector AddrValue; > > // addresses of widgets that display current value > > of valuators static vector AddrStack; > > //addresses of containers static vector > > AddrSetValue; //addresses of valuators static > > vector allocatedStrings; static vector > > snapshots; > > > > for FL_graph.cpp, this code is there: > > > > static Fl_Window *form = (Fl_Window *) 0; > > static Fl_Choice *choice = (Fl_Choice *) 0; > > static Fl_Button *end = (Fl_Button *) 0; > > > > > > There are more in each of those files. > > > > Not sure where best to store these things. > > > > steven > > > > ---------------------------------------------------------- > > --------------- Using Tomcat but need to do more? Need to > > support web services, security? Get stuff done quickly > > with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Csound-devel mailing list > > Csound-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Csound-devel mailing list > Csound-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net