Class Out of Scope Question
Posted on 2002-06-26
I have created a collection in a class. When my app starts up it runs through the class, reads an ini....assigns the ini data to a collection. I also have a function in this class that is called outside of the class. Then the rest of the app loads. I have a gui on my app and when a click event is fired, the class.myFunction is called but my collection no longer contains data. How do I get around this????
On my form (where the click event is fired) I have created a new instance of my class, then I call my function, then set the class instance to nothing. I think I just have an empty class.