Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class definition is not found
Message
De
22/06/2011 15:00:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Class definition is not found
Divers
Thread ID:
01515551
Message ID:
01515551
Vues:
119
When I try to run my program, I get "Class definition WEBPROCESS is not found."

Here are the first few lines of code, the error pops up at loProcess=CREATEOBJECT("task",loServer).
#define DISC_NORMAL 0
#define DISC_RATE   1
#define _MAXLNS 10
#define _MAXWLNS 10
#define RATE_UNKNOWN 0
#define RATE_PAY 1
#define RATE_INV 2
#define CHANGETHIS this.fp1521()  &&this.BGMAudit()  &&this.fp1601()
*#define TESTING 1
LPARAMETERS loServer
LOCAL loProcess
#include WCONNECT.H
#DEFINE TIMEOUT 14400
#DEFINE TOL_PATH "D:\BTS\Tolerance\"

loProcess=CREATEOBJECT("task",loServer)
IF VARTYPE(loProcess)#"O"
	WAIT WINDOW NOWAIT "Unable to create Process object..."
	RETURN .f.
ENDIF 
loProcess.Process
RETURN 

DEFINE CLASS Task as WebProcess
After that I start making functions. I'm running a local server to test the pages and all of them come back saying there's a syntax error at line 0, so it's obviously zero help. Any ideas?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform