We want to introduce multiple plugin instances without
breaking support for version 0.5
Initialise is a 'global' initialise called on a DLL.
One plugin is instatiated and it has an ID of 0.
Thereafter any calls to this instance will require a 0
in the instance parameter of plugMain (currently called
Further instances will be created when the host calls
CreateIInstance and passes in an ID (the host is
responsible for deciding the ID's)
The plugin implementation is responsible for calling
functions on each instance decided by the
instance(reserved) parameter in plugMain.
Instances are destroyed when the host calls
Deinitialise is used to garbage collect any instances
left floating around and deallocate any memeory used to
handle instancing on the plugin side.
Log in to post a comment.