Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

How to lock a remote object to pretend it from being freed?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dotNeter - 13 Oct 2006 02:21 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.