- Katılım
- 14 Ocak 2005
- Mesajlar
- 792
- Excel Vers. ve Dili
- Ofis 2010 2016
- Altın Üyelik Bitiş Tarihi
- 13/03/2022
Merhaba arakadaşlar,
Aşağıdaki kodlarım windows 2003 server üzeride yüklü olan excel çalışma kitabımda çalışıyordu.
Bu gün windows 2008 64 bit işletim sistemine alınca çalıştırınca aşağıdaki kodları göstererek aşağıdaki hatayı verdi. Sorunumu nasıl çözebilirim.
Hata Mesajı:
Compile error:
The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute.
Saygılarımla
Aşağıdaki kodlarım windows 2003 server üzeride yüklü olan excel çalışma kitabımda çalışıyordu.
Bu gün windows 2008 64 bit işletim sistemine alınca çalıştırınca aşağıdaki kodları göstererek aşağıdaki hatayı verdi. Sorunumu nasıl çözebilirim.
Kod:
' AŞAĞIDAKİ KODLARI USER FORM ÜZERİNDE ÇİFT TIKLA YAPIŞTIR.
' TAM EKRAN NORMAL EKRAN MODU
Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
(ByVal lpClassName As String, ByVal lpWindowName As String) As Long
Private Declare Function GetWindowLong Lib "user32" Alias "GetWindowLongA" _
(ByVal hWnd As Long, ByVal nIndex As Long) As Long
Private Declare Function SetWindowLong Lib "user32" Alias "SetWindowLongA" _
(ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As Long
Private Declare Function ShowWindow Lib "user32" _
(ByVal hWnd As Long, ByVal nCmdShow As Long) As Long
Private Declare Function DrawMenuBar Lib "user32" (ByVal hWnd As Long) As Long
Hata Mesajı:
Compile error:
The code in this project must be updated for use on 64-bit systems. Please review and update Declare statements and then mark them with the PtrSafe attribute.
Saygılarımla