Instead of running multiple instances of OpenTLD application, would there be any problems in creating a class called OpenTLD and creating multiple instances of the class for tracking multiple objects? The OPenTLD class that I created has its own Main* etc.. and thus when used as an imported dll could easily track multiple objects.
Does any of the code have any static variables / objects that may be shared by all Main objects? This is the only problem that I am anticipating. If anyone has any advice please let me know. At present when I create the second OpenTLD object it works fine until I start running the TLD methods on the second object then the application crashes.
Instead of running multiple instances of OpenTLD application, would there be any problems in creating a class called OpenTLD and creating multiple instances of the class for tracking multiple objects? The OPenTLD class that I created has its own Main* etc.. and thus when used as an imported dll could easily track multiple objects.
Does any of the code have any static variables / objects that may be shared by all Main objects? This is the only problem that I am anticipating. If anyone has any advice please let me know. At present when I create the second OpenTLD object it works fine until I start running the TLD methods on the second object then the application crashes.