Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP and COM DLL's
Message
 
 
To
14/10/1998 16:48:25
General information
Forum:
Visual C++
Category:
Other
Miscellaneous
Thread ID:
00146874
Message ID:
00147452
Views:
27
Dan,

Try executing the release method in your VFP automation server before you execute line 11.

oOrder.Release
Set oOrder = Nothing

I usually create a method that performs housekeeping chores and shuts down the ole server.

Regards,
Mike


>1 Dim cPONum
>2 Dim oOrder
>3 Dim oRs
>4 cPONum = Request.Form("txtPONum")
>5 Set oOrder = Server.CreateObject("WEBTEST.PurchaseOrders")
>6 Set oRs = Server.CreateObject("ADODB.RecordSet")
>7 oRs = oOrder.getpo(cPONum
>.
>HTML STUFF
>.
>8 The PO Number is = oRs("ponum")
>9 The Vendor is =oRS("name")
>10 The Account is =oRS("a_name")
>.
>HTML STUFF
>.
>11 Set oOrder = Nothing
>12 Set oRs = Nothing
>.
>HTML STUFF
>.
>
>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.
Michael McLain
Previous
Reply
Map
View

Click here to load this message in the networking platform