Connecting Tech Pros Worldwide Forums | Help | Site Map

sending object to a com object instead of variant

pini_soos
Guest
 
Posts: n/a
#1: Nov 15 '05
Hi there,
i writing a c# application which call to a com object written in vb.
the function in this object which i call gets as parameter: a variant
array and a variant dsnstring.
i tried to cast my array into object before sending it to the function
but i steel get an exception....
any ideas?

Mattias Sjögren
Guest
 
Posts: n/a
#2: Nov 15 '05

re: sending object to a com object instead of variant


[color=blue]
>i tried to cast my array into object before sending it to the function
>but i steel get an exception....
>any ideas?[/color]

And what exception is that? Can you post your code?



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.
Closed Thread