delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/12/12:44:13

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200107121646.f6CGkgJ00611@cate1-208.reshall.ou.edu>
To: Henk Vandecasteele <cygwin AT cygwin DOT com>
Subject: Re: dlopen/dlsym without cygwin.dll
In-Reply-To: Your message of "Thu, 12 Jul 2001 18:24:02 +0200."
<3B4DCF22 DOT 24D9BB4A AT pharmadm DOT com>
Date: Thu, 12 Jul 2001 11:46:42 -0500
From: jcast AT cate1-208 DOT reshall DOT ou DOT edu

Henk Vandecasteele <henk DOT vandecasteele AT pharmadm DOT com> wrote on Thu, 12 Jul 2001 18:24:02 +0200:

> is there a way to use dynamic loading at runtime without using
> cygwin.dll ( gcc -mno-cygwin)?  ( So the library is not linked at
> startup, but while running usualy initiated by the user of the
> program.)  I've looked around and I do not see many options.

The Windows API to do this is LoadLibrary/GetProcAddress.  These
are roughly analagous to dlopen/dlsym.  

HTH

Jon Cast

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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