[GME-commit] GMESRC/GME/MgaUtil MgaRegistrar.cpp,1.47,1.48
Log messages of CVS commits
gme-commit at list.isis.vanderbilt.edu
Mon Feb 4 16:30:37 CST 2008
- Previous message: [GME-commit] GMESRC/GME/GMEActiveBrowser ActiveBrowserPropertyPage.cpp, 1.64, 1.65 ActiveBrowserPropertyPage.h, 1.21, 1.22 AggregateContextMenu.cpp, 1.31, 1.32 AggregateContextMenu.h, 1.11, 1.12 GMEActiveBrowser.vcproj, 1.2, 1.3 resource.h, 1.15, 1.16
- Next message: [GME-commit] GMESRC/GME/Console Console.vcproj,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /project/gme-repository/GMESRC/GME/MgaUtil
In directory escher:/tmp/cvs-serv22308
Modified Files:
MgaRegistrar.cpp
Log Message:
Infinite loop upon UnregisterComponentLibrary(BSTR path, regaccessmode_enum mode) calls.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: MgaRegistrar.cpp
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/MgaUtil/MgaRegistrar.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -C2 -d -r1.47 -r1.48
*** MgaRegistrar.cpp 7 Mar 2007 21:11:57 -0000 1.47
--- MgaRegistrar.cpp 4 Feb 2008 22:30:35 -0000 1.48
***************
*** 2372,2379 ****
UINT index = typelib->GetTypeInfoCount();
! while( --index >= 0 )
{
CComObjPtr<ITypeInfo> typeinfo;
! COMTHROW( typelib->GetTypeInfo(index, PutOut(typeinfo)) );
TYPEATTR *typeattr = NULL;
--- 2372,2380 ----
UINT index = typelib->GetTypeInfoCount();
! while( index) //WAS: while( --index >= 0 ) // was an infinite loop with UINT
{
+ --index;
CComObjPtr<ITypeInfo> typeinfo;
! COMTHROW( typelib->GetTypeInfo(index, PutOut(typeinfo)) );// index parameter with the range of 0 to GetTypeInfoCount() 1.
TYPEATTR *typeattr = NULL;
- Previous message: [GME-commit] GMESRC/GME/GMEActiveBrowser ActiveBrowserPropertyPage.cpp, 1.64, 1.65 ActiveBrowserPropertyPage.h, 1.21, 1.22 AggregateContextMenu.cpp, 1.31, 1.32 AggregateContextMenu.h, 1.11, 1.12 GMEActiveBrowser.vcproj, 1.2, 1.3 resource.h, 1.15, 1.16
- Next message: [GME-commit] GMESRC/GME/Console Console.vcproj,1.2,1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list