PrgSkidmark Posted January 6, 2006 Share Posted January 6, 2006 I downloaded the AutoIt3SciTE 12/17/2005 update. I installed it. When I compiled one of my scripts that include Date.au3 it returns an error. So I created a test script: #include <Date.au3> Dim $sYesterday $sYesterday = _DateAdd( 'd',-1, _NowCalcDate()) MsgBox(4096, "Yesterday", $sYesterday) And after compile I get this error: C:\Program Files\AutoIt3\Include\Date.au3 (1159) : ==> Unknown function name.: $SYSTEMTIME = DllStructCreate("ushort;ushort;ushort;ushort;ushort;ushort;ushort;ushort") $SYSTEMTIME = ^ ERROR I hope this isn't duplicated, I searched the forums and the net. Link to comment Share on other sites More sharing options...
BigDod Posted January 6, 2006 Share Posted January 6, 2006 I downloaded the AutoIt3SciTE 12/17/2005 update. I installed it. When I compiled one of my scripts that include Date.au3 it returns an error. So I created a test script: #include <Date.au3> Dim $sYesterday $sYesterday = _DateAdd( 'd',-1, _NowCalcDate()) MsgBox(4096, "Yesterday", $sYesterday) And after compile I get this error: I hope this isn't duplicated, I searched the forums and the net.Did you forget to Beta Compile it. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
seandisanti Posted January 6, 2006 Share Posted January 6, 2006 I downloaded the AutoIt3SciTE 12/17/2005 update. I installed it. When I compiled one of my scripts that include Date.au3 it returns an error. So I created a test script: #include <Date.au3> Dim $sYesterday $sYesterday = _DateAdd( 'd',-1, _NowCalcDate()) MsgBox(4096, "Yesterday", $sYesterday) And after compile I get this error: I hope this isn't duplicated, I searched the forums and the net.if you're using scite, make sure you're using alt-f7 to compile, or tools>beta compile. right clicking on the script and choosing compile will use the stable compiler unless you've used the betatoggle, in the extras folder of your install Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted January 6, 2006 Moderators Share Posted January 6, 2006 Do you have the regular AutoIt installed with the installer or zip? If not you need to use your #includes like this: #include "Path_To_Include_File_Date.au3" The main path for the installer is: Drive:\Program Files\AutoIt3 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...
PrgSkidmark Posted January 6, 2006 Author Share Posted January 6, 2006 Do you have the regular AutoIt installed with the installer or zip? If not you need to use your #includes like this: #include "Path_To_Include_File_Date.au3"The main path for the installer is: Drive:\Program Files\AutoIt3Ok I went into tools compile, and changed to Aut2Exe in the beta folder and it worked!I tried both in explorer and neither worked the first time, I swear.I used the install programs for all.I didn't have this problem with my previous versions.So the includes folder is not beta, but the compiler has to be?What if I want to use the stable compiler?Thanks,Doug Link to comment Share on other sites More sharing options...
PrgSkidmark Posted January 6, 2006 Author Share Posted January 6, 2006 What if I want to use the stable compiler?That brings me to another question.Do I ever need to use the stable compiler?The beta's got the better features right? Link to comment Share on other sites More sharing options...
seandisanti Posted January 6, 2006 Share Posted January 6, 2006 That brings me to another question.Do I ever need to use the stable compiler?The beta's got the better features right?personally i always use the beta, but i can't think of a good reason to limit yourself to the production version Link to comment Share on other sites More sharing options...
BigDod Posted January 6, 2006 Share Posted January 6, 2006 That brings me to another question.Do I ever need to use the stable compiler?The beta's got the better features right?Lots of things have changed since the "Stable" release. A lot of functions have been added and if you wish to make use of them you need to use the Beta version. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother 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