dantay9 Posted August 28, 2009 Share Posted August 28, 2009 (edited) I am just wondering what platforms my Yahtzee! game will run on. I don't think there are any implications because it just runs off of files included in the installation. I don't have any of these computers and don't know enough about them to tell if my program will run on them. Here is a list of the platforms in question:Windows MeWindows 2000Windows 2003Windows VistaWindows 7Windows NT Edited August 29, 2009 by dantay9 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted August 29, 2009 Share Posted August 29, 2009 I'm sorry, but saying it's not AutoIt related when it's a AutoIt script is a bit... Ridiculous. So let's start there. Now since your script is posted after Christmas 2008 it most likely uses AutoIt 3.3.0.0 which means it can not run on 9x and NT due to the removal of ANSI support. That removes 2 platforms (seems a bit weird to me that you'd even list Win Me). Before continuing further I must admit I did not run the script or read every line, but there are still only 1 place the line can be drawn if you don't intend to modify anything. Let's start with "ZwDelayExecution" AND "SetLayeredWindowAttributes", they both require Win 2000 or newer, so you may remove Me and NT again. Then if we are counting your installer then you have the usage of "zipfldr.dll" which as you probably know is the "Compressed folder" that exist in Win Me, Win XP and newer (could also be installed in Win 98 and Win 2000). Lastly there is a potential problem if you are accounting for x64. Most (likely all) of AutoIt's includes were written for x86, so there may be problems with data-types, etc. Most things seem to work (it's not like I have tested everything) but the potential is there. Be careful with DllCall or you will get memory-related errors. So what do we learn from all this stuff I just wrote? Your Yahtzee script will work on Win 2000 and up by ignoring or fixing the zipfldr.dll (otherwise Win XP), but only when run as x86. x64 could work but should be tested before being advertised as supported. To run on Win NT 4.0 and Win 9x you would need an older version of AutoIt, plus get rid of the dependency on newer dll introduced with NT 5. And a last warning. I have been up all night watching movies, and the time is far in the morning here in Sweden so I am just about as tired as one can be, so I wouldn't be surprised if it crept in an error or two in this text.... Mehh I'm not sure I understood the question anyway, but it was fun writing all of this while barely being able to stay awake. I better end now before I fall to sleep at the keyboard so good night! Note: I didn't include UAC in this, I am too tired. If you have any questions I would be happy to help after some sleep .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...
WolfWorld Posted August 29, 2009 Share Posted August 29, 2009 I will say. It will work on wine. Main project - Eat Spaghetti - Obfuscate and Optimize your script. The most advance add-on.Website more of GadGets! Link to comment Share on other sites More sharing options...
dantay9 Posted August 29, 2009 Author Share Posted August 29, 2009 Sorry about the title. I meant it didn't deal directly with a script problem. Thank you for your in depth explanation. 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