[commit] r2132 - trunk/SDK/BON/Wizard/Templates/1033
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Thu Jan 3 08:10:54 CST 2013
Author: ksmyth
Date: Thu Jan 3 08:10:54 2013
New Revision: 2132
Log:
Note in addon template that objects can be created and destroyed in same tx
Modified:
trunk/SDK/BON/Wizard/Templates/1033/RawComponent.cpp
Modified: trunk/SDK/BON/Wizard/Templates/1033/RawComponent.cpp
==============================================================================
--- trunk/SDK/BON/Wizard/Templates/1033/RawComponent.cpp Thu Jan 3 08:10:26 2013 (r2131)
+++ trunk/SDK/BON/Wizard/Templates/1033/RawComponent.cpp Thu Jan 3 08:10:54 2013 (r2132)
@@ -105,7 +105,7 @@
}
STDMETHODIMP RawComponent::ObjectEvent(IMgaObject * obj, unsigned long eventmask, VARIANT v) {
- if(eventmask & OBJEVENT_CREATED) {
+ if((eventmask & OBJEVENT_CREATED) && !(eventmask & OBJEVENT_DESTROYED) {
AfxMessageBox(_T("Object created: ObjID=") + obj->ID);
}
return S_OK;
More information about the gme-commit
mailing list