Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class definition is not found
Message
 
 
To
22/06/2011 15:00:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01515551
Message ID:
01515558
Views:
48
Where is WebProcess class defined and do you have

SET PROCEDURE TO ProgramWhereThisClassDefined

or

SET CLASSLIB TO ClassLibWhereThisClassIsDefined

statement missing.

>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?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform