Página 1 de 1

Syntax Error

Publicado: Mar Oct 30, 2018 8:24 pm
por emeasoft
Hello Xailers,

The compiler is returning an error when compiling the following line:

WinHttp := CreateObject( "WinHttp.WinHttpRequest.5.1" )
WinHttp:Option( 9, 512 ) // gives a "Syntax error" when compiling

Does anyone knows why this error is happening?

Thanks in advance,
Juliano

Re: Syntax Error

Publicado: Mié Oct 31, 2018 9:53 am
por ignacio
emeasoft escribió:Hello Xailers,

The compiler is returning an error when compiling the following line:

WinHttp := CreateObject( "WinHttp.WinHttpRequest.5.1" )
WinHttp:Option( 9, 512 ) // gives a "Syntax error" when compiling

Does anyone knows why this error is happening?

Thanks in advance,
Juliano
Hi Juliano,

Problem found. Please modify the xailer.ch file lines 20 and 21 from this:

#translate BYREF =>
#translate OPTIONAL =>

To this:

#xtranslate BYREF =>
#xtranslate OPTIONAL =>

Regards,

Re: Syntax Error

Publicado: Mié Oct 31, 2018 10:24 am
por emeasoft
Hi Ignacio!

It worked! Thank you very much!

Regards,
Juliano