Article View: microsoft.public.win32.programmer.ole
Article #7Dynamic 2-dimensional array as parameter for COM method?
From: David Morgenlender
Date: Tue, 26 Jan 1999 00:00
Date: Tue, 26 Jan 1999 00:00
15 lines
1497 bytes
1497 bytes
I have to pass a 2-dimensional array as an input parameter to a COM method. Neither dimension is known at compile time. The interface is derived from IUnknown. The clients will be written in C++ & VB. I already have dynamic 1-dimensional arrays working in both C++ & VB. But I haven't been able to find any way to specify a dynamic 2-dimensional array in the .IDL file. I can, of course, convert it to a 1-dimensional array as far as COM is concerned. But I'd rather keep it as 2-dimensional, if possible, to keep the code more readable, etc. Any ideas? ======================================================= Dave Morgenlender e-mail: dmorgen@alum.mit.edu =======================================================
Technical Details
Message-ID:
<36b2516d.85013812@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9701,d933c915558e7daf,start X-Google-Attributes: gidf9701,public X-Google-Thread: 108cda,d933c915558e7daf,start X-Google-Attributes: gid108cda,public X-Google-Thread: fe15c,d933c915558e7daf,start X-Google-Attributes: gidfe15c,public From: dmorgen@alum.mit.edu (David Morgenlender) Subject: Dynamic 2-dimensional array as parameter for COM method? Date: 1999/01/26 Message-ID: <36b2516d.85013812@enews.newsguy.com> X-Deja-AN: 437312614 Content-Transfer-Encoding: 7bit Organization: http://extra.newsguy.com Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: microsoft.public.win32.programmer.ole,comp.os.ms-windows.programmer.ole,borland.public.cppbuilder.activex