Girish Posted March 3, 2010 Share Posted March 3, 2010 All my scripts worked fine on windows vista 32 bit. Copied all my scripts to my new Windows 7 64 bit and now I can't compile them. I experimented a little bit and found that if my script referes to any "#include" file/module it gets into issue. What it looks to me is that AutoIt is unable to locate the "\Program Files (x86)\AutoIt" folder path, instead it might be looking at "\Program Files\AutoIt" but on 64 bit system AutoIt is not installed in this folder. Any thoughts/help/work around is appreciated. Thanks, - Girish ------------------------------SQL DBA - AutoIt hobbyisthttp://gvphubli.blogspot.com/ Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 3, 2010 Share Posted March 3, 2010 Well it works for me so you're doing something wrong. Post a small reproducer, and the output from the console when you compile it. .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Girish Posted March 15, 2010 Author Share Posted March 15, 2010 Well it works for me so you're doing something wrong. Post a small reproducer, and the output from the console when you compile it.Take any script that has "#include", and your script must be refering to functions in include file, also check if your AutoIt binaries are installed in "\Program Files\AutoIt" this is what is different from 32 bit to 64 bit Windows is. However if you have installed your AutoIt binaries in non default directory, lets says "C:\AutoIt\" you may not have this issue.As a workaround, for now what I have done is I have copied all my binary folder to "/Program Files(x64)/AutoIt" and all the scripts are working without any modification to the script.Thanks for looking into my issue!- Girish ------------------------------SQL DBA - AutoIt hobbyisthttp://gvphubli.blogspot.com/ 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