Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Nesting error
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00955042
Message ID:
00955088
Views:
23
This message has been marked as the solution to the initial question of the thread.
Kevin,

Add
...
ENDDEFINE 
to the end of the procedure.

Kurt
>I have been working on creating a vfp com object. I have compiled and ran many times, but today, I started to get a "nesting error" message when compiling. I have stripped out the entire class except for:
>
>
>DEFINE CLASS MyClass AS CUSTOM OLEPUBLIC
>
>lError = .F.
>cErrorMsg = ""
>
>PROCEDURE Init
>	SYS(2335,0)
>
>	SET SAFETY     OFF
>	SET RESOURCE   OFF
>	SET EXCLUSIVE  OFF
>	SET CPDIALOG   OFF
>	SET DELETED    ON
>	SET EXACT      OFF
>	SET SAFETY     OFF
>	SET REPROCESS TO 2 SECONDS
>
>	SET PROCEDURE TO WWAPI ADDITIVE
>	SET PROCEDURE TO WWPDF ADDITIVE
>	SET PROCEDURE TO WWUTILS ADDITIVE
>	SET PROCEDURE TO WWEVAL ADDITIVE
>
>ENDPROC
>
>
>
>I still get a nesting error message when trying to compile. Very annoying. Any help appreciated!!!
>Thanks, Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform