Article View: comp.os.ms-windows.programmer.controls
Article #32Re: DLL load from a COM DLL randomly unloaded
From: olivier
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
38 lines
2282 bytes
2282 bytes
As far as I know, there's no problem with loading a classical DLL in a COM object... regards Olivier On Wed, 29 Jul 1998 00:56:19 +0200, "John Gosset" <john.gosset@village.uunet.be> wrote: >Hello all, >In my company, we developed a web site accessing a mainframe. We used IIS4 >and ASP pages calling COM objects ( responsible of connection, exchange and >disconnection with mainframe) . The COM object responsible of connection and >disconnection is a DLL COM and is "instantiated" with CreateObject each time >an asp session is created. This COM object also instantiates a not COM >object,in fact, a classical DLL performing the tcp/ip connection to a >gateway. We found that we had only one instance of this classical DLL. >A problem arises when one ASP session is ended : > >The COM object responsible of connection and disconnection is decremented >his usage counter and stays in memory but the classical DLL is demapped >from memory after several minutes (till 5) unless others asp sessions are >still living. > >Can anyone help me in this mix of DLL COM and classical DLL? >Can a classical DLL be loaded from a COM DLL ? It's my main question. >Is there a problem of keeping in memory classical DLL when loaded by COM >objects? > >John Gosset >Communication System Engineer >john.gosset@ag.be (at my office) >john.gosset@village.uunet.be (at home) > > > > >
Technical Details
Message-ID:
<35bed849.3273136@news.isdnet.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6plku8$kua$2@xenon.inbe.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110a07,742c2344a8461231 X-Google-Attributes: gid110a07,public X-Google-Thread: 1053e6,742c2344a8461231 X-Google-Attributes: gid1053e6,public X-Google-Thread: 108cda,742c2344a8461231 X-Google-Attributes: gid108cda,public X-Google-Thread: 1115f8,742c2344a8461231 X-Google-Attributes: gid1115f8,public X-Google-Thread: f7033,742c2344a8461231 X-Google-Attributes: gidf7033,public From: ggo98@yahoo.com (olivier) Subject: Re: DLL load from a COM DLL randomly unloaded Date: 1998/07/29 Message-ID: <35bed849.3273136@news.isdnet.net> X-Deja-AN: 376271262 References: <6plku8$kua$2@xenon.inbe.net> Organization: DataSet Newsgroups: comp.os.ms-windows.programmer.controls,comp.os.ms-windows.programmer.memory,comp.os.ms-windows.programmer.ole,fj.os.ms-windows.programming,fr.comp.os.ms-windows.programmation