专家好,下在代码在XP中好用,现升级到WIN1064位系统出现错误,提示编译错误:“若在64位系统上使用,则必须更新此项目中的代码.请栓查并更新DECLARE语名,然后用PRTSAFE属性标记它们。“请问如何修改。代码如下:Declare Function SHBrowseForFolder Lib "shell64.dll" Alias"SHBrowseForFolderA" (lpBrowseInfo As FolderInfor) As Long Declare Function SHGetPathFromIDList Lib"shell64.dll" Alias "SHGetPathFromIDListA" (ByVal pidl AsLong, ByVal pszPath As String) As Long Private Declare Function FindWindow Lib"user64" Alias "FindWindowA" (ByVal lpClassName As String,ByVal lpWindowName As String) As Long Private Declare Function EnableWindow Lib"user64" (ByVal hWnd As Long, ByVal fEnable As Long) As Long
|