Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <3.0.1.32.19990427122643.006888f4@pop.iperbole.bologna.it> X-Sender: vaf9143 AT pop DOT iperbole DOT bologna DOT it X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Tue, 27 Apr 1999 12:26:43 +0200 To: cygwin AT sourceware DOT cygnus DOT com From: Glauco Masotti Subject: s.v. at XOpenDisplay called by a dll Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Hi there. From one side I am glad to tell you that I finally succeded in building any kind of dll and getting them loaded by ME10 (ref.: mixing GNU and MS tools/libraries...). *Some* of them also work fine :-) Maybe in another mail I tell you my point of view about this experience. I also succeded in getting an authonomuos program working fine using the Cygwin dll (not with mingw, but this is another story). This program makes substantial graphics I/O and I could port it from an X ws to a Win NT pc, without substantial changes to the sources. From the other side I must say that I hit a rock which may sink this project if a solution is not found quickly. The problem now is to be able to open an X terminal from a dll that I have loaded in ME10. This is not working here (I am using a plain Cygwin 20.1 distribution). The graphics interface of this dll shares most of the code of the other program, so I cannot figure out why the program runs and the dll doesn't. I even wrote a very simple dll which just makes a call to XOpenDisplay. Well, no way, I get a segmentation violation signal. Is this a known problem? Can someone help? BTW, debugging a dll loaded at run time is very hard given the available tools. The main problen is that I cannot set a breakpoint in the dll code before actually loading it, but after I have loaded it, gdb is unresponsive to ^C like it does on a ws. Can someone tell me the magic to get gdb sense the interrupts? Regards, --- Glauco Masotti -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com