| View previous topic :: View next topic |
| Author |
Message |
MTbot
Joined: 09 Apr 2006 Posts: 5
|
Posted: Sat Nov 17, 2007 8:14 am Post subject: |
|
|
| A thousand thank yous, corrupt. The solution and project files you provided easily upgraded to VC++ 2008 Express Edition (Beta 2) with no errors. |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5037 Location: /b/
|
Posted: Tue Dec 04, 2007 1:36 pm Post subject: |
|
|
AutoHotkey builds well on VC08 Express with Vista SDK, all you need to do:
- Do Visual Studio upgrade wizard (choose No for backup)
- Change Debug to Release
- Right click AutoHotkey project then Properties
- Under C/C++ change Treat Warnings As Errors to No
- In Linker > Input remove "LibCMT;" from Ignore Specific Library
- Press F7 to build
I noticed a performance improvement when AutoHotkey was build this way and left uncompressed - as much as 30% faster for the most basic loop and var set test. _________________ Chat (IRC) • PlusNet • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
MTbot
Joined: 09 Apr 2006 Posts: 5
|
Posted: Tue Dec 04, 2007 3:30 pm Post subject: |
|
|
| Titan wrote: |
I noticed a performance improvement when AutoHotkey was build this way and left uncompressed - as much as 30% faster for the most basic loop and var set test. |
Forgive my ignorance, but the 30 percent improvement is being compared to what? VC++ 7 build with Vista? 2005 Express build with Vista? Thanks in advance. |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5037 Location: /b/
|
Posted: Tue Dec 04, 2007 3:41 pm Post subject: |
|
|
Compared to the official released, which is also uncompressed. _________________ Chat (IRC) • PlusNet • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2446
|
Posted: Wed Dec 05, 2007 5:26 am Post subject: |
|
|
| Titan wrote: | | Compared to the official released, which is also uncompressed. | The official release is uncompressed?? |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4467 Location: Qld, Australia
|
Posted: Wed Dec 05, 2007 12:50 pm Post subject: |
|
|
| corrupt wrote: | | Titan wrote: | | Compared to the official released, which is also uncompressed. | The official release is uncompressed?? | I don't think so. It probably doesn't matter, considering the EXE is decompressed (into memory) before the script starts... right? |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5037 Location: /b/
|
Posted: Wed Dec 05, 2007 3:19 pm Post subject: |
|
|
| corrupt wrote: | | The official release is uncompressed?? | No, I de-upx it after installation to reduce launch times. _________________ Chat (IRC) • PlusNet • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 7180
|
Posted: Wed Dec 05, 2007 3:22 pm Post subject: |
|
|
| Titan wrote: | | I de-upx it after installation to reduce launch times. |
IIRC, elsewhere in our forum, Mr.Chris quoted that a compressed exe would load faster than an uncompressed one. |
|
| Back to top |
|
 |
majkinetor
Joined: 24 May 2006 Posts: 4114 Location: Belgrade
|
Posted: Wed Dec 05, 2007 3:28 pm Post subject: |
|
|
It depends on cluster size, HD fragmentation etc...
It may be faster, especialy on multiple launches, to remove compression, but I doubt its noticable. _________________
 |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5037 Location: /b/
|
Posted: Wed Dec 05, 2007 3:38 pm Post subject: |
|
|
| Skan wrote: | | IIRC, elsewhere in our forum, Mr.Chris quoted that a compressed exe would load faster than an uncompressed one. | On another thread dedicated to this I posted a benchmark script with my machine spec and graphs which show that an uncompressed exe launches a lot faster, especially if it were from LZMA. I believe others like Sean do the same, but as maji said it depends on your usage (since UPX does not cache but results in shorter seeks etc.).
One thing for sure is that the MS C++ compiler has improved over the years (although GCC still owns, apparently). _________________ Chat (IRC) • PlusNet • Scripts • IronAHK • Contact by email not private message. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 7180
|
Posted: Wed Dec 05, 2007 3:46 pm Post subject: |
|
|
Thanks for the clarifications majkinetor / Titan.  |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2446
|
Posted: Thu Dec 06, 2007 2:34 am Post subject: |
|
|
Thanks for clarifying  |
|
| Back to top |
|
 |
dandy
Joined: 09 May 2007 Posts: 45
|
Posted: Wed Feb 27, 2008 10:28 am Post subject: |
|
|
| i succesfully compiled the source,but i can only see autohotkey.exe,autohotkeysc.bin is not there,any hints? |
|
| Back to top |
|
 |
Oberon
Joined: 18 Feb 2008 Posts: 442
|
Posted: Wed Feb 27, 2008 10:32 am Post subject: |
|
|
| dandy wrote: | | autohotkeysc.bin is not there | You need the script compiler source. |
|
| Back to top |
|
 |
dandy
Joined: 09 May 2007 Posts: 45
|
Posted: Wed Feb 27, 2008 10:36 am Post subject: |
|
|
hi,
thanks for your reply.
i have the script compiler source too and it compiled ok too,but the files to create autohotkeysc.bin are not there,theres only ahk2exe.exe.
any other tip?
thanks |
|
| Back to top |
|
 |
|