Jump to content

Recommended Posts

  • Administrators
Posted

Seems to work properly now. Btw, the exe size is smaller now...

Hmm, that's not right - it means the compiler profiling (more speed for slightly bigger .exe) isn't working.

Valik, can you remember if the VC10 profile builds were ever finished? I thought they were because the build output briefly mentioned them but I can't remember what state it was left in.

Posted (edited)

Profiling? Hmm, I don't know, I thought they should be working. They didn't change between VC9 and VC10, did they?

Edited by Valik
  • Administrators
Posted

Profiling? Hmm, I don't know, I thought they should be working. They didn't change between VC9 and VC10, did they?

Not that I know of.

Hmm, it's definately running the compilation twice and running the profiling script. But on the 2nd compilation it's not mentioning anything about "xxx of xxx functions optimized" so I wonder if whatever compilation bit you flipped in the project file isn't being picked up.

Posted

I can't even compile using the build script. I get errors with PGO on the first run through:

3>PreLinkEvent:
3>  The system cannot find the path specified.
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: The command "if exist C:\Data\My Programs\C++\Autoit\bin\Aut2Exe\pgd\AutoItSC.pgd copy /y C:\Data\My Programs\C++\Autoit\bin\Aut2Exe\pgd\AutoItSC.pgd C:\Data\My Programs\C++\Autoit\bin\Aut2Exe\AutoItSC.pgd
3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(108,5): error MSB3073: :VCEnd" exited with code 3.
3>
3>Build FAILED.

It looks like it isn't generating the PGD file on the first pass. You maybe have an old stale PGD laying around which lets compilation work for you. For me I get the above error even when doing a normal build from either the build script or the UI itself,

Also, urge to kill rising. Why the fuck do these scripts prompt me for admin rights again? I've never understood while a build process requires administrative rights.

Posted

Project file format is completely different. Build script will need updated to specifically support VC10.

  • Administrators
Posted (edited)

It looks like it isn't generating the PGD file on the first pass. You maybe have an old stale PGD laying around which lets compilation work for you. For me I get the above error even when doing a normal build from either the build script or the UI itself,

Also, urge to kill rising. Why the fuck do these scripts prompt me for admin rights again? I've never understood while a build process requires administrative rights.

I can't really remember. I _think_ it was because some test or other needed to register AutoItX or something else admin related so we made it prompt for admin at the start rather than hanging halfway though. I'm not sure though tbh. Edited by Jon
Posted

Got an error during compilation:

>Running AU3Check for obfuscated file(1.54.20.0)  from:C:\Program Files (x86)\AutoIt3\Beta
!>14:45:33 AU3Check Obfuscated code ended.rc:3

Br,

UEZ

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

  • Moderators
Posted

Jon,

Au3Check 1.54.20.0 in the Beta crashes on Obfucated code each time I compile - it runs successfully on the original code.

Replacing it with Au3Check 1.54.19.0 from v3.3.6.1 runs successfully for both cases.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

I just tested a few scripts and AU3Check didn't fail so it may be something to do with the combination of OS, OS Architecture and AU3Check itself. I also don't bother obfuscating so that could also be a problem.

George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Posted

I think Melba23 above mentioned it only crashes on Obfuscated code... but that still leaves a question as to how it's obfuscated.

Posted

Jon, how the hell are you building AutoIt at all!? The committed version of the VC10 project file contains a pre-link build event that is missing quotes around the paths so it gives errors. You must not have any spaces in your path or something because otherwise the VC10 project is broken. I'll fix that and then look at getting automated PGO working with VC10.

  • Administrators
Posted

Jon, how the hell are you building AutoIt at all!? The committed version of the VC10 project file contains a pre-link build event that is missing quotes around the paths so it gives errors. You must not have any spaces in your path or something because otherwise the VC10 project is broken. I'll fix that and then look at getting automated PGO working with VC10.

My build path has always been "C:\Data\svn\autoit\trunk" - have I just been lucky? :unsure:
  • Moderators
Posted

wraithdu,

Melba23 above mentioned it only crashes on Obfuscated code

#Obfuscator_Parameters=/sf /sv /om /cs=0 /cn=0

Stripping the unused functions and constants (from the includes as I hope my script does not have any! :unsure:) and changing the function and variable names to 3-char abbreviations.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Posted

Jon, I strongly second that. Fixing simple things first with "worst case" situation one step at a time is, when things evolve to more complex, easier than having to figure out what breaks in a multi-platform 20kb makefile all at once.

This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.
Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe here
RegExp tutorial: enough to get started
PCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta.

SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.
SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.
An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.
SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)
A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!
SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...