[Mono-devel-list] On the road to Monodevelop 0.6!

Dane-Garrin Balia monodev at gmail.com
Fri May 6 13:02:54 EDT 2005


SOMEONE HELP please!

Problem seems to be in this code snippet:

public WebControl() : base (IntPtr.Zero)
{
        gtk_moz_embed_set_profile_path("gecko-sharp", "DummyProfile");
        Raw = gtk_moz_embed_new();
}

[error]
WebControl.custom(75) error CS1503: Argument 0: Cannot convert from
'string' to ' System.IntPtr'

Does anyone know the fix for this?
I cannot find the latest source for gecko-sharp, and yes I've scoured
google and monodevelp site.

*plz, I'm dying to run Monodevelop 0.6 and start coding*


On 5/6/05, Dane-Garrin Balia <monodev at gmail.com> wrote:
> Think this might be the answer, going to check:
> It should be fixed in r41489
> 
> Will keep you guys informed.
> Guess thats why the documentation says, 2 things must be done.
> 1) blah blah
> 2) cvs!!!!
> 
> On 5/6/05, Dane-Garrin Balia <monodev at gmail.com> wrote:
> > Thanks alot Narcis.
> > Tried that one, still no luck.
> >
> > I've managed to confuse myself.
> > I have installed gtksharp-2, mono-1.1.6, gtksourceview2, but my error
> > below, and if you look at it, relates to gecko-sharp.
> > Not sure, where I could be going wrong.
> >
> > *ponders*
> >
> > On 5/6/05, Narcís Calvet <narcis at steema.com> wrote:
> > >
> > > Hi Dane,
> > >
> > > I used the above URL steps and worked for me. Unfortunatelly its in spanish
> > > but it may help you.
> > >
> > > http://www.enzolutions.com/mono/archives/2005-03-24T12_17_52.html
> > >
> > > Good luck,
> > >
> > > Narcís Calvet.
> > >
> > >
> > > ----- Original Message -----
> > > From: Dane-Garrin Balia
> > > To: mono-devel-list at lists.ximian.com
> > > Sent: Friday, May 06, 2005 5:18 PM
> > > Subject: [Mono-devel-list] On the road to Monodevelop 0.6!
> > >
> > > 2 weeks later and I'm still hacking...
> > > must  be the special school I went to when I was young.
> > >
> > > Anyways, I've managed to get:
> > > All the main mono and mono applications requirements
> > > gtksharp2 [aka 0.9]
> > > gtksourceview2 [aka 0.7 ]
> > >
> > > Now I am stuck at gtksourceview-0.7
> > > Anyone seen this <I did google for an answer>
> > >
> > > [suse 9.3]# make
> > > generated/WebControl.cs(1477) warning CS0169: The private method
> > > 'Gecko.WebControl.OverrideLocChange( GLib.GType)' is never
> > > used
> > > Compilation failed: 6 error(s), 51 warnings
> > > make[1]: *** [gecko-sharp.dll] Error 1
> > > make[1]: Leaving directory
> > > `/home/dane/today/20050506/gecko-sharp-2.0-0.7/gtkmozembed'
> > > make: *** [all-recursive] Error 1
> > >
> > > [ pre error section]
> > > /NewWindow_delegate.cs(68) warning CS0618: 'GLib.SignalCallback' is
> > > obsolete: 'Replaced by GLib.Signal.'
> > > WebControl.custom(75) error CS1502: The best overloaded match for
> > > method 'void
> > > Gecko.WebControl.gtk_moz_embed_set_profile_path (
> > > System.IntPtr,  System.IntPtr)' has some invalid arguments
> > > WebControl.custom(75) error CS1503: Argument 0: Cannot convert from
> > > 'string' to ' System.IntPtr'
> > > WebControl.custom(75) error CS1501: No overload for method
> > > `gtk_moz_embed_set_profile_path' takes `2' arguments
> > > WebControl.custom(81) error CS1502: The best overloaded match for
> > > method 'void
> > > Gecko.WebControl.gtk_moz_embed_set_profile_path (
> > > System.IntPtr,  System.IntPtr)' has some invalid arguments
> > > WebControl.custom(81) error CS1503: Argument 0: Cannot convert from
> > > 'string' to ' System.IntPtr'
> > > WebControl.custom(81) error CS1501: No overload for method
> > > `gtk_moz_embed_set_profile_path' takes `2' arguments
> > >
> > >
> > > Ok anyone has any clue, any idea, pleaaaaaaaaaaaase help.
> > > I would actually like to run Monodevelop this century...*deep breath*
> > >
> > > Thanks in advance.
> > > Dane-Garrin Balia
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > >
> >
>



More information about the Mono-devel-list mailing list