AutoGeeker Posted October 10, 2006 Share Posted October 10, 2006 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 Link to comment Share on other sites More sharing options...
Helge Posted October 10, 2006 Share Posted October 10, 2006 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") Link to comment Share on other sites More sharing options...
Helge Posted October 10, 2006 Share Posted October 10, 2006 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 Add a space before the continuation line. Like this : StringTrimLeft("", _ 1) Link to comment Share on other sites More sharing options...
AutoGeeker Posted October 10, 2006 Author Share Posted October 10, 2006 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. Link to comment Share on other sites More sharing options...
GaryFrost Posted October 10, 2006 Share Posted October 10, 2006 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. Link to comment Share on other sites More sharing options...
AutoGeeker Posted October 10, 2006 Author Share Posted October 10, 2006 Actually it's from a year agoWOW! Well that WOULD explain it!! Thanks for the tip.. Now I am off to bit blast the code. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now