|
-
Jun 28th, 2004, 03:56 AM
#1
Thread Starter
New Member
can we have data types for C structs and union in VB
Hi
I am having this structure in VC, can I have the same data type in VB, and how it will look like
Thanks
struct trevariant_struct {
short NullInd;
Long TreType;
union trevariant_datatype {
long VLong;
double VDouble;
char *VString;
TRE_BLOBVALUE VBlob;
struct trearray_struct {
long Size; /* Size of array */
TRE_VARIANT *Elements; /* Array of elements */
} VArray;
struct trehash_struct { /* All TRE_HASH types */
long Size; /* Number of values in hash */
TRE_HASHVALUE *Elements; /* Array of key value pairs in hash */
} VHash;
} Data;
};
Last edited by vipingverma; Jun 28th, 2004 at 07:18 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
|