-
-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Hi,
Apologies if this is the wrong project, but
Using a custom C++ DLL injected into a game to load the X86 C# .NET Framework 4.7.2 DLL using Reloaded.Hooks, I get the below error regarding types.
Reloaded.Memory, and Reloaded.Memory.Buffers are installed in NuGET, the while DLL is packed up using Fody Weavers.
As below:
Error: System.TypeLoadException: Could not load type 'Reloaded.Memory.Buffers.MemoryBuffer' from assembly 'Reloaded.Memory.Buffers, Version=3.0.6.0, Culture=neutral, PublicKeyToken=null'.
at Reloaded.Hooks.X86.Wrapper.Create[TFunction](UIntPtr functionAddress, IFunctionAttribute fromConvention, IFunctionAttribute toConvention)
at Reloaded.Hooks.X86.ReverseWrapper1.Create(ReverseWrapper1 reverseFunctionWrapper, UIntPtr functionPtr)
at Reloaded.Hooks.X86.ReverseWrapper1..ctor(TFunction function) at Reloaded.Hooks.Hook1.CreateReverseWrapper(TFunction function)
at Reloaded.Hooks.ReloadedHooks.CreateHook[TFunction](TFunction function, Int64 functionAddress, Int32 minHookLength)
at Reloaded.Hooks.ReloadedHooks.CreateHook[TFunction](TFunction function, Int64 functionAddress)****