This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: LoadLibrary("cygx11-6.dll") results in STATUS_ACCESS_VIOLATION
- From: "Samer El Boustany" <samer dot boustany at neuf dot fr>
- To: "Samer El Boustany" <samer dot boustany at neuf dot fr>,<cygwin-xfree at cygwin dot com>
- Date: Sun, 24 Oct 2004 23:35:04 +0200
- Subject: Re: LoadLibrary("cygx11-6.dll") results in STATUS_ACCESS_VIOLATION
- Reply-to: cygwin-xfree at cygwin dot com
Thank you for your replies.
I tried the dlopen and it gets into an inifinite loop. Any idea why?
thanks
samer
Charles Wilson wrote:
LoadLibrary usually works okay --- but it'd certainly be better, from a
cygwin POV, to use cygwin1.dll's dlopen() instead. And there is sometimes a
good reason to avoid direct linking: what if you want to "turn on" various
windowing/GUI modes...e.g. rxvt on cygwin can currently be used without an
Xserver running, without even having the X libs installed. If $DISPLAY is
:0, it never tries to load the X stuff, but simply uses Windows GDI. If the
Xlibs were linked directly into the app, you'd always have to have the Xlibs
installed, even if you didn't want to ever use rxvt in "X11" mode.
----- Original Message -----
From: "Samer El Boustany" <samer.boustany@neuf.fr>
To: <cygwin-xfree@cygwin.com>
Sent: Sunday, October 24, 2004 7:49 PM
Subject: LoadLibrary("cygx11-6.dll") results in STATUS_ACCESS_VIOLATION
> Hi,
> I am trying to write an x client application that will run on a windows xp
> machine. When I try to load any X related dll (in order to be able to call
> for example XOpenDisplay) the executable exits whith the message
> 5 [main] test3 2820 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
> 648 [main] test3 2820 open_stackdumpfile: Dumping stack trace to
> test3.exe.tackdump
>
> This dump occurs when the system tries to load the library.
>
> Any help would be appreciated.
>
> thanks
> samer
>