Hi,
I wonder if anyone knowledgeable can point me in the right direction here.
I created DLL in Visual D, but when I try to use it by my application (AHK script), DLL itself is loaded ok, but error is set to "specified function could not be found inside the DLL". (Same DLL that I made in C++ works, but this doesn't somehow)
Sample code looks like this:
module my_dll;
import core.sys.windows.windows;
import core.sys.windows.dll;
export int my(int a, int b)
{
// ... my code ...
// return output;
}
mixin SimpleDllMain;
I set "-shared" switch in VS. Is there anything I'm missing here?
Thanks!