General information
Category:
Forms & Form designer
Title:
VFP6 - Instantiate Object Multiple Times?
I am using the Registry class that comes with VFP6. I make Registry changes through this. Anyway, I end up doing this:
#include registry.h
loRegistry = NewObject( "Registry", "Registry.VCX" )
Once in my form.init, button1.click, and button2.click. I am sure I am wasting memory and maintenance. How can I get this going just one time and call it repeatedly?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only