Link VBA - DLL (in C): how to send an array as an argument?

  • Thread starter Thread starter Sylvain
  • Start date Start date
S

Sylvain

Hi everyone,

I am working on an VBA application that needs to send an array as an
argument to an external libray written in C. The library uses the array
as a vector of parameters, and then returns a certain value.

The link is working well with a single argument (a double, an integer,
etc), by reference or by value. But when I want to send an array (a
vector of double for instance), it fails.

Does anyone know how to do this? First, is it possible?

Many thanks,

Sylvain
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top