The event handler that gets called when an external DLL passes information into Framework EDI.
Syntax:
Object. DllNotifyInfo(<DLL File Name>, <Handle>, <String Parameter>, <Numeric Parameter>)
Parameters:
Example:
The following is an example that shows how to listen to notifications from a DLL.
' Set up FREDI to receive events in the module
Private WithEvents m_oEdiDoc As Fredi.ediDocument
:
' In the main routine start an instance of FREDI
Set m_oEdiDoc = New Fredi.ediDocument
:
:
' This is an event handler for DllNotifyInfo that captures DLL notifications from
' an external DLL.
Private Sub m_oEdiDoc_DllNotifyInfo(ByVal sDllFileName As String, ByVal lHandle As Long, ByVal sParameter As String, ByVal lParameter As Long)
' DLL notifications are captured here.
Debug.Print "DLL File Name: " & sDllFileName
Debug.Print "Handle: " & CStr(lHandle)
Debug.Print "String Parameter: " & sParameter
Debug.Print "Numeric Parameter: " & CStr(lParameter)
End Sub