Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3BCACAF6.BFA7459C@yahoo.com> Date: Mon, 15 Oct 2001 07:39:34 -0400 From: Earnie Boyd Reply-To: MU List X-Mailer: Mozilla 4.77 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Bernard Dautrevaux CC: "'MU List'" , Pavel Tsekov , Kim Saunders , CU List Subject: Re: [Mingw-users] Re: w32api maintainer References: <17B78BDF120BD411B70100500422FC6309E369 AT IIS000> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Bernard Dautrevaux wrote: > > And what would be creating a program that print the values of the needed > constants? Its seems to me it is allowed by the VC++ license (or else it > would mean that VC++ could not be used to develop any program...). Thus > > main() { > printf("#define MOUSEEVENTF_WHEEL 0x%08xu\n", MOUSEEVENTF_WHEEL); > } > > should do the trick once compiled using a valid VC++ installation. > The lawyers, and IANAL, can still construe this to be reverse engineering. If you already have the PSDK headers you could just opt to use those. There are things in those headers that won't work with gcc. I don't know them all. One of the things used to be Intel versus AT&T assembler syntax. However, I understand that there are patches to gcc that allow it to parse Intel assembler as well. Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/