apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Marr <gr...@alum.wpi.edu>
Subject Re: [APR PATCH] Bootstrapping problem on Mac OS X
Date Mon, 10 Jun 2002 16:57:04 GMT
At 12:22 PM 06/10/2002, Pier Fumagalli wrote:
>My code should better check for errors :) that's for sure, but at 
>the same time, they shouldn't be trying to load libraries randomly 
>if the files do not exist :) :) :)

On Windows, LoadLibrary will search all directories in PATH, the 
current working directory, and the directory where the executable is 
located looking for a library if no path is specified, so they don't 
necessarily have to be in any given directory to be loaded.  This is 
the "recommended" way to search for a library on Windows, you ask the 
OS to load it.  If it fails, it doesn't exist, or just can't be found.

-- 
Greg Marr
gregm@alum.wpi.edu
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"


Mime
View raw message