Im SubClassing the App to intercept windows messages...
lngOriginal_Window_Procedure = SetWindowLong(Handle, GWL_WNDPROC, [blue]AddressOf [/blue]WindowProc)
The SendMessage API 'lParam' is declared as Any, however when using the WindProc Procedure it is declared as Long..
[blue]Public Function [/blue]WindowProc([blue]ByVal [/blue]Handle [blue]As Long[/blue], [blue]ByVal [/blue]uMsg [blue]As Long[/blue], [blue]ByVal [/blue]wParam [blue]As Long[/blue], [blue]ByVal [/blue]lParam [blue]As Long[/blue]) As Long
... So incase you havent guessed Im trying to pass parameters other than Long's for example a String: "c:\a\test\path\"
Ive tried a few things including declaring the lParam as Any with no luck.
Any idea's anyone?
lngOriginal_Window_Procedure = SetWindowLong(Handle, GWL_WNDPROC, [blue]AddressOf [/blue]WindowProc)
The SendMessage API 'lParam' is declared as Any, however when using the WindProc Procedure it is declared as Long..
[blue]Public Function [/blue]WindowProc([blue]ByVal [/blue]Handle [blue]As Long[/blue], [blue]ByVal [/blue]uMsg [blue]As Long[/blue], [blue]ByVal [/blue]wParam [blue]As Long[/blue], [blue]ByVal [/blue]lParam [blue]As Long[/blue]) As Long
... So incase you havent guessed Im trying to pass parameters other than Long's for example a String: "c:\a\test\path\"
Ive tried a few things including declaring the lParam as Any with no luck.
Any idea's anyone?