读书人

SetFileAttributesA定义有关问题

发布时间: 2012-04-13 13:50:24 作者: rapoo

SetFileAttributesA定义问题
Function boolean SetFileAttributesA(string lpFileName, ulong dwFileAttributes) Library "KERNEL32.DLL"
Function ulong GetFileAttributesA (ref string filename) library "KERNEL32.DLL "

定义如上

调用如下
l=GetFileAttributesA("e:\alp.exe")
SetFileAttributesA("e:\alp.exe",0)


错误提示:unknonw functions name:GetFileAttributesA
unknonw functions name:SetFileAttributesA


急候,谢谢

[解决办法]
到这里下载
http://download.csdn.net/source/3083599

读书人网 >PB

热点推荐