我不会在语句中进行修改,不知是否有高手愿意帮忙修改一下,下面是出现提示后自动展开的语句部分:
Option Compare Database
Public Type OPENFILENAME
lStructSize As Long
hwndOwner As Long
hInstance As Long
lpstrFilter As String
lpstrCustomFilter As String
nMaxCustFilter As Long
nFilterIndex As Long
lpstrFile As String
nMaxFile As Long
lpstrFileTitle As String
nMaxFileTitle As Long
lpstrInitialDir As String
lpstrTitle As String
flags As Long
nFileOffset As Integer
nFileExtension As Integer
lpstrDefExt As String
lCustData As Long
lpfnHook As Long
lpTemplateName As String
End Type Public Declare Function GetOpenFileName Lib "comdlg32.dll" Alias "GetOpenFileNameA" (pOpenfilename As OPENFILENAME) As Long
谢谢作者: Grant 时间: 2012-1-29 14:09
呵呵,没有64位系统无法对你进行帮助,顶一个吧作者: 风中漫步 时间: 2012-1-29 15:36
帮顶,没用过64位的
建议把comdlg32.dll改成comdlg64.dll试试.
有可能兼容{:soso_e120:}作者: JosephTan 时间: 2012-1-29 15:38
PtrSafe應該放在public之後應該可以了.還有64位window是向下兼容的.應該在syswow64那裡註冊你的鏈接庫文件就可以了.作者: 大连海员 时间: 2012-1-29 15:59
谢谢楼上三位的回复。