>>>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.