Andrew Haines wrote:

Malcolm Poole wrote:


I have been trying to translate gtkmozembed.h, in the hope that I could produce FreePascal/Gtk programs incorporating an HTML browser. Has anyone else tried this or am I trying to do the impossible?


I'm not 100% sure but I tinkered around with the GtkMozEmbed control a while ago and I think it is a gtk2 widget and not compatible with gtk1.

I've attached the converted header file that I had started. I don't even know if it will compile for you, as I never finished it.

HTH

Andrew

Thanks, Andrew, that helped me locate some errors in my code, (functions declared as procedures) but still, unfortunately, the same EAccessViolation error occurs. There does seem to be a *gtkmozembed*-*gtk2 widget, but the gtkmozembed.h I've been working with definitely #includes gtk and glib and the C program I put together is Gtk 1.2. I've not had much success compiling programs using gtk2 so far, but if I get it working I'll see if I can get gtkmozembed-gtk2 to work.

Malcolm
*

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to