Article View: microsoft.public.vc.activextemplatelib
Article #13Re: RPC_S_INTERNAL_ERROR (0x800706e6) when call COM method with SAFEARRAY arg
From: David Morgenlender
Date: Tue, 29 Sep 1998 00:00
Date: Tue, 29 Sep 1998 00:00
17 lines
1870 bytes
1870 bytes
Girish, >I dont think, SAFEARRAY can be used in custom interfaces. I Think it >needs the typelibrary marshalling to help it out. Why are you using >SAFEARRAY anyway? You can use size_is, length_is and other wonderful >attributes in IDL to pass arrays. >Anyway, SAFEARRAY might work if you put that [oleautomation] attribute >on that interface. This server must be usable from both C++ & VB5 (or later). Does VB support those other methods of passing arrays? I was under the impression that VB only supported SAFEARRAYs ... but it wouldn't be the first time I'm wrong <g>! ======================================================= Dave Morgenlender e-mail: dmorgen@alum.mit.edu =======================================================
Technical Details
Message-ID:
<3622f052.98842447@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35f7af87.139502483@enews.newsguy.com> <35fca36a.74862657@enews.newsguy.com> <35fd93e5.9529171@enews.newsguy.com> <360a2925.226239187@enews.newsguy.com> <361f01bd.37755547@enews.newsguy.com> <36101F5C.82A6DF6B@mvps.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9701,1d0d9a944f8acbf8 X-Google-Attributes: gidf9701,public X-Google-Thread: fc3fb,81ddca2bbfb6aa72 X-Google-Attributes: gidfc3fb,public X-Google-Thread: 108cda,81ddca2bbfb6aa72 X-Google-Attributes: gid108cda,public X-Google-Thread: fe15c,81ddca2bbfb6aa72 X-Google-Attributes: gidfe15c,public From: dmorgen@alum.mit.edu (David Morgenlender) Subject: Re: RPC_S_INTERNAL_ERROR (0x800706e6) when call COM method with SAFEARRAY arg Date: 1998/09/29 Message-ID: <3622f052.98842447@enews.newsguy.com> X-Deja-AN: 396006398 Content-Transfer-Encoding: 7bit References: <35f7af87.139502483@enews.newsguy.com> <35fca36a.74862657@enews.newsguy.com> <35fd93e5.9529171@enews.newsguy.com> <360a2925.226239187@enews.newsguy.com> <361f01bd.37755547@enews.newsguy.com> <36101F5C.82A6DF6B@mvps.org> Content-Type: text/plain; charset=us-ascii Organization: http://extra.newsguy.com Mime-Version: 1.0 Newsgroups: microsoft.public.vc.activextemplatelib,comp.os.ms-windows.programmer.ole,microsoft.public.win32.programmer.ole,borland.public.cppbuilder.activex