Hello everybody,
I am new to .NET .
I plan to create a www service that uses old dll library written in C++.
If I use CGI to call this library from IIS , that is supposed to be quite
heavy and resource consuming because for every http request a new instance
of that library will be created ( I understand CGI that way).

Is there any way to encapsulate that library in .NET environment (ASP.NET
for example ? ) so all the requests will be served by preferably a single
instance of that library ?

Any help will be very appreciated,
Thank you
Christian

Re: Using old dll library in .NET by Scott

Scott
Wed Aug 27 09:43:28 CDT 2003

You could just make a COM reference to your library from within the .NET
application.


"Christian Onet" <corveen@box43.fr> wrote in message
news:bihtfl$cju$1@inews.gazeta.pl...
> Hello everybody,
> I am new to .NET .
> I plan to create a www service that uses old dll library written in C++.
> If I use CGI to call this library from IIS , that is supposed to be quite
> heavy and resource consuming because for every http request a new instance
> of that library will be created ( I understand CGI that way).
>
> Is there any way to encapsulate that library in .NET environment (ASP.NET
> for example ? ) so all the requests will be served by preferably a single
> instance of that library ?
>
> Any help will be very appreciated,
> Thank you
> Christian
>
>