>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()
>*#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?
There is no built-in VFP class named WebProcess.
maybe you missed SET CLASSLIB TO YourVCXorPRGWhereThisClassIsPlaced
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.