- Katılım
- 12 Nisan 2019
- Mesajlar
- 12
- Excel Vers. ve Dili
- 2003
Herkese Merhaba.
32 bit bilgisayarda kullandığım depo programını 64 bit olan bir bilgisayara taşıyınca hata verdi.
32 Bit de kullandığım kod:
Private Type SHFILEOPSTRUCT
hwnd As Long
wFunc As Long
pFrom As String
pTo As String
fFlags As Integer
fAnyOperationsAborted As Long
hNameMappings As Long
lpszProgressTitle As Long
End Type
Private Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long
Private Const FO_DELETE = &H3
Private Const FOF_ALLOWUNDO = &H40
"Private Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long" kodunda hata vermekte.
Verdiği hata uyarısı
"
The code in this Project must be update for use on 64-bit systems.
Plase review and update Declare statements and then mark them with the PtrSafe attribute."
bu konuda yardımcı olabilirmisiniz? Teşekkürler
32 bit bilgisayarda kullandığım depo programını 64 bit olan bir bilgisayara taşıyınca hata verdi.
32 Bit de kullandığım kod:
Private Type SHFILEOPSTRUCT
hwnd As Long
wFunc As Long
pFrom As String
pTo As String
fFlags As Integer
fAnyOperationsAborted As Long
hNameMappings As Long
lpszProgressTitle As Long
End Type
Private Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long
Private Const FO_DELETE = &H3
Private Const FOF_ALLOWUNDO = &H40
"Private Declare Function SHFileOperation Lib "shell32.dll" Alias "SHFileOperationA" (lpFileOp As SHFILEOPSTRUCT) As Long" kodunda hata vermekte.
Verdiği hata uyarısı
"
The code in this Project must be update for use on 64-bit systems.
Plase review and update Declare statements and then mark them with the PtrSafe attribute."
bu konuda yardımcı olabilirmisiniz? Teşekkürler
