Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP and COM DLL's
Message
From
21/10/1998 11:42:43
 
 
To
14/10/1998 16:48:25
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00146874
Message ID:
00148942
Views:
26
>I have built a very simple COM DLL using VFP 6.0. I use the Object in an ASP page. Then when I return to VFP to edit and recompile the DLL I get a File Access error.
>
>Here is the code in my ASP that is using the Object. (I had to strip some of the HTML stuff to be able to post this.)
>
>Line 5 is where the object is being created. I thought that I was
>destroying the object in line 11. Hoever, the DLL is being locked or left open after this ASP runs and I cannot recompile the DLL unless I reboot my machine.


The problem is that IIS does not release the object.
You have to stop the service in IIS 3 or stop the web in IIS4. Or course rebooting does the job :-)
Guy Barrette, MCSD
============
Blog http://weblogs.asp.net/guybarrette
Microsoft Regional Director, Montreal, Canada www.microsoft.com/rd
MVP, ASP.NET http://mvp.support.microsoft.com/
President, Montreal Visual Studio User Group www.guvsm.net
INETA Regional Rep for Quebec www.ineta.org
UniversalThread Magazine Columnist (.NET Books Review Column) www.utmag.com
Tech Chair French Track, DevTeach 2004 & 2005 www.devteach.com
Business Architect, Microsoft Team - Nurun Inc www.nurun.com
XBox Live Gamer Tag: Slomo QC CA
Previous
Reply
Map
View

Click here to load this message in the networking platform