From: <ah...@us...> - 2012-06-09 08:57:57
|
Revision: 13308 http://jvcl.svn.sourceforge.net/jvcl/?rev=13308&view=rev Author: ahuser Date: 2012-06-09 08:57:51 +0000 (Sat, 09 Jun 2012) Log Message: ----------- Fixed Mantis 5902: LoadDLL was sent into death spirale Modified Paths: -------------- trunk/jvcl/run/JvJCLUtils.pas Modified: trunk/jvcl/run/JvJCLUtils.pas =================================================================== --- trunk/jvcl/run/JvJCLUtils.pas 2012-06-04 11:31:09 UTC (rev 13307) +++ trunk/jvcl/run/JvJCLUtils.pas 2012-06-09 08:57:51 UTC (rev 13308) @@ -7644,7 +7644,7 @@ function LoadDLL(const LibName: string): THandle; begin Result := SafeLoadLibrary(LibName); - if Result <> 0 then + if Result = 0 then OSCheck(False); end; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |