Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runtime : Set classlib .. in myFile ?
Message
From
11/07/2003 19:09:25
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809354
Message ID:
00809472
Views:
56
>I've tried an example similar to yours with both a SET PROCEDURE TO and SET CLASSLIB TO and it finds everything just fine. I even made sure I moved the .PRG with the classes (and any .FXP that may have been laying around) and the .VCX/.VCT with the other classes to a different folder. As long as my two .EXEs were together, or I specified the path to them in the SET PROCEDURE/SETCLASSLIB commands, everything was found at runtime just fine.

I'm using VFP 7.0

OK just to make sure I understand everything you have:

myMain project has :
all the classlibs in it, but they are excluded.
myMain.prg contains "set procedure to myProcedures"
myMain.prg contains "set classlib to myClasses in myClassLibs.exe"
myProcedures.prg
There are no prg classes.

myMain.exe has :
no classlibs in it.
It has myProcedures.fxp in it.
It has "set procedure to myProcedures"
It has "set classlibs to myClasses in myClassLibs.exe"


myClassLibs project has :
all the classlibs in it
A Main Program with nothing in it except a comment.
myProcedures.prg, but it's excluded.
Nothing else

myClassLibs.exe has :
all the classlibs in it.
No "set classlib" or "set procedure"
Bill Morris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform