Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990806145725.38799.qmail@hotmail.com> X-Originating-IP: [207.172.63.252] From: "Harold Weissfield" To: cygwin AT sourceware DOT cygnus DOT com Subject: Memory Violation With Windres and Shared Data Segments Date: Fri, 06 Aug 1999 14:57:23 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Gentlemen, I have recently downloaded Mumit's Mingw32 distribution with GCC 2.95 as the compiler, and everything is working well. However, I have had the consistent problem of when I tried to use windres, Windows pops up a messagebox that says something similar to the following: "Your program accessed memory currently in use at 00003FBC from 1654:02FE. You should save all your work, and then quit your programs. If you continue running this program, your system may become unstable. Do you want to continue?" I was wondering if anyone else had encountered this problem before or if it was just my computer at fault. On a different note, I have been searching through the documentation for GCC for information on how to created a shared data segment in a DLL, but so far have been unable to come up with anything. Under Visual C++, this was done with a #pragma comment(linker, "-section:Shared,rws") and then a #pragma data_seg("Shared"). Is there any equivalent construct in GCC? I appreciate any comments or suggestions, and thank you for your time. Cheers, Harold Weissfield _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com