delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/11/07/01:15:38

From: garbanzo AT hooked DOT net (Alex)
Subject: Re: How to export DLL functions for Windows apps
7 Nov 1997 01:15:38 -0800 :
Message-ID: <Pine.BSF.3.96.971107001152.21545A-100000.cygnus.gnu-win32@zippy.dyn.ml.org>
References: <199711062145 DOT WAA13471 AT bouleau DOT wanadoo DOT fr>
Mime-Version: 1.0
To: Gilles Depeyrot <Gilles DOT Depeyrot AT wanadoo DOT fr>
Cc: gnu-win32 AT cygnus DOT com


On Thu, 6 Nov 1997, Gilles Depeyrot wrote:

> Is it possible to export DLL functions and call them from Windows
> applications ?
> 
> If so, how to you go about doing this ?
> 
> I tried but the LoadLibrary functions returns a NULL handle and
> GetLastError returns 0 which doesn't help me find what's wrong.

As per Microsoft's web site, an error value of zero specifies that the
system was out of memory, the file was corrupt, or the relocation data was
invalid.  Further digging through the web site lead me to believe that one
could emulate dlopen,sym,and close with loadlibrary, getprocaddress, and
freelibrary.

- alex

-
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