FoxInCloud
Constants like CRLF not found
Gravatar is a globally recognized avatar based on your email address. Constants like CRLF not found
  n/a
  All
  Jun 1, 2015 @ 11:10am
I have been extending our app to include support for XFRX. I did not run a Web test intermittently during development (as I swore I would after my prior difficulties), so now I get an error on opening the first form during testing. The complaint is that there is no variable "CRLF". Well, that's a surprise! Setting a break, there is also no definition for CR, CR2, or CRLF2 (found these in abtext.h). Is CRLF #defined by abtext.h? I didn't test as I was developing as most of the work was on new procedural classes. Go Fish'd looking for #undef or anything associated with CRLF. Prior backup works fine, only changes were to xxxset to include XFRX. Give me a good spot to set a debug break, lots of OOP here, so I can get a start on fixing this.

Thanks - James

Gravatar is a globally recognized avatar based on your email address. Re: Constants like CRLF not found
  GLS
  James Patterson
  Jun 1, 2015 @ 11:51pm
Hi james

Did you open your project with FoxInCloud Studio ? It seems you open your project directly with VFP9 ?

regards
GLS


I have been extending our app to include support for XFRX. I did not run a Web test intermittently during development (as I swore I would after my prior difficulties), so now I get an error on opening the first form during testing. The complaint is that there is no variable "CRLF". Well, that's a surprise! Setting a break, there is also no definition for CR, CR2, or CRLF2 (found these in abtext.h). Is CRLF #defined by abtext.h? I didn't test as I was developing as most of the work was on new procedural classes. Go Fish'd looking for #undef or anything associated with CRLF. Prior backup works fine, only changes were to xxxset to include XFRX. Give me a good spot to set a debug break, lots of OOP here, so I can get a start on fixing this.

Thanks - James

Gravatar is a globally recognized avatar based on your email address. Re: Constants like CRLF not found
  FoxInCloud Support - Thierry N.
  James Patterson
  Jun 2, 2015 @ 12:41am
Hi James,
CR, CR2, CRLF and CRLF2 are all compilation constants.

You recently modified aw.vcx for a fix, right? could you try - after a fresh FoxInCloud Application Studio restart to make sure *.h are in Set('Path') and running FoxInCloud Application Studio as an administrator :

compile classlib aw

if this is not enough you could also try

compile ab\*.prg
compile ab\aw\*.prg

HTH,


I have been extending our app to include support for XFRX. I did not run a Web test intermittently during development (as I swore I would after my prior difficulties), so now I get an error on opening the first form during testing. The complaint is that there is no variable "CRLF". Well, that's a surprise! Setting a break, there is also no definition for CR, CR2, or CRLF2 (found these in abtext.h). Is CRLF #defined by abtext.h? I didn't test as I was developing as most of the work was on new procedural classes. Go Fish'd looking for #undef or anything associated with CRLF. Prior backup works fine, only changes were to xxxset to include XFRX. Give me a good spot to set a debug break, lots of OOP here, so I can get a start on fixing this.

Thanks - James

Gravatar is a globally recognized avatar based on your email address. Re: Constants like CRLF not found
  n/a
  Thierry Nivelet (FoxInCloud)
  Jun 2, 2015 @ 04:40am
It appears to have been a compiling issue, but it was with xxxserver. Must have been a bad fxp. Found it by using backup from 3 hours earlier and trial and error. Good case for backups!

Thanks - James


Hi James,
CR, CR2, CRLF and CRLF2 are all compilation constants.

You recently modified aw.vcx for a fix, right? could you try - after a fresh FoxInCloud Application Studio restart to make sure *.h are in Set('Path') and running FoxInCloud Application Studio as an administrator :

compile classlib aw

if this is not enough you could also try

compile ab\*.prg
compile ab\aw\*.prg

HTH,


I have been extending our app to include support for XFRX. I did not run a Web test intermittently during development (as I swore I would after my prior difficulties), so now I get an error on opening the first form during testing. The complaint is that there is no variable "CRLF". Well, that's a surprise! Setting a break, there is also no definition for CR, CR2, or CRLF2 (found these in abtext.h). Is CRLF #defined by abtext.h? I didn't test as I was developing as most of the work was on new procedural classes. Go Fish'd looking for #undef or anything associated with CRLF. Prior backup works fine, only changes were to xxxset to include XFRX. Give me a good spot to set a debug break, lots of OOP here, so I can get a start on fixing this.

Thanks - James



© 1996-2024