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 sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <38DA6B2F.D7B2D3D0@nyp.org> Date: Thu, 23 Mar 2000 14:06:23 -0500 From: "Joan M. Moss" Organization: New York Presbyterian Hospital X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: [Fwd: 20.1 with GCC 2.95.2 problem] Content-Type: multipart/mixed; boundary="------------E836EE6A2E38E86B66F97C3D" --------------E836EE6A2E38E86B66F97C3D Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit -- J. Maurine Moss First consulting Group Management Services 333 East 38th Street New York, New York 10016 Tel: (212) 297-3081 Fax: (212) 297-4231 E-mail: jmm9001 AT nyp DOT org --------------E836EE6A2E38E86B66F97C3D Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: Received: from nyp.org ([140.251.195.201]) by mail.med.cornell.edu (Netscape Messaging Server 3.6) with ESMTP id AAA1FD36; Thu, 23 Mar 2000 13:56:29 -0500 Message-ID: <38DA68DF DOT A46D44B1 AT nyp DOT org> Date: Thu, 23 Mar 2000 13:56:31 -0500 From: "Joan M. Moss" Organization: New York Presbyterian Hospital X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: JKraaijeveld AT Askesis DOT nl, khan AT NanoTech DOT Wisc DOT EDU CC: jmm9001 AT nyp DOT org Subject: Re: 20.1 with GCC 2.95.2 problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I saw your e-mail on the web-site ( http://sourceware.cygnus.com/ml/cygwin/2000-01/msg00038.html ) and thought it might have bearing on the problems I'm experiencing. I am porting a program from the RS6000 (AIX 4.2.1.0) to my PC NT (4.0 Service Pack 5) using Cygwin B20.1 I want to access a DLL in \WINNT\system32, Liba.dll. There is aversion of it on the RS6000 which I have been accessing. Now I want to recompile my program and access the DLL on the PC. I do NOT have the source for the DLL. With help from Mikey, Oystein Johansen, Larry Hall, Jay Krell, and possible someone else, I was able to create the import library, the .lib, and compile, link and run. When I execute the program it logs in and seems to set up the ODBC connection. It even comes back and prints out a message saying that it logged in successfully and then it crashes. I get a message-box with the following message: PND.e.exe Exception: access violation 0x00401222 I've tried recompiling with "-O2 -fno-strength-reduce" but got the same results. If I pass the login function an invalid passwd then the function returns saying an invalid userid/passwd was entered. This time the program ends normally. Any thoughts or comments you might have on this subject would be useful. I really need to get this working. Is there a work around?? Thanks for your help. -- J. Maurine Moss First consulting Group Management Services 333 East 38th Street New York, New York 10016 Tel: (212) 297-3081 Fax: (212) 297-4231 E-mail: jmm9001 AT nyp DOT org --------------E836EE6A2E38E86B66F97C3D Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --------------E836EE6A2E38E86B66F97C3D--