
Using complex data types from VB ActiveX dlls with server-side scripting
I have been trying without success to pass Arrays from ActiveX dlls
written in VB6 to IIS server scripts. This capability would be very useful
for passing fields from a database record to display the data in HTML forms.
I have tried to pass this data as both an object property and a return value
from a function.
I would really appreciate hearing from anyone who knows how to do this.
This effort started with trying to pass a collection to a scripting
'Dictionary' object in the hope that since they were so similar the
datatypes would either overlap or 'self-cast'. This apparently doesn't work
either as a function return value or an object property. I would very much
appreciate hearing the details of how I am wrong about this. Would also
appreciate knowing just what 'complex' datatype, e.g. collections,
user-defined types, etc, can be passed between a VB6 ActiveX dll and VB or
Jscript scripting environments.
Thanks,
Steven Lesh