Using Arrays in ASP

prasannan_h
05-23-2002, 03: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)

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

Thinker
05-23-2002, 08: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