httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexei Kosut <ako...@leland.Stanford.EDU>
Subject Re: another naming question
Date Fri, 26 Dec 1997 12:18:36 GMT
On Fri, 26 Dec 1997, Ben Laurie wrote:

> Alexei Kosut wrote:
> > int some_function(char *argument) {
> >     return (GetProcAddress(LoadLibrary("somelibrary.dll"), 47)(argument);
> > }
> > 
> > That's not quite right - it does caching so it only loads a file once, and
> > only loads each symbol once, and I'm not sure that's valid C, or that I've
> > got the right function names - but basically replacing the 47 with
> > "some_function" would make things work as I want. I should go check the
> > documentation.
> 
> You should, because it already works the way you want...

Really? That'd be great. I haven't actually tried it, but last time I
asked (a few months ago), a few of the Win32 people claimed profusely
that DLLs were linked ordinally.

Maybe I should do some tests.

-- Alexei Kosut <akosut@stanford.edu> <http://www.stanford.edu/~akosut/>
   Stanford University, Class of 2001 * Apache <http://www.apache.org> *



Mime
View raw message