I have the Intel compiler version 10. I'm trying to create a C# wrapper for some of the image processing library functions. To start off, I downloaded the C# wrapper samples you had and tried to just wrap a simple copy command based off your ipps.cs file:
[DllImport("ipps-6.0.dll", EntryPoint = "ippsCopy_16s")]
unsafe public static extern IppStatus ippsCopy_16s(short* pSrc, short* pDst, int len);
unsafe public static string Copy(string str)
if (str == null)
throw new System.ArgumentNullException();
char temp = new char[str.Length];
fixed (char* pt = temp, ps = str)
ippsCopy_16s((short*)ps, (short*)pt, str.Length);
return new System.String(temp);
When I try to run this, when it gets to the actual ippsCopy_16s call, I get a Unable to load DLL 'ipps-6.0.dll': Invalid access to memory location. It seems to locate the file okay, and DependencyWalker isn't really telling me anything. What am Imissing?
I can build everything just fine. The stripps.exe app that I had built before I tried modifying anything was receivingthe same exact error.
Please help! Thanks...