4
我知道,在Windows窗体中,您只需将该文件放置在Debug文件夹中,但似乎它在android的monodev中完全不同。我已经尝试从资产文件夹中放置文件,添加参考路径,从项目设置等设置参考文件夹,但我仍然没有得到任何运气。我总是得到DLLNotFoundException
。当我使用DLLImport时,我应该在哪里放置dll文件?
此外,下面是一个导入的DLL文件
[DllImport("testing.dll", EntryPoint = "Testing_Open", ExactSpelling = false, CallingConvention = CallingConvention.Cdecl)]
public static extern uint Testing_Open(HINSTANCE hInstance);
谢谢,P/Invoke不支持.dll C++库。 – Rye 2013-03-05 05:09:37