From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22188 invoked by alias); 26 Nov 2004 17:54:08 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22160 invoked from network); 26 Nov 2004 17:54:04 -0000 Received: from unknown (HELO mail.prospeed.net) (12.46.111.140) by sourceware.org with SMTP; 26 Nov 2004 17:54:04 -0000 Received: from enterprise-e.cygwin.com (lhall.prospeed.net [12.46.110.44] (may be forged)) by mail.prospeed.net (8.13.0/8.13.0) with ESMTP id iAQHs101016167; Fri, 26 Nov 2004 12:54:01 -0500 Reply-To: Cygwin List Message-Id: <6.2.0.14.0.20041126124455.03be1910@pop.prospeed.net> Date: Fri, 26 Nov 2004 18:45:00 -0000 To: =?gb2312?q?=CF=F2=D1=F4=20=BA=AB?= , cygwin@cygwin.com From: Larry Hall Subject: Re: Linking problem In-Reply-To: <20041126071404.33661.qmail@web15804.mail.cnb.yahoo.com> References: <20041126071404.33661.qmail@web15804.mail.cnb.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2004-11/txt/msg01082.txt.bz2 At 02:14 AM 11/26/2004, you wrote: >Dear All, > > I use RegisterDeviceNotification Win32 API in my >program. While compiling under cygwin, linker reports >that cannot find _RegisterDeviceNotification symbol. >And I searched and found that >RegisterDeviceNotification's text is contained in >libuser32.a, but its symbol is appended @12, what's >this? > Please help me, thanks! Welcome to Windows. This is not a Cygwin specific issue so you should consult further with a Windows list forum if you have further questions on this issue. For now, I'll point you to a couple of links on the MSDN that should help you get a better understanding of what's going on: If all else fails and you just need to get something working without any understanding, you can try adding the 'ld' flag '--enable-stdcall-fixup'. But really, you should read the above so you understand what you're missing and what you need first. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/