/[RomCheater]/trunk/RomCheater/Docking/FloatingMemorySearcher.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingMemorySearcher.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/05/28 11:08:26	419
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/05/28 11:58:22	423
@@ -505,7 +505,7 @@
                             r_ms.Close();
                         }
                     }
-                    provider.CloseProvider();
+                    //provider.CloseProvider();
                 }
                 //Application.DoEvents();
             }
@@ -561,7 +561,7 @@
                             break;
                     }
                     provider.ReadProcessMemory(Address, bytesToRead, out bytesReadSize, out data);
-                    provider.CloseProvider();
+                    //provider.CloseProvider();
                     using (MemoryStream ms = new MemoryStream(data))
                     {
                         using (BinaryReader r_ms = new BinaryReader(ms))
@@ -1138,7 +1138,7 @@
                     SearchResultWriter writer = new SearchResultWriter(count);
                     provider.OnBytesRead += new BaseEventHandler<OnBytesReadEventArgs>(search_provider_OnBytesRead);
                     provider.ReadProcessMemoryAtOnce(MemoryRangeStart, (MemoryRangeSize - MemoryRangeStart), writer);
-                    provider.CloseProvider();
+                    //provider.CloseProvider();
                     writer.Dispose();
                 }
                 provider_st.Stop();
@@ -1278,7 +1278,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {
@@ -1314,7 +1314,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {
@@ -1353,7 +1353,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {
@@ -1389,7 +1389,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {
@@ -1428,7 +1428,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {
@@ -1464,7 +1464,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {
@@ -1503,7 +1503,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {
@@ -1539,7 +1539,7 @@
                                                                 {
                                                                     gmp.OpenProvider();
                                                                     gmp.ReadMemory(address, out value);
-                                                                    gmp.CloseProvider();
+                                                                    //gmp.CloseProvider();
                                                                 }
                                                                 catch (Exception ex)
                                                                 {

 

  ViewVC Help
Powered by ViewVC 1.1.22