<div>TimerRoutine is the CALLBACK function where xmlInitParser() is called. Now at the particular time interval say 10 seconds TimerRoutine is called. When xmlInitParser() call is reached it gives the error. If the callback comes on a different thread, will xmlInitParser() crash?
</div>
<div>Because if I call TimerRoutine directly from some function but not via CALLBACK it works ok.</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 1/4/07, <b class="gmail_sendername">Aleksey Sanin</b> <<a href="mailto:aleksey@aleksey.com">aleksey@aleksey.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Well, I don't know exact reasons but it might be some<br>problems with MS initialization from time callback.
<br>Can you find out where exactly does it crash?<br><br>Aleksey<br><br><br>Yeshwanth C wrote:<br>> Hi<br>> When I use the timer functions :<br>> if (!CreateTimerQueueTimer(<br>> &hTimer, hTimerQueue, TimerRoutine, &arg , 10000, 0, 0))
<br>> The TimerRoutine is fired.<br>> But TimerRoutine calls xmlInitParser via a function in a dll.<br>> xmlInitParser crashes with the following message:<br>> "The instruction at 0x7c8396d0 referenced memory at 0x00000014. The
<br>> memory could not be read"<br>><br>> Any help greatly appreciated<br>> Regards<br>> Yesh<br>><br>><br>> ------------------------------------------------------------------------<br>><br>
> _______________________________________________<br>> xmlsec mailing list<br>> <a href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a><br>> <a href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec
</a><br></blockquote></div><br>