i am using com dll in my project which fires up event
code in vb is like this
Option Explicit
Dim WithEvents p As CLAMXLib.ClamEn gine
Dim mresult As ClamResult
Private Sub p_OnScanComplet e(ByVal result As CLAMXLib.IClamR esult)
Set mresult = result
End Sub
in c#
CLAMXLib.ClamEn gine p;
ClamResult mResult;
//now how will i catch events
Comment