Re: gtk-win32: "Not enough storage is available to complete this operation."



Toralf Lund writes:
 > Gdk:gdkwindow-win32.c:702: CreateWindowEx failed: Not enough storage is 
 > available to complete this operation.

 > I understand on a superficial level what the message is about, of
 > course; the system has run out of some kind of resource,

Not really likely. The error message is probably just misleading. You
are creating your window in some unexpected way that causes
CreateWindowEx to fail. The error code returned is misleading, or
maybe its corresponding plaintext message too specific for a generic
error code.

You need to distill your code down to a bare minimum that just creates
the window, nothing else, but still produces the error message. Then
open a bug report on bugzilla.gnome.org and attach the program (as a
single source file attachment: no executables, zipfiles, project files
etc thanks).

 > Gtk version is 2.6.8... Yeah, I know, there are newer ones available, 
 > but this was the latest (stable) one we found precompiled when starting 
 > this project a few months ago...

You can't have been looking very seriously then. www.gtk.org points
you from the front page to www.gimp.org/win32/, where GTK+ 2.8.x has
been available for a long time. GTK+ 2.10.x packages are on
ftp://ftp.gtk.org/pub/gtk/v2.10/win32 . (You will need newer versions
of Pango, atk and GLib too.)

Please verify that your problem still happens on GTK+ 2.10, as that is
the maintained branch.

--tml




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