tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,926
- Office Version
- 365
- 2019
- Platform
- Windows
Looking at this:
in particular this code:
What is the significance of adding ByVal?
My understanding is the passing of arguments, whether ByRef or ByVal is stipulated in the procedure being
called and not the calling procedure.
Thanks
Rich (BB code):
in particular this code:
Rich (BB code):
CBTProc = CallNextHookEx _
(lCBTHook, idHook, ByVal wParam, ByVal lParam)
What is the significance of adding ByVal?
My understanding is the passing of arguments, whether ByRef or ByVal is stipulated in the procedure being
called and not the calling procedure.
Thanks