| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Thu, 11 Jan 2007 09:41:09 -0500 (EST) |
| From: | Igor Peshansky <pechtcha AT cs DOT nyu DOT edu> |
| Reply-To: | cygwin AT cygwin DOT com |
| To: | Eric Lilja <mindcooler AT gmail DOT com> |
| cc: | cygwin AT cygwin DOT com |
| Subject: | Re: Link windows DLL with Cygwin application?? Urgent!! |
| In-Reply-To: | <eo56v9$d95$1@sea.gmane.org> |
| Message-ID: | <Pine.GSO.4.63.0701110939550.6616@access1.cims.nyu.edu> |
| References: | <loom DOT 20070110T074522-162 AT post DOT gmane DOT org> <eo56v9$d95$1 AT sea DOT gmane DOT org> |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Thu, 11 Jan 2007, Eric Lilja wrote:
> RJ wrote:
> > Hi,
> >
> > I am quite new to Cygwin. I am trying to compile my linux application
> > under Cygwin running on Win XP. I need to link my application to a
> > third party DLL. I don't have the source codes for the DLL. How do i
> > do it?
>
> LoadLibrary()/GetProcAddress() doesn't work?
LoadLibrary is needed only for really dynamic linking. For .so-style
linking, just put the DLL on the command line, like a library (e.g.,
gcc main.o somelib.dll
).
HTH,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Freedom is just another word for "nothing left to lose"... -- Janis Joplin
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |