Using Arrays in ASP

05-23-2002, 04:12 AM
I have a Function in a dll which returns an array, when i use this with a VB application, i get the array contents

but when i use this with ASP. its causing a type mismatch error. this has something to do with "safearrays"

How do i solve this problem?

what kind of array should my dll return (dll was written usjng VB)

05-23-2002, 10:41 AM
Try creating the array as a class member instead of returning it with a function.

05-23-2002, 09:42 PM
Since the only variable type in ASP script is Variant, you would
have to return the array as a Variant, instead of a normal VB
variable type. Rezner's idea is probably easier.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum