J
john
Hello,
I am trying to convert from vb6 to vb.net and I have an issue with the
addressOf function. Below is the code any help would be greatly appreciated.
Thanks in advance.
code erroring here
'UPGRADE_WARNING: Add a delegate for AddressOf ViewFinderCallbackFunc Click
for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1048"'
err_Renamed = CDStartViewfinder(m_hSource, 1, AddressOf
ViewFinderCallbackFunc, 0)
Function
Public Function ViewFinderCallbackFunc(ByVal pBuf As Integer, ByVal Size As
Integer, ByVal Format_Renamed As Integer, ByVal Context As Integer) As
Integer
m_VFDataPtr = pBuf
ViewFinderCallbackFunc = cdOK
End Function
I am trying to convert from vb6 to vb.net and I have an issue with the
addressOf function. Below is the code any help would be greatly appreciated.
Thanks in advance.
code erroring here
'UPGRADE_WARNING: Add a delegate for AddressOf ViewFinderCallbackFunc Click
for more: 'ms-help://MS.VSCC/commoner/redir/redirect.htm?keyword="vbup1048"'
err_Renamed = CDStartViewfinder(m_hSource, 1, AddressOf
ViewFinderCallbackFunc, 0)
Function
Public Function ViewFinderCallbackFunc(ByVal pBuf As Integer, ByVal Size As
Integer, ByVal Format_Renamed As Integer, ByVal Context As Integer) As
Integer
m_VFDataPtr = pBuf
ViewFinderCallbackFunc = cdOK
End Function