Sorry to repost this, but
I am trying to create a test COM .dll to use in my ASP application using VFP 6.0 and NT 4.0 server and IIS4.
My problem is that my objects are not closing properly.
----------- VFP CODE -------------
define class myclass18 as custom OLEPUBLIC
function getpayment(pnperiods, pnInterestRate, pnAmount)
return payment(pnamount, pninterestrate, pnperiods)
enddefine
------------ END VFP CODE ------------
I use the project manager to build a COM .dll object (foxasp.dll). This works fine and I can overwrite the DLL with no problem until I execute the ASP code:
------------ ASP CODE -------------------
<% set oMyServer = server.createobject("foxasp.MYCLASS18")%>
<%= round(oMyserver.getpayment(360,.08/12,930000),2)%>
<% set oMyServer=nothing %>
------------- END ASP CODE -------------
as soon as I run this code everything with that .dll is frozen, I can't overwrite the .dll or delete the .dll. I tried using regsvr32 /u FOXASP.DLL and I see the objects removed from the registry, but I can still execute the ASP from the browser, so it must still be in memory. If I reboot the NT server, I can delete the .dll files.
Am I missing something simple here???
TIA,
Steve McMahon
ZDI
San Diego
Steve McMahon
ZDI
San Diego