Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE error Catastrophic failure
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01539049
Message ID:
01539060
Vues:
41
>Hi,
>
>Can anybody suggest what would cause the following error:
>
>
>OLE error code 0x8000ffff: Catastrophic failure
>
>
>The error occurs on the following line:
>
>
>if type("oForm") == "O" and oForm.Baseclass == "Form"
>
>
>The above line is in the Cleanup() method of the class that is suppose to close all open forms. Here is the segment of the code:
>
>
>read events
>if this.cleanup()
>   on shutdown
>*-- and so on
>
>
>I would appreciate any suggestions. TIA.

Slight change in the above:

if type ("oForm.Name") = 'C' and oForm.BaseClass == "Form"

see if this helps.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform