>>I'm trying to compile an APP file in VFP 8 and get the following error message
>>
Form c:\apps\mechanical pib\forms\frmdeviations.scx has the following errors:
>> Visual Class Library WONO - Undefined
>>
>>The application actually compiles and executes properly but I'm curious as to the source of the error and what might be done to make the compiler happier.
>>
>>The error comes from the following line of code
>>oList = NEWOBJECT('frmList','Libs\Common_libs', '', ALIAS(), 'Work Orders', 'WONO')
>>
>>
>>The file Libs\Common_libs.vcx does exist. It contains a definition for a class "frmList" which has in its Init method
>>LPARAMETERS pCursor as String, pCaption as String, pDefSearchBy as String, plAllowXL
>>
>>I'm sure this is the line the compiler is complaining about because I've changed WONO to a couple of other things and the compiler error always refers to whatever value I use for that parameter.
>>
>>Can anybody provide some insight as to what is causing this compiler error?
>>
>>Thanks.......Rich
>
>Nothing off the top of my head as to the cause. I will point out that once you build your exe and if you embed Common_libs.vcx the path "libs\" becomes meaningless. At design time, include libs\ in your set path. It's not needed at runtime. :)
Thanks for the reply.