[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
private static extern long FillRect(IntPtr hDc, Rectangle lpRect, long hBrush); FillRect(dc, rc, brush);运行时,出现如下错误
未处理的“System.EntryPointNotFoundException”类型的异常出现在 GisClient.exe 中。其他信息: 无法在 DLL“gdi32.dll”中找到名为“FillRect”的入口点。