This commit is contained in:
Igor Pavlov
2010-10-04 00:00:00 +00:00
committed by Kornel Lesiński
parent 044e4bb741
commit 2eb60a0598
105 changed files with 868 additions and 466 deletions

View File

@@ -10,8 +10,8 @@
#define COM_TRY_BEGIN try {
#define COM_TRY_END } catch(...) { return E_OUTOFMEMORY; }
// catch(const CNewException &) { return E_OUTOFMEMORY; }\
// catch(const CSystemException &e) { return e.ErrorCode; }\
// catch(const CNewException &) { return E_OUTOFMEMORY; }
// catch(const CSystemException &e) { return e.ErrorCode; }
// catch(...) { return E_FAIL; }
#endif

View File

@@ -59,7 +59,7 @@ public:
struct CCommandForm
{
wchar_t *IDString;
const wchar_t *IDString;
bool PostStringMode;
};

View File

@@ -38,7 +38,7 @@ inline int operator!=(REFGUID g1, REFGUID g2) { return !(g1 == g2); }
#define MY_EXTERN_C extern
#endif
#endif // GUID_DEFINED
#endif
#ifdef DEFINE_GUID

View File

@@ -166,7 +166,7 @@ class CObjectVector: public CPointerVector
public:
CObjectVector() {};
~CObjectVector() { Clear(); };
CObjectVector(const CObjectVector &v) { *this = v; }
CObjectVector(const CObjectVector &v): CPointerVector() { *this = v; }
CObjectVector& operator=(const CObjectVector &v)
{
Clear();