[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-datatype-cvs
Subject:    [Datatype-cvs] flash/flashhost/platform/win32
From:       jeffl () helixcommunity ! org
Date:       2007-04-26 2:02:06
Message-ID: 200704260202.l3Q22mLH004875 () mailer ! progressive-comp ! com
[Download RAW message or body]

Update of /cvsroot/datatype/flash/flashhost/platform/win32
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv30881/platform/win32

Modified Files:
      Tag: hxclient_2_0_4_cayenne
	flash_guest_player_ax.cpp 
Log Message:
Quick fix for now to handle any exceptions that occur.  Every call should have a \
try/catch block around it or this needs to be changed just to interact with the flash \
interface directly instead of using the ATL wrapper which requires the caller to \
handle exceptions.



Index: flash_guest_player_ax.cpp
===================================================================
RCS file: /cvsroot/datatype/flash/flashhost/platform/win32/flash_guest_player_ax.cpp,v
 retrieving revision 1.10.2.2
retrieving revision 1.10.2.2.2.1
diff -u -d -r1.10.2.2 -r1.10.2.2.2.1
--- flash_guest_player_ax.cpp	23 Apr 2007 17:18:13 -0000	1.10.2.2
+++ flash_guest_player_ax.cpp	26 Apr 2007 02:02:04 -0000	1.10.2.2.2.1
@@ -1448,7 +1448,14 @@
     if (m_pFlashPlayer)
     {
 	_bstr_t sNetwork;
-	sNetwork = m_pFlashPlayer->GetAllowNetworking();
+        try
+        {
+	    sNetwork = m_pFlashPlayer->GetAllowNetworking();
+        }
+        catch (...)
+        {
+        }
+
 	m_pFlashPlayer->PutEmbedMovie(TRUE);
 	m_pFlashPlayer->PutMenu(m_bShowMenuPref);
 


_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic