Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unspecified error
Message
 
À
29/09/2002 15:31:42
Virgil Reboton
Iger Technologies Inc.
Bacolod, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00705684
Message ID:
00705819
Vues:
10
>How do I return an error from the Init Event of my COM created in VFP?
>
>If i put RETURN .F. in the INIT event, The COM client will receive this error.
>OLE error code 0x80004005: Unspecified error.
>
>I have also tried COMRETURNERROR() but i get this error message
>Feature is not available.
>
>Any other way to return an error to my COM Client?

IMO you cannot return error info from Init event. At time of this event the object is not created and, therefore, ISupportErrorInfo and IErrorInfo interfaces of your object are not accessible.

Alexander
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform