Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interop - Calling a COM (ATL) method...

Status
Not open for further replies.

MattWoberts

Programmer
Oct 12, 2001
156
GB
Hi,

I am trying to call a COM (ATL) component. The method I need to call returns a variant array of length 3 (only one dimension)

When I use TLBIMP to create my wrapper for the com comp, my wrapper for this method returns an "object"...what I need to know is how to get that into an array in .NET also.

I tried:

object o = wrapper.MyMethod(..)

but this seems to hand aspnet_wp....

Any help appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top