Autor Tema: Property Get Error :/  (Leído 2456 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Harmmy

  • Bytes
  • *
  • Mensajes: 22
  • Reputación: +0/-0
    • Ver Perfil
Property Get Error :/
« en: Enero 21, 2013, 03:29:16 pm »
Property code :

Modulo :
Public Type tKBDLLHOOKSTRUCT
   dwExtraInfo As Long
   flags As Long
   scanCode As Long
   time As Long
   vkCode As Long
End Type

Public Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long)

Class:

Public Property Get xKBDLLHOOKSTRUCT(ByVal lParam As Long) As tKBDLLHOOKSTRUCT
  Call CopyMemory(xKBDLLHOOKSTRUCT, ByVal lParam, LenB(xKBDLLHOOKSTRUCT))
End Property

Where's fault?