L
Lou
I need to have a C# funtion that has one parameter which is a VB6 function
pointer.
How do i declare the variable for the function pointer in C#?
I am using ptrFunction in the example below.
What do i replace that with?
I need to call back into the vb6 app.
Example:
C# Function
public void GiveMeAReference{ptrfunction myFunctionPointer){
}
vb6 Function:
Private Sub Command1_Click()
myDLL.GiveMeAReference AddressOf myFunction
End Sub
-Lou
pointer.
How do i declare the variable for the function pointer in C#?
I am using ptrFunction in the example below.
What do i replace that with?
I need to call back into the vb6 app.
Example:
C# Function
public void GiveMeAReference{ptrfunction myFunctionPointer){
}
vb6 Function:
Private Sub Command1_Click()
myDLL.GiveMeAReference AddressOf myFunction
End Sub
-Lou