Re: Problem with g_signal_connect under Windows



Am Donnerstag, den 10.02.2005, 12:29 +0100 schrieb Carlo:
> Sebastian Vöcking ha scritto lo scorso 10/02/2005 12.05:
> > Hello!
> > 
> > I am working on a little program that should run under Linux and
> > Windows. Under Linux everything is working fine, but I get a strange
> > error under Windows XP SP2:
> > 
> > gmem.c:174: Failed to allocate 16 bytes
> > aborting
> > 
> > I found out that this error came from a call to g_signal_connect ().
> > 
> Until now, I did not experience nothing like that with my apps (running 
> both under linux and 98/200/xp); could you provide more details?

The error is quite strange. I am using libglade, too. And all calls to
glade_xml_signal_connect () don't cause this error. When I comment out
the the line with g_signal_connect (), the program behaves really
strange. Then I can't even get any debug output. The program crashes
immediately.

To compile my program I use MinGW. And I think I have all gtk files
properly installed. Have you run your apps with SP2? Maybe it's an issue
there? Or do I need some special compiler flags besides -mms-bitfields
and -mwindows?

Bye,
Sebastian




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]