Search:
Namespaces
Discussions
.NET v1.1
Feedback
Threading issues with COM Interop
Messages
Related Types
This message was discovered on
microsoft.public.dotnet.framework.interop
.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...
rajesh.sivakumar
I am using a third party COM componenet which is not thread safe in a .Net
web application using Interop. When two threads (two requests) are trying to
access the componenet it is giving an error and crashing. It works fine if
the request is made only one at a time. How can I code around this problem
so that only one thread operates on the COM object at one time.
Any help will be greatly appreciated.
Thanks
Rajesh
Reply to this message...
Willy Denoyette [MVP] (VIP)
Please don't multipost !
As reply'd to microsoft.public.dotnet.framework...
Make sure you set aspcompat attribute to true in your aspx page
<%@ Page aspcompat="true" ...%>
Willy.
"rajesh.sivakumar" <
Click here to reveal e-mail address
> wrote in message
news:
Click here to reveal e-mail address
...
[Original message clipped]
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com