A considerable breakthrough was achieved yesterday. Using the MinGW/MSYS build environment provided by the installer I had been working on. I got the GtkSourceView 1.4.2 unmanaged component to build right. Later, I figured how I could make GtkSourceView find the language spec files. I had to create a .gnome2/gtksourceview-1.0 directory in my Window's user %HOMEPATH% and move all the spec files there rather than in the customary /usr/share/gtksoruceview-1.0.
Another Gnome on Win32 discovery came when I realized that gnomeui-2 opens some sockets during it's initialization. This may not be the case in Linux (there, it probably uses file sockets). However, before I figured what was going on, anything (for example a simple invocation of Gnome.About) would make programs crash in a less than friendly stack trace that was clearly way down in the unmanaged bowls of the system.
Finally, it turns out that ws2_32.dll (Winsock 2) does not have the same exports in Windows 2000 than it does in Windows XP. As a result, the Gnome/Gnome# is working good in Windows XP but breaks in Windows 2000. I will keep everyone posted as I tackle MonoDoc -- specifically browser.exe which now compiles but craps out at runtime.
wow, that's pretty impressive. Note that some work went in in gtksourceview upstream to improve win32 support. For instance we now use xdg_data_dirs which should make locatong the lang files way easier.
We'd love to have feedback on that given that we do not have a win32 environment. Feel free to get in touch with us.
Posted by: Paolo Borelli at January 15, 2006 05:48 PMMr. Borelli:
What a great honor to have you comment in my blog entry. Thank you very much for the work you and the rest of the GtkSourceView team does. I know that us mono developers are going to empower a lot of applications thanks to the great capabilities that your library offer.
Thank you and we will keep the communication open!