Using ByVal asks VB to pass the value of the argument, whereas using ByRef asks VB to pass Address of (that is, a pointer to) the argument.

 

default 는 ByRef

 

AddressOf 는 function pointer 값을 추출

예) AddressOf EnumChildWndProc

'VB6,VBA' 카테고리의 다른 글

삼국지2 와 엑셀파일  (0) 2015.10.19
VBA 형식선언문자  (0) 2014.06.24
VB Character Type  (0) 2014.06.24

+ Recent posts