See
PRB: ADD OBJECT Syntax Error from Browser Code Snippet mskb#
156506.
>I have a vcx based class library that I want to keep a back up copy of as a prg based class library so I open the class lib. in class browser, click on 'view class code' icon and the generated code has a bunch of compilation errors, 'Syntax errors' to be more precise. Most of the violating lines have 'add object' command. The Code in the VCX runs flawlessly. Is this a bug in VFP 7.0? Anyone encountered this? I use SP1 by the way. I had the same results on more than one computer running VFP 7, SP 1.
>
>Let me know what you think.
--sb--