Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nesting error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
00955042
Message ID:
00955088
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform