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.
Why not link the library directly into the program? I'm not sure if LoadLibrary
works well with cygwin dlls.