<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
&gt; Rolf Kalbermatter wrote:<BR>&gt; <BR>&gt; Not sure about what you mean with injecting here but in normal application operation<BR>&gt; when loading a DLL explicitedly from a specific directory (which is not the current<BR>&gt; directory nor the application directory or one of the standard search paths), <BR>
&gt; Windows<BR><BR>
did you mean 'Wine', i know ms-windows has no problem.<BR>
&nbsp;<BR>
&gt; will not resolve to other DLLs implicitedly loaded by that DLL eventhough they are in<BR>&gt; the same directory than the referencing DLL.<BR>
&nbsp;<BR>
This is exactly the another situation I am going to explain. Thanks.<BR>
&nbsp;<BR>
I have produced a patch to load the imported dll from same directory<BR>
as the&nbsp;referring DLL when import_dll() fail to load&nbsp;from standard <BR>
locations (current dir, app dir and PATH)<BR>
&nbsp;<BR>
But I did not know how to write test case for it since there are other DLL involved.<BR>
&nbsp;<BR>
Regards<BR>
Hongbo Ni<BR><BR><br /><hr />Bees, cows, tigers and more! <a href='http://livelife.ninemsn.com.au/article.aspx?id=567534' target='_new'>Windows Live Messenger�treats you to 30 free emoticons.�</a></body>
</html>