[Mono-list] Re: win32 vs linux override discrepancy
felipe maya
felipemaya@manizales.com
Thu, 4 Mar 2004 10:30:02 -0600
<html><body><font face='arial' color='#000000' size='2'>I'm wotking with mono-0.30.2 on Linux, I'm trying to connect to MySql database with ByteFX. On Linux is very slow and return TIMED OUT. On Windows (0.30) is slow to but the connection SUCCESS.
<br>
<br>
When the compilation on Win32 with .NET is success, the execution of the program without MONO, the accent(ñóíáéú) UTF8 encoding blank the string of the Gtk# LABEL, but the execution with MONO don't produce it.
<br>
<br>
I'm trying with MySQLDriverCS the latest version, the compilation with mono don't success and inform me that i have to recompile the source because mono need to incremental... With .NET, the compilation is success, but i have the same problem blank GTK# Label.
<br>
<br>
THANKS
<br>
<br>
> I've been using gtk# on linux (mono) and win32 (.net). This has been
<br>
> working flawlessly for quite a while. Now that I upgraded gtk# on linux
<br>
> to 0.17, the same code does not compile on .net. I decided to compile my
<br>
> 0.17 dll's using cygwin (for the first time). Not sure if I'm doing it
<br>
> right. Took the 7 compiled dll's and put them in my Bin/Debug directory
<br>
> of my visual studio solution. This is where I usually put them when I
<br>
> download them from the gtk# site and they work.
<br>
>
<br>
> Assuming that I compiled them correctly, I cannot override
<br>
> OnButtonPressEvent on win32 (.net). On linux it's ok.
<br>
>
<br>
> I get "no suitable method found to override."
<br>
>
<br>
> I'm using:
<br>
>
<br>
> protected override bool OnButtonPressEvent(Gdk.EventButton evnt)
<br>
>
<br>
> In order for it to work on .net, I have to use ref:
<br>
>
<br>
> protected override bool OnButtonPressEvent(ref Gdk.EventButton evnt)
<br>
>
<br>
>
<br>
> Also, members of Gdk.EventButton are lower case in win32 and uppercase
<br>
> on mono (linux) such as:
<br>
>
<br>
> button, x, and y
<br>
>
<br>
> Does anyone have the windows dll's for 0.17? I would like to try someone
<br>
> else's?
<br>
>
<br>
> Regards,
<br>
>
<br>
> Alvaro
<br>
<br>
<hr color='#FACB65' width='350' align='left'>
<font face='arial' size='2' color='Black'>Consigue tu correo GRATIS en <b><a href='http://manizales.com'>Manizales.com</a></b>,<br>
dale vida a tus mensajes con más de 300 motivos gráficos.<br>
Busca el portal de tu ciudad en <a href='http://66.216.122.105' target='_blank'>http://66.216.122.105</a></font><br>