C++ and Excel VBA Arrays Dll

Sep 22, 2014 at 9:51pm
Hello Titans Of Programming !

What is the best way to pass a multidimensional array between Excel VBA and C++. I have been reading multiple SafeArray articles but I am not able to find a good solution.

Any simple example and/or tips would be much appreciated !!

Thanks in Advance :)


Last edited on Sep 23, 2014 at 1:46pm
Sep 24, 2014 at 1:36pm
Seriously..no one?
Sep 24, 2014 at 2:53pm
Sep 29, 2014 at 4:01pm
Thanks this solution seems to work great ! Though don't understand what safearrays are meant for :/
Sep 30, 2014 at 6:02am
This has to do with the visual basic memory management and other things. See this:

http://forums.codeguru.com/showthread.php?360894-vb-and-safearray
Topic archived. No new replies allowed.