Why would you call IsNative() before calling a hook function. ??Belxjander wrote: EDIT: Updated the codebase, found that I was iterating an extra node which was pointed somewhere strange.
I have now included a limitation for IsNative() prior to calling the LanguageHook entirely without further crashing.
As I told you above, CallHookPkt() automatically determins the code type being run, you don't have to do anything.
CallHookPkt() allows you to call 68K or Native code transparently in OS4.