摘要: using System.Runtime.InteropServices;using System.Text; namespace INIFile{/// /// 读写ini文件的类/// 调用kernel32.dll中的两个api:WritePrivateProfileString,GetPrivateProfileString来实现对ini 文件的读写。////// INI文... 阅读全文
posted @ 2006-08-05 13:38 糊涂小猪 阅读(652) 评论(0) 推荐(0) 编辑
摘要: [DllImport("kernel32.dll")] private static extern int GetPrivateProfileSectionNames(IntPtr lpReturnedString , int nSize , string lpFileName);还有就是有没INTPTR这方面的资料,这个是不是跟C中... 阅读全文
posted @ 2006-08-05 12:08 糊涂小猪 阅读(5308) 评论(4) 推荐(0) 编辑