delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/18/12:24:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <383435A3.F2497AAB@pentek.com>
Date: Thu, 18 Nov 1999 12:21:39 -0500
From: "Charles Krug Jr." <charles AT pentek DOT com>
X-Mailer: Mozilla 4.61 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Trouble linking against vendor supplied DLL.

Hello List:

I'm building a program and trying to link against a vendor supplied .dll
using their .lib file.  The code in question has successfully been built
under VC.  I'm now attempting to build under cygwin.

This is supposed to be a Win32 console application.

Using this command:

gcc -Wall -omyapp.exe mysource.c c:/universe/lib/universe.lib

This results in myapp.exe being built.

Then I run myapp, and get a Win GUI message box:

"The procedure entry point could not be located in the dynamic link
library universe.dll"

I'm thinking either I gave incorrect arguments to gcc or that I have
some installation issue with the dll.  The absence of any procedure name
in the message box makes me suspect arguments for some reason.

Anyone have any experience with this that could shed some light?

Thanx


Charles

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019