Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compile Error
Message
From
27/04/2012 13:25:57
 
 
To
27/04/2012 13:17:51
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01542795
Message ID:
01542798
Views:
40
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform