diff --git a/LoadBinaryPlugin.csproj b/LoadBinaryPlugin.csproj index 9700b8b..d5caeca 100644 --- a/LoadBinaryPlugin.csproj +++ b/LoadBinaryPlugin.csproj @@ -9,8 +9,9 @@ Properties LoadBinaryPlugin LoadBinaryPlugin - v4.6.1 + v4.7.2 512 + x86 @@ -27,7 +28,7 @@ x86 pdbonly true - ..\bin\Release\x86\ + bin\Release\x86\ TRACE;RECLASSNET32;RELEASE prompt 4 @@ -47,7 +48,7 @@ x64 pdbonly true - ..\bin\Release\x64\ + bin\Release\x64\ TRACE;RECLASSNET64;RELEASE prompt 4 diff --git a/LoadBinaryPluginExt.cs b/LoadBinaryPluginExt.cs index d5773a2..26fe506 100644 --- a/LoadBinaryPluginExt.cs +++ b/LoadBinaryPluginExt.cs @@ -7,6 +7,7 @@ using System.Windows.Forms; using ReClassNET.Core; using ReClassNET.Debugger; +using ReClassNET.Extensions; using ReClassNET.Memory; using ReClassNET.Plugins; @@ -99,7 +100,7 @@ public IntPtr OpenRemoteProcess(IntPtr id, ProcessAccess desiredAccess) { var mappedFile = MemoryMappedFile.CreateFromFile(currentFile); - var handle = mappedFile.SafeMemoryMappedFileHandle.DangerousGetHandle(); + var handle = (IntPtr)mappedFile.SafeMemoryMappedFileHandle.GetHashCode(); openFiles.Add( handle, @@ -153,7 +154,7 @@ public bool ReadRemoteMemory(IntPtr process, IntPtr address, ref byte[] buffer, { try { - using (var stream = info.File.CreateViewStream(address.ToInt64(), size)) + using (var stream = info.File.CreateViewStream(address.ToInt64Bits(), size)) { stream.Read(buffer, 0, size); diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index baba42d..481f606 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -13,13 +13,13 @@ namespace LoadBinaryPlugin.Properties { /// - /// Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + /// A strongly-typed resource class, for looking up localized strings, etc. /// - // Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert - // -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert. - // Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen - // mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { @@ -33,7 +33,7 @@ internal Resources() { } /// - /// Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + /// Returns the cached ResourceManager instance used by this class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ internal Resources() { } /// - /// Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle - /// Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,7 @@ internal Resources() { } /// - /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// Looks up a localized resource of type System.Drawing.Bitmap. /// internal static System.Drawing.Bitmap icon { get {