[Gtk-sharp-list] bonobo-sharp
Daniel Morgan
danielmorgan@verizon.net
Wed, 27 Oct 2004 18:05:45 -0400
This is a multi-part message in MIME format.
------=_NextPart_000_002B_01C4BC4F.94EDB0A0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Could Remoting.Corba help you? It works with Mono.
=20
http://remoting-corba.sourceforge.net/
=20
-----Original Message-----
From: gtk-sharp-list-admin@lists.ximian.com
[mailto:gtk-sharp-list-admin@lists.ximian.com] On Behalf Of Mikkel Kruse
Johnsen
Sent: Wednesday, October 27, 2004 8:55 AM
To: gtk-sharp-list@lists.ximian.com
Subject: [Gtk-sharp-list] bonobo-sharp
=20
Hi All.
I have for a long time been thinking (working) on wrapping Bonobo in C#
(Mono) and have been using a manually wrapped bonobo, so I could embed
Bonobo C# components into my C program.
I have resently changed to use gtk-sharp's automatically wrapper and it =
kind
of work. There is still a lot to do and changes to gapi-parser and
gapi-codegen needs to be made. fx.
* In the bonoboui-source.xml namespace is "BonoboUI" and should be
"Bonobo.UI" but gapi-parser don't get that.
* Interfaces can't implement interfaces. (gapi-codegen don't create =
the
right code) "interface IContainer : GLib.IWrapper, Bonobo.IUnknown".
* gapi-parser needs to pick up bonobo interfaces, fx: in headers
"POA_Bonobo_Container__epv" could indicate that it implements =
IContainer.
* a way to specify for a function that it should not use "Handle" =
but
fx. "ObjRef()" instead.
So for now "sed" is used alot in Makefile's=20
The most seriously thing missing from the curret code is that
bonobo_object_ref and bonobo_object_unref is not used. GLib.Object needs =
to
be able to use these functions or a way to override it in fx. =
Bonobo.Object.
Exsposing your own interfaces and accessing non bonobo interfaces is not
implementet at all. "sharp-idl" is started but is not working at all. =
Must
wrap libIDL or make our own parser is needed. And how to expose a C#
interface (IDL) in ORBit2 I don't know. Mayby using imodule or =
something.
I could really use some help, so please do "svn co
http://svn.linet.dk/bonobo-sharp/trunk bonobo-sharp" and start hacking =
and
sending patches or ask for commit login.
/Mikkel=20
------=_NextPart_000_002B_01C4BC4F.94EDB0A0
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<html>
<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dblue>
<div class=3DSection1>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Could Remoting.Corba help =
you? It
works with Mono.</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>http://remoting-corba.sourceforge.ne=
t/</span></font></p>
<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b>
gtk-sharp-list-admin@lists.ximian.com
[mailto:gtk-sharp-list-admin@lists.ximian.com] <b><span =
style=3D'font-weight:
bold'>On Behalf Of </span></b>Mikkel Kruse Johnsen<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, October =
27, 2004
8:55 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
gtk-sharp-list@lists.ximian.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [Gtk-sharp-list]
bonobo-sharp</span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'> </span></font></p>
<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>Hi All.<br>
<br>
I have for a long time been thinking (working) on wrapping Bonobo in C# =
(Mono)
and have been using a manually wrapped bonobo, so I could embed Bonobo =
C#
components into my C program.<br>
<br>
I have resently changed to use gtk-sharp's automatically wrapper and it =
kind of
work. There is still a lot to do and changes to gapi-parser and =
gapi-codegen
needs to be made. fx.<br>
<br>
* In the bonoboui-source.xml namespace is
"BonoboUI" and should be "Bonobo.UI" but gapi-parser =
don't
get that.<br>
* Interfaces can't implement interfaces. =
(gapi-codegen don't
create the right code) "interface IContainer : GLib.IWrapper,
Bonobo.IUnknown".<br>
* gapi-parser needs to pick up bonobo interfaces, fx: =
in
headers "POA_Bonobo_Container__epv" could indicate that it =
implements
IContainer.<br>
* a way to specify for a function that it should not =
use
"Handle" but fx. "ObjRef()" instead.<br>
<br>
So for now "sed" is used alot in Makefile's <br>
<br>
The most seriously thing missing from the curret code is that =
bonobo_object_ref
and bonobo_object_unref is not used. GLib.Object needs to be able to use =
these
functions or a way to override it in fx. Bonobo.Object.<br>
<br>
Exsposing your own interfaces and accessing non bonobo interfaces is not
implementet at all. "sharp-idl" is started but is not working =
at all.
Must wrap libIDL or make our own parser is needed. And how to expose a =
C#
interface (IDL) in ORBit2 I don't know. Mayby using imodule or =
something.<br>
<br>
I could really use some help, so please do "svn co <a
href=3D"http://svn.linet.dk/bonobo-sharp/trunk">http://svn.linet.dk/bonob=
o-sharp/trunk</a>
bonobo-sharp" and start hacking and sending patches or ask for =
commit
login.<br>
<br>
/Mikkel </span></font></p>
</div>
</body>
</html>
------=_NextPart_000_002B_01C4BC4F.94EDB0A0--