Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Is there a way to wrap a COM dll so global data within the COM will NOT be shared across simultaneous runs of a C# web app.

$
0
0

Hi,

I have created a small web app using VS2012 that accesses a COM dll that was created using MS C++6 but is now built under VS2012.  This COM dll is very large, very old and has a lot of global data. We have always used this COM within separate executables and it works fine.  I am new to web development and I now realize that each user of a web app does not create a separate process so the COM global memory is shared across the web app users.  Is there a way to wrap or change my COM component (without major rewriting) so each user of the web app will use a separate instance of my COM so all memory, including the global data, is separate?

Thanks in advance for your help.

Alex


A Enterline


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>