Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Message-ID: <3AC29A15.C263BBBD@amc.com> Date: Wed, 28 Mar 2001 18:12:37 -0800 From: Clive Levinson X-Mailer: Mozilla 4.08 [en] (WinNT; I) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Missing 'GetSaveFileName' with -mno-cygwin Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I was previously building my applications using mingw. I recently downloaded and installed cygwin, as I wanted to use the bash and the Unix toolset. A DLL that previously built using mingw is giving problems when using cygwin. When I execute: dllwrap --target i686-mingw32 -mno-cygwin --driver-name gcc \ --def clx.def \ -o clx.dll clx.o resource.o I get the following error: clx.o(.text+0xf5):clx.cpp: undefined reference to `GetSaveFileNameA@4' If I comment out the section of code that calls GetSaveFileName, the DLL builds with no problem. Any suggestions please. Thanks, Clive -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple