TheVampire
Programmer
I want to create a clone of an object, for instance, a class that has 30 properties. Am I forced to write a clone function for that class that creates a new class object, sets all of the properties and then returns the new class object to the caller. Or is there some way, perhaps using copymemory API, that I can write a shortcut that will create a clone of any class? I know pure VB6 does not have a way to do it, and that ByVal ( instead of ByRef ) does not work on objects, but I was hoping that the API would allow me to do this.
Thanks,
Robert
Thanks,
Robert