Sign in to follow this  
Followers 0
AutoGeeker

continue line

6 posts in this topic

HAve loaded the latest beat of Autoit.

Now I get errors on scripts such as this entry:

;get the size of the binary data buffer that we need to create

$ret = DllCall("Crypt32.dll","int","CryptStringToBinary",_

"str",$szString,_

"int",StringLen($szString),_

"int",$CRYPT_STRING_BASE64,_

"ptr",0,_

"ptr",DllStructGetPtr($binLen,1),_

"ptr",DllStructGetPtr($binLen,2),_

"ptr",DllStructGetPtr($binLen,3))

SCI show the error as the ,_ point and show it as a syntax error.

C:\PROGRA~1\AutoIt3\Include\DllStruct.au3(132,52) : ERROR: syntax error

$ret = DllCall("kernel32.dll","int","CreateFile",_

~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Any ideas on this???

Thanks for the advice.

Cheers

Steve

Share this post


Link to post
Share on other sites



This isn't something that was changed recently. 60 beta-versions ago is actually more

accurate. Now you have to do something like this instead :

MsgBox(64, "", "Poop" & _
"smith")

Share this post


Link to post
Share on other sites

Damn it, sorry. I didn't study your code enough and basically just assumed what your

problem was. It's late here now and posts I do after midnight usually end up to be...

stupid :lmao:

Add a space before the continuation line. Like this :

StringTrimLeft("", _
1)

Share this post


Link to post
Share on other sites

This isn't something that was changed recently. 60 beta-versions ago is actually more

accurate. Now you have to do something like this instead :

MsgBox(64, "", "Poop" & _
"smith")

Yes, thanks, but the code snipet that I was attempting to use is from a new

script driectly from the Autoit library. Kind o strange that it blows up.

Share this post


Link to post
Share on other sites

Yes, thanks, but the code snipet that I was attempting to use is from a new

script driectly from the Autoit library. Kind o strange that it blows up.

Actually it's from a year ago


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites

Actually it's from a year ago

WOW! Well that WOULD explain it!!

Thanks for the tip.. Now I am off to bit blast the code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0