- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to use the VARIANT datatype to pass data from VB to CVF and vice versa. This appears to be working fine when the VARIANT type is long or double or boolean or something simple like that. However I want to pass a structure. This is not working. I have tried setting the VT type in CVF to VT_VARIANT+VT_BYREF, and VARIANT in VB, but VB just crashes when I do the property GET. I also tried VT_PTR bot no luck. In both cases I am setting VU%PTR_VAL = loc(class). Any help greatly appreciated.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See this past thread http://www7.compaq.com/forum?14@@.eefc5f5 !SearchMark=1#1
also these MSDN documentation links
http://msdn.microsoft.com/library/en-us/automat/htm_hh2/chap12_3rcj.asp
http://msdn.microsoft.com/library/en-us/automat/htm_hh2/chap12_2bqr.asp
And for a complete discussion of pre NT4 SP4 options, there's Don Box's June 1996 ActiveX Q&A column
-JT
also these MSDN documentation links
http://msdn.microsoft.com/library/en-us/automat/htm_hh2/chap12_3rcj.asp
http://msdn.microsoft.com/library/en-us/automat/htm_hh2/chap12_2bqr.asp
And for a complete discussion of pre NT4 SP4 options, there's Don Box's June 1996 ActiveX Q&A column
-JT

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page