Hi there -
Been developing a couple of modules for fun - one of which is a Javascript based polling module. It uses DNN CAPI to "poll" for data at the server (server returns XML) and if there is one applicable, displays it.
Works fine in Firefox - no aparent memory leaks - used process explorer (sysinternals) and could see no creeping memory consumption (which is nice)
However the second I try to run i on IE 6 (6.0.2900.2180.xpsp_sp2_gdr.050301-1519) I get :
The instruction at "0x75c54a27" references memory at "0x000000240". The memory could not be read.
Which is a little disturbing.
Any idea what I am doing so terribly wrong? I thought i might be do do with the polling process being in a Javascript Timer and that the return from the server were (for some reason) not being handled as effectively as they could be - I therfore have structured it as follows :
1. Get Notifications - clears the timer
2. Get Notifications calls dnn.xmlhttp.doCallback (asynch)
3. On the SuccessFunc, the data is handled - if there is data it is displayed - otherwise a the timer is set to go off again is 20 seconds (and it points back to the getNotifications)
So far i think I have re-written the JS like 3 times, and am starting to loose part of my head that i can scratch that aren't raw and bloody...
So far i have posed on the microsoft Site - no joy, and also in the main forums here. My next stage is to turn off the functionality for IE.
I even thought about faking the user agent string on FireFox - purely because it seems to have a nicer javascript console (but i found that when i did that that solpart didn't work).
Anyone got any ideas at all?
Thanks
Mike Hingley