Hey guys, playing around with the library and if I can get this one thing to work this will literally be the answer to my prayers.
I'm trying to call a function in the process like so:
Dim pCreature = sharp(New IntPtr(&H4CED41)).Execute(Of Integer)(CallingConvention.ThisCall, Zone, creatureID)
My calling convention is correct, parameters are correct, address is correct, but I'm getting the following error and have absolutely no idea what to do.
An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in MemorySharp.dll
Additional information: Couldn't allocate memory of 0 byte(s).
I would be eternally grateful if someone could help me out.