|
From: Jeff D. <hey...@us...> - 2006-06-08 17:51:41
|
Update of /cvsroot/aaf/AAF/ref-impl/src/impl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5081 Modified Files: ImplAAFModule.cpp ImplAAFModule.h Log Message: Change GetStaticLibraryVersion to return error when called on the DLL, rather than return runtime library version Index: ImplAAFModule.h =================================================================== RCS file: /cvsroot/aaf/AAF/ref-impl/src/impl/ImplAAFModule.h,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** ImplAAFModule.h 8 Jun 2006 14:55:14 -0000 1.20 --- ImplAAFModule.h 8 Jun 2006 17:51:31 -0000 1.21 *************** *** 513,518 **** // function. // Thus, this function is implemented with the second case in mind. ! // Since there is no separate static library to version against, this function ! // returns the same as calling ImplAAFGetLibraryVersion. STDAPI ImplAAFGetStaticLibraryVersion (aafProductVersion_t * pVersion); --- 513,518 ---- // function. // Thus, this function is implemented with the second case in mind. ! // However, this function has no meaning in that context, thus NOT_IMPLEMENTED ! // is always returned. STDAPI ImplAAFGetStaticLibraryVersion (aafProductVersion_t * pVersion); Index: ImplAAFModule.cpp =================================================================== RCS file: /cvsroot/aaf/AAF/ref-impl/src/impl/ImplAAFModule.cpp,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** ImplAAFModule.cpp 8 Jun 2006 14:55:14 -0000 1.39 --- ImplAAFModule.cpp 8 Jun 2006 17:51:30 -0000 1.40 *************** *** 1472,1476 **** (aafProductVersion_t * pVersion) { ! return ImplAAFGetLibraryVersion(pVersion); } --- 1472,1476 ---- (aafProductVersion_t * pVersion) { ! return AAFRESULT_NOT_IMPLEMENTED; } |