Anzeige
Archiv - Navigation
1356to1360
Aktuelles Verzeichnis
Verzeichnis Index
Übersicht Verzeichnisse
Vorheriger Thread
Rückwärts Blättern
Nächster Thread
Vorwärts blättern
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
Inhaltsverzeichnis

PtrSafe

PtrSafe
29.04.2014 18:42:05
Rolf
Hallo Gemeinde
Ich hab grad von 32 auf 64 Bit umgestellt und ich bekomme das mit dem umstellen "PtrSafe" allein nicht hin.
Könnt ihr helfen?
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 DrawMenuBar Lib "User32" (ByVal hWnd As Long) As Long
Private Declare Function FindWindow Lib "User32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

3
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
AW: PtrSafe
30.04.2014 10:33:22
Rudi
Hallo,
Ich hab grad von 32 auf 64 Bit umgestellt
was? Windows oder Office?
Windows:
#If Win64 Then
Private Declare PtrSafe Function GetWindowLong Lib "User32" Alias "GetWindowLongA" (ByVal hWnd  _
As LongPtr, ByVal nIndex As LongPtr) As Long
#Else
Private Declare Function GetWindowLong Lib "User32" Alias "GetWindowLongA" (ByVal hWnd As Long,  _
ByVal nIndex As Long) As Long
#End If
Gruß
Rudi

AW: PtrSafe
30.04.2014 12:07:52
Rolf
Hallo Rudi
Danke für die Antwort.
Ich habe beides umgestellt Windows 64BIT und Office 64BIT
MfG
Rolf

Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Anzeige