SetFileAttributesA定义有关问题
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.****.net/source/3083599
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.****.net/source/3083599