Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/29/2022 in all areas

  1. RTFC

    Code Scanner

    Hi Everyone, This is my first-ever post to this forum, and it's also the first forum I ever joined, after visiting anonymously for some time. I've been very impressed by both the level of expertise and the friendly, helpful, generous, and funny replies to OPs by the large majority of members. My main intention in joining was to share some potentially useful scripts of mine with the community. I've been programming for many years, and since a few months, also in AutoIt. On the other hand, I've no clue about posting stuff, so here goes (fingers crossed): I wrote this one to help solve dependency issues in some larger AutoIt projects of mine, but it should be equally useful for small/simple projects. It's not meant to replace AU3check, but to provide additional info on your project, and identify *possible* runtime issues that the compiler does not pick up. You then have to figure out yourself whether/where/how to change your code. Also be warned that the file I/O is tectonically slow (definitely room for improvement there). Download CodeScanner and associated UDFs in the CodeScannerCrypterBundle. This utility scans an AutoIt code project with multiple #includes and/or UDFs for inconsistencies, clashes, and various other hidden (potential) problems. It also generates MetaCode files for use with CodeCrypter and the MCf library. It does NOT alter your code; it just reads, evaluates, and reports. 36 Optional Outputs (from version 2.0😞 status report (text file), identifying: missing #includes, duplicate UDFs (lists all occurrences with their resp. parameters); issues with global definitions, unresolved function parameters... searchable treeviews of code architecture (nested #includes, nested function calls (UDF + native AUtoIt); detailed stats for each selected branch (who calls X, who is called by X) array listings (some 2-D) of: identified potential issues; unique #includes, redundant #includes; unique UDFs with calling stats; globals; all locations/definitions of UDF func def/endfunc, all calls, all #includes, all globals, all variables, all literal strings, all native AutoIt functions (with parameters) definition list of all globals identified only within UDFs, written out as script for easy inclusion at top of your script (so all globals are predefined in main code) MetaCode files (see the MetaCode thread (esp. the Tutorial) for details: '?do=embed' frameborder='0' data-embedContent>>) all results can be written to text files and read in to other scripts in their original array formats with an additionally supplied small UDF. You can edit the code to add more yourself; I'm gradually extending its functionality as/when required for my own projects. Hope it helps!
    1 point
  2. Hi @kurtykurtyboy. That error code translates to 0xC0000005 (Access Violation). It occurs when non accessible data access is attempted. Mostly it happens when freed memory is accessed and the now possibly random data end up being used as a pointer to a non accessible memory pointer reference. If it's my code only at fault, it is a tedious, but easy process of finding the faulty code. However i have found that some VERY specific cases can result in AutoIt3 crashing, that seems to be an issue with AutoIt3. see this issue i have in another project of mine for example. Trouble is confirming that is is not my code being the culprit is hard when it comes to memory manipulation and complex scenarios.
    1 point
  3. Jon

    AutoIt v.3.3.16.0 Released

    AutoIt v3.3.16.0 has been released. Thanks to @jpm and the MVPs who were responsible for the majority of code in this version. Download it here. Complete list of changes: History
    1 point
  4. (regarding autoitscript.com) please establish a function that will allow user-1 to delete the comments [and/OR block users] on their (user-1) posts. too much "asshole-ism" being propagated. when users are trying to seek information; people with useless answers (trolls) should be (able to be) deleted, to help others who are seeking same goal. "one" shouldn't HAVE TO talk AROUND ignorant people, to someone that "they" are trying to help or that "they" are seeking help from.
    1 point
×
×
  • Create New...