My problems clearly came from the fact that I was using the version 2008 of 
Visual Studio Express Edition, instead of the version 2005.
I installed the older version. The sample codes work perfectly well in both 
modes, debug and release.
Best regards,
Benoît Laurent




From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: Drawing area - example - code
Date: Sun, 16 Mar 2008 12:38:32 +0000
CC: [email protected]








> Subject: Re: Drawing area - example - code
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> CC: [email protected]
> Date: Sun, 16 Mar 2008 12:04:28 +0100
> 
> 
> On Sun, 2008-03-16 at 08:45 +0000, Bertrand Grottier wrote:
> > Hello,
> > 
> > I compiled the simple example provided in the gtkmm documentation
> > dealing with Drawing areas
> > (http://www.gtkmm.org/docs/gtkmm-2.4/...ing-lines.html)
> > 
> > When I run the program, quickly dragging the window out of the screen
> > and back always triggers a crash.
> > 
> > My environment is the following:
> > - OS : Windows XP,
> > - EDI : Visual Studio 2008 Express Edition.
> > 
> > Has somebody encountered the same problem ?
> 
> I can't reproduce this on Linux, though I see now way to drag the whole
> window completely off the screen.
Yes, you are right: I drag the window just partially off the screen.


> Could you get a backtrace for the crash from your debugger?
Unfortunately, in debug mode, the program crashes at the very beginning with 
the following message:

File: f:\\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c
Line: 1317
Expression: _CrtIsValidHeapPointer(pUserData)

Here is the call stack :
test.exe!Cairo::RefPtr<Cairo::Context>::unref() Line 210 + 0x18 octets
test.exe!Cairo::RefPtr<Cairo::Context>::~RefPtr<Cairo::Context>() Line 193
test.exe!MyArea:on_expose_event(_GdkEventExpose * event=0x0012fa08)  Line 38 
gtkmm-2.4.dll!Gtk::Widget_Class::expose_event_callback(_GtkWidget* 
self=0x011ff398, _GdkEventExpose * p0=0x0012fa08) Line 4494 + 0x13 octets

May the problem come from the fact that I am using the 2008 version of Visual 
Studio instead of the 2005 version ?

Best regards,

Benoît

Windows Live Messenger 2008 vient de sortir, encore plus de fun !  Téléchargez 
gratuitement Messenger 2008

_________________________________________________________________
Comme 9 millions de français, créez un compte Hotmail !
http://www.windowslive.fr/hotmail/default.asp
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to