WebProcess is another PRG that wasn't in the folder with the PRG in which the code came from. I dropped it and the FXP file in with the main program and tried to do:
SET CLASSLIB TO \WConnectX\_FP\WebProcess
But it's telling me "\WConnectX\_FP\WebProcess.vcx doesn't exist" because it in fact doesn't, there was no VCX where I found the two other files.
Aside from that I don't see WebProcess mentioned in this code anywhere, at least nothing that defines it.
Can I get it working without the VCX file?
>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()
>>*#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?