Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Commerce Server SDK > Using IPipeline...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 228 of 274
Post > Topic >>

Using IPipelineComponentDescription in VB6

by sbegin@[EMAIL PROTECTED] (tabachanker) Nov 3, 2005 at 11:42 AM

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
 




 5 Posts in Topic:
Using IPipelineComponentDescription in VB6
sbegin@[EMAIL PROTECTED]   2005-11-03 11:42:55 
RE: Using IPipelineComponentDescription in VB6
=?Utf-8?B?UmF2aSBTaGFua2F  2005-11-14 03:43:06 
re:Using IPipelineComponentDescription in VB6
sbegin@[EMAIL PROTECTED]   2005-11-15 19:42:51 
Re: RE: Using IPipelineComponentDescription in VB6
sbegin@[EMAIL PROTECTED]   2005-11-15 19:42:51 
Re: RE: Using IPipelineComponentDescription in VB6
=?Utf-8?B?UmF2aSBTaGFua2F  2005-11-20 07:06:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 13:00:11 CST 2008.