From: Oliver Nittka <nittka@esem.com>
To: cygwin@sourceware.cygnus.com
Subject: Re: Linking an existing DLL
Date: Fri, 17 Mar 2000 01:12:00 -0000 [thread overview]
Message-ID: <u1z5aklje.fsf@esem.com> (raw)
In-Reply-To: <38D0EA1A.BCC4D266@nyp.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]
"Joan M. Moss" <jmm9001@nyp.org> writes:
> \WINNT\system32\ I do not have the source for the DLL so I can NOT
> build the DLL on cygwin B20.1. However, I would like to access it under
> cygwin B20.1. Is this possible?
with the cygwin-1.0CD (and very likely with the latest snapshots, too)
i succeeded with just linking in the DLL in question like that:
probe: probe.c
$(CC) $(CFLAGS) -o probe probe.c /cygdrive/d/WINNT/foreign.dll
however, if the functions in the DLL are _stdcall, but they are
exported without the decoration (without ..@nn), you've got to create
an import-library manually.
contact me, if the above gives errors like
undefined reference to `SomeFunction@8'
hth
-- oly
--
Oliver Nittka | nittka@esem.com
ESEM Grünau GmbH & Co. KG | http://www.esem.com
DornierstraÃe 6 | phone: +49 7544 9583-25
88677 Markdorf / Germany | fax: +49 7544 9583-60
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next prev parent reply other threads:[~2000-03-17 1:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-16 6:05 Joan M. Moss
2000-03-17 1:12 ` Oliver Nittka [this message]
2000-03-16 6:19 Ãystein O Johansen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=u1z5aklje.fsf@esem.com \
--to=nittka@esem.com \
--cc=cygwin@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).