[Gtk-sharp-list] GTK# with Mono/Windows

Timothy Parez tpsoftware@users.sourceforge.net
Tue, 1 Apr 2003 22:46:53 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C2F8A0.96FB42A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I have mono v0.23 and the latest GTK# package.

When I run simple GTK# (created with Glade) applications I get the =
following errors


** (CLRInfo.exe:116): WARNING **: Failed to load function =
gtksharp_glade_xml_get
_filename from gtksharpglue

** (CLRInfo.exe:116): WARNING **: Failed to load function =
gtksharp_glade_xml_get
_filename from gtksharpglue

But the application still works fine.
What does this mean.

Second, and this is the bad part,
when I run an application which uses the TextView and adresses =
TextView.Buffer.SetText(....)
then it doesn't run at all. (All applications including the simple one, =
where compiled with mono/linux)
So I tried compiling the app with mono/windows

Gtk-Sharp>mcs -r gtk-sharp.dll -r glade-sharp.dll -r Q3Plugs.dll =
/resource:q3pex
ample.glade q3pexample.cs
q3pexample.cs(73) error CS-0006: Could not find any applicable function =
for this
 argument list
q3pexample.cs(78) error CS-0006: Could not find any applicable function =
for this
 argument list
q3pexample.cs(83) error CS-0006: Could not find any applicable function =
for this
 argument list
Compilation failed: 3 error(s), 0 warnings

This is what I get,
I'm not sure, but am I correct to say that this is due to changes =
between the version of GTK# I have on windows and linux ?
As the site for example documents TextView.TextBuffer.SetText(string, =
int) while I have to use TextView.Buffer.SetTest(string) on linux.

Or am I doing something else wrong ?

Thnx
Timothy.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.465 / Virus Database: 263 - Release Date: 25/03/2003
------=_NextPart_000_0009_01C2F8A0.96FB42A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have mono v0.23 and the latest GTK#=20
package.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I run simple GTK# (created with =
Glade)=20
applications I get the following errors</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>** (CLRInfo.exe:116): WARNING **: =
Failed to load=20
function gtksharp_glade_xml_get<BR>_filename from =
gtksharpglue</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>** (CLRInfo.exe:116): WARNING **: =
Failed to load=20
function gtksharp_glade_xml_get<BR>_filename from =
gtksharpglue</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>But the application still works =
fine.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What does this mean.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Second, and this is the bad =
part,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>when I run an application which uses =
the TextView=20
and adresses TextView.Buffer.SetText(....)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>then it doesn't run at all. (All =
applications=20
including the simple one, where compiled with mono/linux)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>So I tried compiling the app with=20
mono/windows</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Gtk-Sharp&gt;mcs -r gtk-sharp.dll -r=20
glade-sharp.dll -r Q3Plugs.dll /resource:q3pex<BR>ample.glade=20
q3pexample.cs<BR>q3pexample.cs(73) error CS-0006: Could not find any =
applicable=20
function for this<BR>&nbsp;argument list<BR>q3pexample.cs(78) error =
CS-0006:=20
Could not find any applicable function for this<BR>&nbsp;argument=20
list<BR>q3pexample.cs(83) error CS-0006: Could not find any applicable =
function=20
for this<BR>&nbsp;argument list<BR>Compilation failed: 3 error(s), 0=20
warnings<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>This is what I get,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I'm not sure, but am I correct to say =
that this is=20
due to changes between the version of GTK# I have on windows and linux=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>As the site for example documents=20
TextView.TextBuffer.SetText(string, int) while I have to use=20
TextView.Buffer.SetTest(string) on linux.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Or am I doing something else wrong =
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thnx</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Timothy.</DIV></FONT>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><BR>---<BR>Outgoing mail is certified =
Virus=20
Free.<BR>Checked by AVG anti-virus system (<A=20
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: =
6.0.465 /=20
Virus Database: 263 - Release Date: =
25/03/2003</FONT></DIV></BODY></HTML>

------=_NextPart_000_0009_01C2F8A0.96FB42A0--