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

DVF-VBA Mixed Language

Intel_C_Intel
Employee
405 Views
How do I pass a 2D (or 3D) array of REALs (in fact a matrix) from VBA to DVF and back?
All the samples and explanations I found were related to 1D arrays. Thanks.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
405 Views
Pass the first element of the array. If you pass the whole array, VB passes a SAFEARRAY descriptor which you then have to decode.

Steve
0 Kudos
Reply