What I'm trying to achieve: from Maple code, I want to be able to call C++ code that uses Intel MKL code (specifically, my own installation of MKL, not the one baked into Maple itself).
The MKL DLLs in my installation are in two folders: C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\redist\intel64_win\mkl and C:\Program Files (x86)\IntelSWTools\compilers_and_libraries\windows\redist\intel64_win\compiler.
Of course, you're exactly right: I had to add those 2 folders to the system path in order to get execution of the C++ function to succeed in Visual Studio and at the command line, meaning that operators.dll is dynamically linking to the MKL DLLs at runtime.
You're suggesting that I try adding the MKL DLLs to the Maple runtime path. Is Maple not using the system path for this purpose? If not, can you tell me how to tell Maple where to look for the MKL DLLs?
Given that, as you said, Maple's bin folder has its own versions of at least some of the DLLs that we're talking about (e.g., mkl_core.dll), I worry that adding my own different MKL DLLs into Maple's runtime path may create more problems than it solves. Still, if you can give me more specific pointers on how to do that, I'll give it a try!
Thanks for your help.