dynity
dynity copied to clipboard
UNITY_ENABLE_RELEASE_DEBUGGING doesn't work anymore
The value returned from GetProcAddress is NULL so it can't set the hook. @Mischanix, is there any alternative?
I believe that proc is now only exported on mono.dll so you'd need to GetProcAddess(monoDllModule, ...) instead. I don't have time to mess with this right now though.
I doubt the hook will work as written with the proc address from the external module. You would probably need to modify the mono dll EAT instead. Either way, there is no need to hook mono_set_commandline_arguments. Simply calling mono_debug_init with the correct arguments before pressing OK on the messagebox works for me.