Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22542/src/classes
Modified Files:
MModule.cpp
Log Message:
use wxDynamicLibrary::HasSymbol() to verify for cleanup function existence
before trying to use it (avoids annoying, even though suppresses, call to
wxLogError)
Index: MModule.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MModule.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -b -u -2 -r1.97 -r1.98
--- MModule.cpp 12 Feb 2006 22:36:40 -0000 1.97
+++ MModule.cpp 25 Aug 2006 15:59:30 -0000 1.98
@@ -159,6 +159,6 @@
// call cleanup function, if any
+ if ( dll->HasSymbol(MMODULE_CLEANUP_FUNCTION) )
{
- wxLogNull noLog;
MModule_CleanUpFuncType funcCleanup =
(MModule_CleanUpFuncType)dll->GetSymbol(MMODULE_CLEANUP_FUNCTION);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates