Software Archive
Read-only legacy content
17061 Discussions

DVF-VBA Mixed Language

Intel_C_Intel
Employee
257 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
257 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