Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Runtime : Set classlib .. in myFile ?
Message
From
11/07/2003 18:15:50
 
 
To
11/07/2003 18:04:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809354
Message ID:
00809457
Views:
50
>>>My classes reference prgs that I have in a Procedure file. I had to put the procedure file into the project in order to get rid of errors, but I excluded it from the build.
>>>Did you do anything like that?
>>
>>If you've got a proc file with DEFINE CLASSES in it, you'll need to have a SET PROCEDURE TO yourprocfile IN myclasslib.exe where ever you've got your SET CLASSLIB statement. You'll need both in order to find both procedure base classes and visual classes.
>
>Are you saying there is a "Set Classlib" in myClassLib.exe?
>I thought all I needed was "set classlib to myClasses in myClassLib.exe" in myMain.exe.
>
>I have the procedure file included in myMain.exe with a "set procedure to myProcedures". I don't have it built into myClassLib.exe. I don't have a "set procedure" or "set classlib" inside myClassLib.exe.

No, you need both a SET PROCEDURE TO and a SET CLASSLIB TO in your main program. The SET PROCEDURE TO will find your DEFINE CLASS classes (.PRG classes), and the SET CLASSLIB TO will find the .VCX based classes.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform