|
-
Jul 13th, 2000, 01:26 AM
#1
Thread Starter
Guru
Hello people
I am attempting to use the COPYMEMORY API function with Objects, and it expects the size of the object I am copying as a parameter. I am not using a string, so LEN or LENB won't work here.
I've searched all over the net and in these archives here, but no answers yet....
Is there anything in VB similar to the C++ sizeof function for OBJECTS? I need the size of my object.
Ultimately, I just need to copy an object. Set NewVar = OldVar just gives me a reference to the original object, I need a copy of it (without resorting to looping through the properties of the old object and assigning them to a new virgin object)
Thanks for your help!
Tom
[Edited by Clunietp on 07-13-2000 at 02:28 AM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|