The event handler that gets called when an external DLL passes information into Framework EDI.
Syntax:
<Object>_DllNotifyInfo(<DllNotifyInfo Object>)
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 ediDocument
:
' In the main routine start an instance of FREDI
Set m_oEdiDoc = New ediDocument
:
:
' This is an event handler for DllNotifyInfo that captures DLL notifications
' sent to FREDI.
Private Sub m_oEdiDoc_DllNotifyInfo(ByVal DllNotify As Edidev.FrameworkEDI.ediDllNotifyInfo) Handles m_oEdiDoc.DllNotifyInfo
' DLL notifications are captured here.End Sub
TextBox1.Text = TextBox1.Text & "DLL Notify. DLL File Name: " & DllNotify.DllFileName & vbCrLf
TextBox1.Text = TextBox1.Text & "DLL Notify. Handle: " & CStr(DllNotify.Handle) & vbCrLf
TextBox1.Text = TextBox1.Text & "DLL Notify. String Parameter: " & DllNotify.StringParam & vbCrLf
TextBox1.Text = TextBox1.Text & "DLL Notify. Numeric Parameter: " & CStr(DllNotify.NumParam) & vbCrLf