错误:
未能从程序集“WindowsApplication1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”中加载类型“WindowsApplication1.Form2”,因为方法“GetWindowTextA”没有实现(没有 RVA)。
函数声名
[DllImport("user32")]
public extern static int FindWindowExA(int hwnd1, int hwnd2, int lpsz1, int lpsz2);
public extern static int GetWindowTextA(int hwnd, string str, int len);上面那个怎么就能用?