Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unloading DLL From memory

Status
Not open for further replies.

xterra

Programmer
Apr 5, 2001
71
US
I have an ASP that calls a Component that I created in VB. I don't know if my problem is in VB or ASP. The first time I run the script my search works fine and returns all the records that I need, the second time I don't get any records. I found out that if I CTRL+ALT+DELETE and run the Task Manager there is a dllHost.exe (I assume that is what runs my component out of process) If I terminate it, then my ASP works fine for the first time again, but I have to keep killing the dllHost.exe for this to work. Any Ideas about why this is? I am creating my VB Component using CreateObject and destroying it when the script is finished by setting it = nothing. I am running it on IIS 5.0 also.

Thanks,

Adam
 
Are you explicitly destroying all objects created in that component?
 
Yep I made sure, the only then, which I haven't thought of is, I had to change some of my Object's properties to Variant to compensate for ASP. I am only passing them long values but should I have to destroy variants? I thought you only destroy objects but I could be wrong.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top