Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Passing objects from VB to CVF COM server

Intel_C_Intel
Employee
432 Views
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.
0 Kudos
1 Reply
Intel_C_Intel
Employee
432 Views
0 Kudos
Reply