RE: Compiles OK but get "0xC0000005: Access violation" when run

2006-07-02 Thread Brad Starkie
Thank all you for your pointers. I can now compile and run my executable. The problem was that I couldn't find two of the *.lib files and had linked to some *.a files that I came with the DLLs instead. VC++ was happy to compile and link with the other files, so I assumed that this was OK. The depen

RE: Compiles OK but get "0xC0000005: Access violation" when run

2006-07-02 Thread Brad Starkie
Hi Adam, Thanks for your kind offer. My hello world program can be downloaded from http://bradstarkie.id.au/hello_world.tar.gz Regards Brad Starkie -Original Message- From: Adam Bernstein [mailto:[EMAIL PROTECTED] Sent: Monday, 3 July 2006 1:18 PM To: Bradford Starkie Subject: Re: Co

Re: Compiles OK but get "0xC0000005: Access violation" when run

2006-07-02 Thread Dov Grobgeld
0x005 is a generic error which it is difficult to know why it is happening. Here are some suggestions for you to try: * Make sure that the program compiles and runs under Linux. * Use Dependancy Walker to investigate what dll's the program links to. (Corresponds roughly to ldd on Linux). * Cop

Compiles OK but get "0xC0000005: Access violation" when run

2006-07-02 Thread Bradford Starkie
I've recently written a GTK application under Linux and I'm now trying to compile and execute the application under win32.   I've followed the instructions at http://wolfpack.twu.net/docs/gtkwin32/index.html. The software compiles without any errors or warnings but when it runs it crashes with t

GLib 2.12 released

2006-07-02 Thread Matthias Clasen
GLib 2.12.0 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.12/ http://ftp.gnome.org/pub/gnome/sources/glib/2.12/ glib-2.12.0.tar.bz2 md5sum: ea8c7733ba443e3db04cf7a84060f408 glib-2.12.0.tar.gzmd5sum: 2a2e67d1cd44afd2f9e07a2e11c1efd0 GLib is the low-level core library that

GType memory allocation - alignment

2006-07-02 Thread Robin BOURIANES
Hi list ! I've got some questions regarding memory allocation by the GType system. I plan to experiment some custom types using the GType system, but those types will require specific memory alignment (in order to use some sse stuff). At the present time, my test types are just plain c structures

GTK+ 2.8.20 released

2006-07-02 Thread Matthias Clasen
GTK+ 2.8.20 is now available for download at: ftp://ftp.gtk.org/pub/gtk/v2.8/ http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.8/ gtk+-2.8.20.tar.bz2 md5sum: 74e7ca98194f1fadfe906e66d763d05d gtk+-2.8.20.tar.gzmd5sum: a179af45c311af3dfb5ff08c23564030 This is a bugfix release in the 2.8.x ser

How to get notified when a GdkWindow becomes hidden/invisible/unrealized?

2006-07-02 Thread Clemens Eisserer
Hello, Whats the best way to get notified when an GdkWindow is invisible/hidden/destroyed (=minimized by the WM, hidden by the program, ...), is the unrealized-signal what I search for? And whats the best way to listen to these events if I would like to listen directly "from inside" GdkWindow, i g

Re: Installing more than 1 version of Gtk+

2006-07-02 Thread Stephen Ng
Michael, Thanks for taking the trouble to reply. I hope you don't mind is I pick your brain i order to get this right!! When compiling gtk+, I should use - ./configure --prefix=/opt/gtk2.8 make make install I believe I should then include the new path in /etc/ld.so.conf and run ldconfig to up