[Glade-users] Access Violation Exception



This is a multi-part message in MIME format.

------=_NextPart_000_0079_01C4D959.69F90260
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I am attempting to port a Linux app I developed to Windows (using MSVC =
6.0 on WinXP) which uses libglade.  I'm using the =
gtk-win32-devel-2.4-rc24 GTK/Glade/Glib installer to provide all the =
necessary libraries. =20

I'm able to successfully build the executable (I link with =
libglade-2.0.dll.a) but when I run it I get an "First-Chance Exception: =
0xC00000005 Access Violation" and the program dies before it even gets =
to any visible code.  I tried making a simple project (generated by =
glade) which builds and runs fine if I just use the standard output.  =
However, when I modify it so that it includes libglade-2.0.dll.a and try =
to load the simple interface from the xml I get the same error. =20

Does anyone have an example of a working libglade project for MSVC or =
has anyone seen this problem?  I've probably done something stupid with =
my includes/library setup but I can't figure it out.  
------=_NextPart_000_0079_01C4D959.69F90260
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I am attempting to port a Linux app I =
developed to=20
Windows (using MSVC 6.0 on WinXP) which&nbsp;uses libglade.&nbsp; I'm =
using the=20
gtk-win32-devel-2.4-rc24 GTK/Glade/Glib installer to provide all the =
necessary=20
libraries.&nbsp; </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm able to successfully build the =
executable (I=20
link with libglade-2.0.dll.a) but when I run it I get an "First-Chance=20
Exception: 0xC00000005&nbsp;Access Violation" and the program dies =
before it=20
even gets to any visible code.&nbsp; I&nbsp;tried making&nbsp;a simple =
project=20
(generated&nbsp;by glade) which builds and runs fine&nbsp;if I just use =
the=20
standard output.&nbsp; However, when I&nbsp;modify&nbsp;it so that it =
includes=20
libglade-2.0.dll.a and try to load the&nbsp;simple interface from the =
xml I get=20
the same error.&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Does anyone have an example of a =
working libglade=20
project for MSVC or has anyone seen this problem?&nbsp; I've probably =
done=20
something stupid with my includes/library setup but I can't figure it=20
out.</FONT><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;</FONT></DIV></BODY></HTML>

------=_NextPart_000_0079_01C4D959.69F90260--





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