Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CREATEOBJECT() causes problem
Message
De
26/06/1997 13:59:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
CREATEOBJECT() causes problem
Divers
Thread ID:
00037848
Message ID:
00037848
Vues:
85
In my environment where an EXE is calling another EXE, I have found the following problem.

Usually, in the life cycle of the main EXE, it is responsible to fire a transaction in a sub EXE and returns back to itself in wait window for the next transaction. So, the sub EXE only lives for a fraction of a second, just the time it takes to process the transaction that has been received from the main EXE.

In that kind of environment, I am able to BUILD a sub EXE at any time because it is not up and running in memory all the time.

But, I have found that I can't BUILD my sub EXE anymore because I have a file access denied and here's why.

I just added Network=CREATEOBJECT('Network') in the startup of the sub EXE. When the sub EXE receives a transactions, it processes it as usual and returns the control back to the main EXE. However, something remains in memory which avoid me to BUILD my sub EXE. If I remove the Network=CREATEOBJECT('Network'), everything works fine.

I tried RELEASE Network and even putting .NULL. into Network before releasing it and this didn't change anything.

Can someone tell me what is staying in memory and what should I do to clean it up?

Thanks.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform