[Solved] Utility.Library/CallHookPkt()/"InitHook" possible?

This forum is for general developer support questions.
User avatar
colinw
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 207
Joined: Mon Aug 15, 2011 9:20 am
Location: Brisbane, QLD. Australia.

Re: Utility.Library/CallHookPkt() :: "InitHook" possible?

Post by colinw »

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.
Why would you call IsNative() before calling a hook function. ??

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.
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 600
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: [Solved] Utility.Library/CallHookPkt()/"InitHook" possib

Post by broadblues »

found that I was iterating an extra node which was pointed somewhere strange.
You should be working out *why* that node was pointing somewhere strange.
Belxjander
Posts: 314
Joined: Mon May 14, 2012 10:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan
Contact:

Re: [Solved] Utility.Library/CallHookPkt()/"InitHook" possib

Post by Belxjander »

broadblues wrote:
found that I was iterating an extra node which was pointed somewhere strange.
You should be working out *why* that node was pointing somewhere strange.
That IS one of the things I am trying to work out currently.
Post Reply