|
From: <cn...@us...> - 2009-06-27 22:24:54
|
Revision: 382
http://hgengine.svn.sourceforge.net/hgengine/?rev=382&view=rev
Author: cnlohr
Date: 2009-06-27 22:24:47 +0000 (Sat, 27 Jun 2009)
Log Message:
-----------
Windows doesn't tell you whats wrong when you dynamically link things.
Modified Paths:
--------------
Mercury2/src/ModuleManager.cpp
Modified: Mercury2/src/ModuleManager.cpp
===================================================================
--- Mercury2/src/ModuleManager.cpp 2009-06-27 22:24:29 UTC (rev 381)
+++ Mercury2/src/ModuleManager.cpp 2009-06-27 22:24:47 UTC (rev 382)
@@ -70,7 +70,12 @@
if( !m_hAllHandles[ModuleName] )
{
+#ifdef WIN32
+ fprintf( stderr, "Error opening: %s\n", ModuleName.c_str() );
+#else
fprintf( stderr, "Error opening: %s (%s)\n", ModuleName.c_str(), dlerror() );
+#endif
+
return false;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|