Quantcast
Channel: VBA array with lower boundary > 0 passed to .NET - Stack Overflow
Browsing index pages (2 articles)

VBA array with lower boundary > 0 passed to .NET

I have .NET Dll with a C# method, which I use in Excel VBA. It's being called through a COM-wrapper from VBA. The method takes among others, two double arrays as arguments. When the double arrays are...

View Article


Answer by Johan Ahlqvist for VBA array with lower boundary > 0 passed to .NET

Changing the method signature in the COM-wrappers Interface to using Array instead of double[] and defining SafeArraySubType:[return: MarshalAs(UnmanagedType.R8)] double LinearInterpolation(...

View Article

Browsing index pages (2 articles)


Latest Images