loProcess=CREATEOBJECT("task",loServer)Here is the whole block of code:
#define DISC_NORMAL 0 #define DISC_RATE 1 #define _MAXLNS 18 #define _MAXWLNS 18 #define RATE_UNKNOWN 0 #define RATE_PAY 1 #define RATE_INV 2 #define CHANGETHIS this.fp1521() &&this.BGMAudit() &&this.fp1601() #DEFINE TIMEOUT 14400 #DEFINE TOL_PATH "D:\BTS\Tolerance\" *#define TESTING 1 LPARAMETERS loServer LOCAL loProcess #include WCONNECT.H loProcess=CREATEOBJECT("task",loServer) *loProcess.lShowRequestData = loServer.lShowRequestData IF VARTYPE(loProcess)#"O" WAIT WINDOW NOWAIT "Unable to create Process object..." RETURN .f. ENDIF loProcess.Process RETURN DEFINE CLASS Task AS WWC_PROCESS &&as WebProcessAny ideas? I tried changing WWC_PROCESS back to WebProcess and got the same error. I tried moving the whole line up and after the *#define line and I can get the instance running, but still have other errors. I don't even know where the WWC_PROCESS came from, I may have to ask the others who are working on this project.