M
Michael Tissington
I have a C# function that calls into a C++ DLL
I have placed the DLL in the 'bin' folder of my asp.net project
I'm using something like
[DllImport("Keycode.dll", EntryPoint="GenerateKey")]
However when I try to call the function I'm getting an error 'Unable to Load
DLL'
Should I specifiy the path to the dll in the DllImport?
If so - do I specifiy a path relative to the web site or a physical path?
Anything else that could be causing this error?
I have placed the DLL in the 'bin' folder of my asp.net project
I'm using something like
[DllImport("Keycode.dll", EntryPoint="GenerateKey")]
However when I try to call the function I'm getting an error 'Unable to Load
DLL'
Should I specifiy the path to the dll in the DllImport?
If so - do I specifiy a path relative to the web site or a physical path?
Anything else that could be causing this error?