Hi,
I'm creating a new pipeline component in VB6. The DLL is working fine
but I wasn't able to implement the 3 methods in
IPipelineComponentDescription correctly.
I searched the net for examples and all I could find are c++ or c#
examples. In those examples, the returned value is supposed to be
S_OK and the array of values is a parameter passed to the functions.
So I tried this in my dll:
function IPipelineComponentDescription_ContextValuesRead(arrValue As
Variant) As Variant
But when I'm trying to compile my dll, it says that this is not the
definition in the interface. The only thing that works is when
passing no parameters to the methods :
function IPipelineComponentDescription_ContextValuesRead() As Variant
But how am I supposed to return the array values? I tried to return
the array value using the function
(IPipelineComponentDescription_ContextValuesRead = arrValues). In
the pipeline editor, I can see the "values read and written" tab but
if I click on it, nothing happen.
My question is: Is it even possible to implement this interface in vb6
and if yes, how can I return both the array values and the S_OK value
without using a single parameter in the function? A small example
would be great!
Thanks in advance!
Steve