Hi There,

I am quite new to PInvoke and calling COM functions from C#.

I have managed so far to call some unmanaged functions ib my C++ dll from my C# code but at the moment I am having trouble with one particular function.

I have a sample of the function being correctly defined in some VB6 code below.

Code:
Declare Sub GetReplyData3 Lib "WfRelay.dll" (ByVal S As Variant,
...