Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't Free up a com object
Message
De
18/04/2000 05:27:55
 
 
À
14/04/2000 05:47:55
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00359705
Message ID:
00360765
Vues:
9
Hi Ed,

How are things at Hussmann ? You probably don't remember me, but I did some work there for IRW Associates.

>I have created a VFP com object. This object is accessed from an ASP page running on Personal Web Server. Once it has been accessed, I go into VFP, make chages to the class, and try to save it as a Multithreaded COM object again. When I do this I get an error saying that file access is denied.
>
>Obviously the COM object has not been released. I have tried to close IE, close VFP and stop my Personal Web Server. The only thing that will free it up, is if I shut down my computer. Surely I must be doing something wrong.

When your ASP page creates the com object, does it destroy it when it's finished with it ?

e.g.

Set oTest = CreateObject("myfilename.mycomobect")
' do whatever calls to the object you want here
Set oTest = Nothing

I'm playing around with this technology at the moment, so this may not be of much help.

Best.

Matt.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform