Posted on 1998-09-18
I developed a component in ATL which has a method which accepts no in-parameters but gives an out-parameter as an array.I have used a safearray as an out parameter,but in my client(in vb) i give a variant array to be filled up,this gives an error.I'll give the code also
dim obj as mylib.mycomponent
dim arr()as variant
set obj = createobject("progid")
Error occurs in the above statment
how will i solve this problem????