delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
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 |
Date: | Mon, 20 Dec 1999 15:18:07 -0800 (PST) |
From: | Alexandre Jose Reis Santoro <santoro AT anna DOT stanford DOT edu> |
To: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | DLLs and STDCALL functions |
Message-ID: | <Pine.LNX.3.96.991220150719.13989C-100000@gavea.Stanford.EDU> |
MIME-Version: | 1.0 |
Sorry if this is old hat, but I could not find information on it in the FAQ and repository. I have no trouble linking to functions in dll files that use the CDECL interface. 'impdef file.dll > file.def' gives me the list of exported functions, and 'dlltool --dllname file.dll--def file.def --output-lib libfile.a' give me the necessary libfile. However, this same process does not work for functions that conform to the STDCALL format. I tried adding the '-k' option to dlltool, as well as editing the def file removing both the leading underscore and the '@nn' tail of the function name (and combinations thereof). Still no success. Anyone can help me figure out what I'm doing wrong? - Alex Santoro (santoro AT poset DOT stanford DOT edu) P.S. I'm running version b20 of cygwin. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |