I have to access some resource which resides at a cross-domain
assembly.
But I got a problem that the resource I obtained was freed at unknown
time, then crash my app.
Why was it freed? How to lock it in a normal way?
Very appreciated for your reply.
Vadym Stetsyak - 13 Oct 2006 17:34 GMT
Hello, dotNeter!
d> I have to access some resource which resides at a cross-domain
d> assembly.
d> But I got a problem that the resource I obtained was freed at unknown
d> time, then crash my app.
d> Why was it freed? How to lock it in a normal way?
you can use named Mutex object to control access to that resource.
Have a look at ( http://msdn2.microsoft.com/en-us/library/hw29w7t1.aspx )
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com