好像是这样的,你试试看吧:
[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
private static extern int CreateFormInFileInt(string FileNameToWrt );
[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
private static extern int CreateFormInFileInt(string FileNameToWrt );
[System.Runtime.InteropServices.DllImportAttribute("e:\MyVBPro\testDLL\IntePrnTup.dll")]
private static extern int CreateFormInFileInt(string FileNameToWrt );
CreateFormInFileInt("dd.txt");