apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w..@netscape.com (Wan-Teh Chang)
Subject Re: apr_dso_load() suffixes
Date Wed, 28 May 2003 20:26:22 GMT
Jeff Trawick wrote:

 > can't see such code...  maybe Win32 itself adds .dll under some
 > circumstances

This is documented in the Win32 LoadLibrary() function's
documentation.  Windows adds .dll if the specified file
name has no extension.  If you want to load a DLL whose
name really has no extension, you need to explicitly
append a dot (.) to the DLL's name.

See the Remarks section in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/loadlibrary.asp.

Wan-Teh


Mime
View raw message