delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/02/04:54:52

From: Jean-Philippe DOT Chancelier AT cergrene DOT enpc DOT fr (Jean-Philippe Chancelier)
Subject: Re: dlopen() and friends?
2 Jul 1997 04:54:52 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199707020706.JAA03591.cygnus.gnu-win32@deedee.cergrene>
Original-To: p DOT dalgaard AT kubism DOT ku DOT dk
Original-CC: gnu-win32 AT cygnus DOT com
In-reply-to: <x2bu4ndt3g.fsf@bush.kubism.ku.dk> (message from Peter Dalgaard
BSA on 01 Jul 1997 11: 22:59 +0200)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

>>>>> "Peter" == Peter Dalgaard BSA <p DOT dalgaard AT kubism DOT ku DOT dk> writes:

    Peter> The title almost says it all. For numerical and statistical
    Peter> computing, the ability to wire user C code into a running
    Peter> interpreter is the best thing since electricity. The
    Peter> functionality on UNIX system is in libdl.* and (usually)
    Peter> works by linking up a shared position-independent library
    Peter> and accessing it through dlopen(), dlsym(), etc. One would
    Peter> expect that similar functionality is possible through DLL's
    Peter> in win32, but has anyone actually tried this?

    Peter> -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ ---
    Peter> Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University
    Peter> of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ -
    Peter> (p DOT dalgaard AT biostat DOT ku DOT dk) FAX: (+45) 35327907 - For help
    Peter> on using this list (especially unsubscribing), send a
    Peter> message to "gnu-win32-request AT cygnus DOT com" with one line of
    Peter> text: "help".

	Yes, dlls can be used, as shared libraries in the Unix world 
	dllopen is replaced by the function  LoadLibrary
	dllsym  ....			     GetProcAddress 
	etc....

	The main difficulty is to produce a relocatable dll 
	with gnuwin32, since it seams not to be totally stable.
	examples where given in this mailing list in the past 
	This functionality is also used in the Scilab win32 version 
	( ftp.inria.fr /INRIA/Scilab ) 
	and an example is given in scilab source : scilab-2.3/Win95-util
	
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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