Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Handling in Components
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00521185
Message ID:
00521209
Vues:
16
>Me and my team are fairly new to the creation of components. We are in the process of creating custom objects that our organization needs.
>Since the objects that we are creating cannot have an Visible interface as they will be used as components we were wondering how to do error handling.
>We created a collection class which has regular collection properties like count
>and uses an array for the items. It has a method ADD that adds the item to the array.
>Now in the object's init method we use the addobject() to create errors collection and the object's methods will use that collection to report errors.
>Is this the right way of doing things or is their an easier way that we should adopt ?
>Mohinder

Take a look at the March 2000 edition of FoxTalk (www.pinpub.com). There's an article describing exactly what you need using XML.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform