Log Message:
-----------
Silly crash fix
Modified Files:
--------------
/cvsroot/decaldev/source/DenAgent:
DenAgentDlg.cpp
Revision Data
-------------
Index: DenAgentDlg.cpp
===================================================================
RCS file: /cvsroot/decaldev/source/DenAgent/DenAgentDlg.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- DenAgentDlg.cpp 22 Jun 2003 09:05:13 -0000 1.35
+++ DenAgentDlg.cpp 23 Jun 2003 04:58:21 -0000 1.36
@@ -319,6 +319,7 @@
USES_CONVERSION;
// Release Decal object so it can be updated.
m_pDecal.Release();
+ m_pDecal = NULL;
CoFreeUnusedLibraries();
RegKey key;
@@ -475,7 +476,10 @@
if((bUpdates) && (!m_bDoingUpdate))
{
if (MessageBox("Decal has detected that one or more of your plugins are out of date.\n\nWould you like to view the plugin list?",NULL, MB_ICONQUESTION | MB_YESNO) == IDYES)
- {
+ {
+ HRESULT hRes = ::CoCreateInstance ( __uuidof ( Decal ), NULL, CLSCTX_INPROC_SERVER, __uuidof ( IDecal ),
+ reinterpret_cast< LPVOID * > ( &m_pDecal ) );
+
cAddRemoveDlg ardlg( this );
ardlg.m_pDecal = m_pDecal;
ardlg.DoModal();
|