摘要:
using System.Runtime.InteropServices;using System.Text; namespace INIFile{/// /// 读写ini文件的类/// 调用kernel32.dll中的两个api:WritePrivateProfileString,GetPrivateProfileString来实现对ini 文件的读写。////// INI文... 阅读全文
摘要:
[DllImport("kernel32.dll")] private static extern int GetPrivateProfileSectionNames(IntPtr lpReturnedString , int nSize , string lpFileName);还有就是有没INTPTR这方面的资料,这个是不是跟C中... 阅读全文