|
ComTL Subroutines
Subroutines
| Initialize |
Loading ComTL component to send/receive data |
| Dispose |
Unloading ComTL |
Dispose Procedure
Description
Unloading ComTL and stops receiving messages
Definition
Public Sub Dispose()
Initialize Function
Description
Sending the Data to the other process
Definition
Public Function Initialize( _ ByVal ptrComTL As ComTL _ ByVal AppName As String _ ByVal MainhWnd As Long _ ) As Boolean
Parameters
ptrComTL
Pointer to the current instance of ComTL. When using Visual Basic you could pass the instance of the ComTL itself. see example
AppName
The name of current instance of ComTL
MainhWnd
Handle to the main window of the application running ComTL
Example
The following code demonstrate the initialize of ComTL
Private Sub Form_Load() 'Initialize ComTL componenet Call ComTL.Initialize(ComTL, "VB1", Me.hWnd) End Sub
|