![]() |
Callback function not registered error - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Callback function not registered error (/thread-1391.html) |
Callback function not registered error - DavidChiq - 11-20-2019 I have an error when using the Chrome browser that doesn't seem to show up with Firefox. My application has two timers on the web page, both with OnAynchTimer events. When the user clicks on a button to call up a log file to display, which is an OnAsyncClick event which calls withtLogForm.Create(WebApplication) do Show; the user often gets the popup dialog that says "Callback method not registered: PAGETIMER.DoOnAsyncTimer" and/or "Callback method not registered: LV_TIMER.DoOnAsyncTimer". The attachment shows one of the popups. I have never registered callback methods and did not have this error. I am using Delphi 10.2 and Intraweb 15.1.9. Due to some security issues the users can't use FireFox for now, so are seeing this popup a lot. Is there an easy fix? (How am I supposed to do this I guess I am asking.) ![]() Thanks, David RE: Callback function not registered error - Alexandre Machado - 12-07-2019 Hi David, Can you repeat this every time, or just sometimes? Seems to me that one async event is creating a new form (as you mentioned) and the timer is triggering another async call.... I'll try to repeat it here and let you know RE: Callback function not registered error - DavidChiq - 12-10-2019 It doesn't happen every time, but does happen quite often. Often enough that when it doesn't happen it seems nice/unusual. LOL! RE: Callback function not registered error - Alexandre Machado - 12-11-2019 Hi David, I could recreate the issue here in one test case. It is quite weird indeed. I should have more information soon. Cheers RE: Callback function not registered error - Alexandre Machado - 12-12-2019 Hi David, can you please check if this new JavaScript code fixes it? You need to unzip the attached file, find all IWData.res files in your IntraWeb installation folder (there will be more than one, at least 2 for x86 and x64 for each version of Delphi you have). Then replace all files with this one. Rebuild your application (full build, not only compile) and see if it works not. Please let me know how it goes. Cheers RE: Callback function not registered error - DavidChiq - 12-12-2019 (12-12-2019, 08:54 PM)Alexandre Machado Wrote: Hi David,Will do! (12-12-2019, 09:12 PM)DavidChiq Wrote:(12-12-2019, 08:54 PM)Alexandre Machado Wrote: Hi David,That appears to have fixed it. I ran it several times and have not seen any popups. Thanks! RE: Callback function not registered error - Alexandre Machado - 12-13-2019 Great! Thanks for the feedback. This fix is also committed in our code base and it will be available in the next release. Cheers |