Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My Name Is...
Message
 
 
À
10/03/2004 08:49:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00884791
Message ID:
00884826
Vues:
12
Jim,

Is this an COM object or a plain VFP object, createobject( "blah.blah" ) or createobject( "blah" )?

A COM object really can't know the name of the memvar in the code that instantiated it.

If it's a VFP object you could with a lot of effort scan to find the memvar/property holding the object ref.

But why? It really sounds like the code using the object is not correctly cleaning up after itself, or that your bizDataManager has an error that is not letting it destruct, like uncommitted data buffers. Does your object have an Error method to help you track down problems?

>Hi, my name is... well, I don't know what my name really is. The little name tag on my toe says my name is bizDataManager, but I think that's the name of my parent. You see, I was born when a program did a CREATEOBJECT() from my parent class and out I popped. They all know what my name is, but I don't know. I went to the oODBCManager.RegisterName office to see if they knew my name but they wanted me to tell them what my name was. Not knowing any better I told them I was bizDataManager and they believed me. Well, when the oODBCManager office closed down for the day they were supposed to release me. But the name I gave him wasn't the right one so now here I am running around in CyberSpace without anyone I can talk to since I can't even tell them what my name is... Can you help me? Is there a way I can know what my real name is the next time I get born?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform