H
Hubert Hermanutz
Hi,
i will develop a application with C#, which implement a VC++ dll. Previous i
have looked the sample:
(http://www.codeproject.com/useritems/interop.asp?target=dll|import).
This sample using follow attribute:
[DllImport("MyDll.dll",...)]
public static extern unsafe void Test(IntPtr ptr);
But when i start the sample theres got a Exception:
System.DllNotFoundException, altrought i have copied the DLL in follow
folders: "[program folder]", "[program folder]\bin" and "[program
folder]\bin\debug".
Must i places the DLL in other folders?
Thanks in advance,
Hubert
i will develop a application with C#, which implement a VC++ dll. Previous i
have looked the sample:
(http://www.codeproject.com/useritems/interop.asp?target=dll|import).
This sample using follow attribute:
[DllImport("MyDll.dll",...)]
public static extern unsafe void Test(IntPtr ptr);
But when i start the sample theres got a Exception:
System.DllNotFoundException, altrought i have copied the DLL in follow
folders: "[program folder]", "[program folder]\bin" and "[program
folder]\bin\debug".
Must i places the DLL in other folders?
Thanks in advance,
Hubert