|
-
Apr 7th, 2003, 03:41 PM
#1
Thread Starter
Fanatic Member
Size of an object
Guys, its 1:52 AM here in India and I am awake for the Nth night. Don't laugh at me if I sound silly.
How do I get the size of my object? Like you can always do a Len(TypeInstance) to get the length of a structure. Like sizeof(Object) tells a C++ proggy his object size. I want the size of my object (no pun intended).
Dim a As Class1
Set a = New Class1
MsgBox Len(a)
Secondly, can I transfer my object to a byte array using CopyMemory without worrying about Unicode to ANSI conversions for the BSTRs?
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
|