Re: Passing a Array into a com object

From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 03/11/04


Date: Thu, 11 Mar 2004 09:26:08 -0500

themadlad,

    Can you give the method definition of the COM object you want to pass
the string array to? Without seeing that, it's hard to know.

-- 
               - Nicholas Paldino [.NET/C# MVP]
               - mvp@spam.guard.caspershouse.com
"themadlad" <darrenmaddock@hotmail-dot-com.no-spam.invalid> wrote in message
news:40505e55$1_2@Usenet.com...
> Hello,
>
> I need to pass an array into a com object, however not of type
> object[].
>
> String[] fileList = new String[1];
> object xlFiles = new Object();
>
> Any Ideas? :?
>
>
>  Posted Via Usenet.com Premium Usenet Newsgroup Services
> ----------------------------------------------------------
>     ** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
> ---------------------------------------------------------- 
>                 http://www.usenet.com


Relevant Pages

  • Re: Changing the VS 2003 Templates
    ... Nicholas Paldino [.NET/C# MVP] ... wasn't in the folder but it at least showed me where to look. ... > Nicholas Paldino wrote:>> Greg, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Unexpected error writing metadata. WTF?
    ... I referenced previously was the first link. ... Nicholas Paldino [.NET/C# MVP] ... > Nicholas Paldino schrieb:>> Rüdiger, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [OT] Graphics Card
    ... Nicholas Paldino [.NET/C# MVP] ... To be more precise,> the flicker occurs exactly where the labels and buttons are being drawn> on the modal form. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is it possible to call C# code from C++ ?
    ... Qualifying .NET Types for Interoperation ... Nicholas Paldino [.NET/C# MVP] ... > Nicholas Paldino wrote:>> Ricky, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: C# Generics: Why int[] doesnt implement IList<int>?
    ... Nicholas Paldino [.NET/C# MVP] ... > Nicholas Paldino wrote:> ... > used to implement arrays. ...
    (microsoft.public.dotnet.languages.csharp)