[Mono-dev] BSTR Patch

Rafael Teixeira monoman at gmail.com
Tue May 2 09:47:59 EDT 2006

On 5/1/06, Jonathan S. Chambers <Jonathan.Chambers at ansys.com> wrote:
> Here's the first of some COM Interop patches; this one adds BSTR support (on Windows only).


> I'll send some test patches too, if someone could tell me whether they should be part of some current test or a new one.

> On platforms other than Windows the BSTR related methods currently g_error (this was the old code). Should I throw a NotSupported/NotImplemented exception instead?

What is the XPCOM equivalent? I remember been using BSTRs a lot in my
COM days, so that not having something to map it outside Windows may
turn down lots of interesting interoperation scenarios, that may be
made cross-platform.

> Thanks,
> Jonathan


Rafael "Monoman" Teixeira
As I'm currently working a lot with Java and even fixing Java VMs
(JamVM/Kaffe) and GNU Classpath code, I think I may partly borrow the
title (Javaman) from my friend Bruno Souza and become the
MonoNJavaMan. Yeah, I may currently be crazier than usual...

More information about the Mono-devel-list mailing list