[gnet] gnet 1.1.8 crashing under Windows
- From: "Daniel K. O." <danielosmari yahoo com br>
- To: "GNet-ml" <gnet gnetlibrary org>
- Subject: [gnet] gnet 1.1.8 crashing under Windows
- Date: Sat, 10 May 2003 18:45:55 -0300
Hello
I downloaded and compiled the files from gnet-src-1.1.8-20030126.zip, using
Dev-C++/MinGW 2.0 on Win98 SE.
Those are my compiler flags:
-DGNET_EXPERIMENTAL=1
-mms-bitfields
-Wall
-mno-cygwin
Everything compiled fine; I even wrote some test programs; they worked. BUT
if I close a GTK+ program without calling any gnet function, it all crashes
(a kernel32.dll error, seems to be something internal when the dll is
unloaded).
This is the code:
---
#include <gtk/gtk.h>
#include <gnet.h>
GtkWidget *win;
int main(int argc, char *argv[])
{
gnet_init();
gtk_init(&argc, &argv);
win = gtk_window_new(GTK_WINDOW_TOPLEVEL);
g_signal_connect(G_OBJECT(win), "destroy",
G_CALLBACK(gtk_main_quit), NULL);
gtk_widget_show(win);
gtk_main();
return 0;
}
---
Closing the window makes the program crash (if I make a call to any gnet
function, it'll work perfectly). Am I the only one with this problem? If so,
could anyone give me a working gnet*.dll?
Daniel K. O.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]