kender
Advanced Member level 4
VB6 question. Is there an easy way to copy member variables during object assignment instead of making a reference?
Colleagues,
I wasn’t able to find a definitive answer to this one on the web. Is there a way in VB6 to make a copy of an object without writing a copy function? What’s the best way to go about it?
Thanks,
- Nick
P.S. I’m writing my first VB6 classes. In C++ the default assignment operator copies the member variables to the new object. May be that’s what’s confusing me.
Colleagues,
I wasn’t able to find a definitive answer to this one on the web. Is there a way in VB6 to make a copy of an object without writing a copy function? What’s the best way to go about it?
Thanks,
- Nick
P.S. I’m writing my first VB6 classes. In C++ the default assignment operator copies the member variables to the new object. May be that’s what’s confusing me.