Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM classes access function in PRG?
Message
From
07/11/2001 04:07:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
COM classes access function in PRG?
Miscellaneous
Thread ID:
00578381
Message ID:
00578381
Views:
92
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.
Next
Reply
Map
View

Click here to load this message in the networking platform