>Are you saying GMPI does not support static objects?, or does? > >If we are fully supporting C++, are we able to use static objects in the >SDK? (they can be useful, specifically for singletons). I think we should say that: a) a GMPI platform must be able to load and unload dll's with static objects. b) we recommend that plugins do not declare static objects but create their equivalents from within plugin instantiation functions. SomeObject* foo_is_a_singleton = 0; void the_foobar_plugin_instantiator () { if (!foo_is_a_singleton) { foo_is_a_singleton = new SomeObject(); } ... the rest ... } --p ---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission. Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe