Creating a VC++ DLL and running from VBA

Creating a VC++ DLL and running from VBA

Bild des Benutzers jlupas

I am using the Intel Kernel Math library V7.0.

When I create a VC++ win32 executable using the mkl routines, it works fine.

However, when I attempt to create a simple DLL (in VC++) that uses mkl routines, such as vdln, I receive an error. I am running the DLL within VBA. The error I receive is that:

The instruction at 0x1003ae51 referenced memory at 0x00000000. The memory could not be read.

Excel then terminates.

Is there a certain flag that I should be using when compiling the DLL in VC++ 6.0 so that it will work? Add a library to the settings?


1 Beitrag / 0 neu
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.