httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: another naming question
Date Fri, 26 Dec 1997 11:59:06 GMT
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...

Cheers,

Ben.

-- 
Ben Laurie            |Phone: +44 (181) 735 0686|Apache Group member
Freelance Consultant  |Fax:   +44 (181) 735 0689|http://www.apache.org
and Technical Director|Email: ben@algroup.co.uk |Apache-SSL author
A.L. Digital Ltd,     |http://www.algroup.co.uk/Apache-SSL
London, England.      |"Apache: TDG" http://www.ora.com/catalog/apache

Mime
View raw message