thefunkie1 Posted May 1, 2006 Share Posted May 1, 2006 Maybe some one can help me out on this one. I just upgraded to the latest beta, 121, to see if it would get rid of the _ArraySearch error that kept popping up on compiles. That error is now gone/fixed but now I'm noticing that DirCreate no longer works when using the Beta Run/Compile. If I do a normal run/compile, it creates the directory just fine but if I use the beta run/compile if fails to create the directory and returns a 0 (failure). I'm using the exact same code just using the beta and non-beta run commands. Has anyone else noticed this and is there a fix for it? Thanks. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 1, 2006 Moderators Share Posted May 1, 2006 Do you have the error that it is giving you? Do you have some code you are using that we can test or look at? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
thefunkie1 Posted May 1, 2006 Author Share Posted May 1, 2006 (edited) $status = DirCreate("C:\Program Files\ImageUpdater") MsgBox(64, "Test", $status) it is a simple DirCreate command. Works when I click Go in Tools menu but fails when I click Beta Run. it works fine in beta 118. Edited May 1, 2006 by thefunkie1 Link to comment Share on other sites More sharing options...
herewasplato Posted May 1, 2006 Share Posted May 1, 2006 (edited) I tested those two lines of code on 117 from within SciTE:Tools > Go (for the production run)[Result: directory created]Manually removed the directoryTools > Beta Run (117)[Result: directory created]Manually removed the directoryInstalled 121 and confirmed the problem... it would not create the directory[be warned that if the directory already exists from the "production test", 121 will report "1"]Edit: installed 120 - works as expected... (the directory is created)Edit2: there has been some work in that area as of late:http://www.autoitscript.com/forum/index.ph...showtopic=24899Edit3: tested on XP Pro SP2Edit4: and yet DirCreate("C:\Test 1\Folder1\Folder 2") works with 121 Edited May 1, 2006 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
dash007 Posted May 1, 2006 Share Posted May 1, 2006 I too can confirm that there is a problem with creating directories with the latest beta. I posted a topic earlier, see http://www.autoitscript.com/forum/index.ph...topic=25454&hl= I put couple of codes too. Link to comment Share on other sites More sharing options...
thefunkie1 Posted May 1, 2006 Author Share Posted May 1, 2006 Thanks for the validation of the problem. I've reverted back to 120 seeing as it works so thanks for all the help every one. I just wanted to make sure. Link to comment Share on other sites More sharing options...
herewasplato Posted May 1, 2006 Share Posted May 1, 2006 Thanks for the validation of the problem. I've reverted back to 120 seeing as it works so thanks for all the help every one. I just wanted to make sure.See here for the resolution of bug report on this:http://www.autoitscript.com/forum/index.ph...ndpost&p=179169 [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
herewasplato Posted May 2, 2006 Share Posted May 2, 2006 122 solved it for me - thanks jpm for the quick fix. [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted May 2, 2006 Share Posted May 2, 2006 how did it get messed up in 121 if it worked in 120? Link to comment Share on other sites More sharing options...
nfwu Posted May 2, 2006 Share Posted May 2, 2006 Incompatibility with bugfixes/new features? Or accidental editing of the function? I dunno.. just guessing #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
jpm Posted May 2, 2006 Share Posted May 2, 2006 122 solved it for me - thanks jpm for the quick fix.You welcome, some delay from the Worker day vacation ... 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