Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COM classes access function in PRG?
Message
De
07/11/2001 04:07:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
COM classes access function in PRG?
Divers
Thread ID:
00578381
Message ID:
00578381
Vues:
90
I created a project for my COM server (EXE). The project consists of two classes (CLASS1 and CLASS2) and a program (MAIN.PRG). Is it possible (or useless?) to:
1. Set environment variables (such SET DELETED, SET DATE, etc) in MAIN.PRG that will affect how the classes will work?
2. Create a function (MYFUNC) in MAIN.PRG that will be accessible by the classes since MYFUNC is needed by those two classes?

I just want to eliminate duplicate codes in my project. If there is a better/right way to do this please show me how.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform