Jump to content

V3.0.102 Unstable Updated


Jon
 Share

Recommended Posts

When will the updated source get posted?

David Nuttall
Nuttall Computer Consulting

An Aquarius born during the Age of Aquarius

AutoIt allows me to re-invent the wheel so much faster.

I'm off to write a wizard, a wonderful wizard of odd...

Link to comment
Share on other sites

  • 4 weeks later...
  • Replies 87
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Administrators

http://www.autoitscript.com/autoit3/files/unstable/autoit/

3.0.102 (14th July, 2004) (Beta)

- Fixed: The expression: "non-blank" And 1 - now evaluates as true

- Fixed: /c command line use in compiled scripts

- Added: $CmdLineRaw variable which holds the original command line in full

- Changed: TimerStart renamed to TimerInit. TimerStop renamed to TimerDiff

The expression fix at the top was an innocent change but those tend to cause the most problems :ph34r:

Looking to release a non-GUI stable/public version this week/weekend.

Edited by Jon
Link to comment
Share on other sites

  • Administrators

Updated:

3.0.102 (15th July, 2004) (Beta)

- Added: @SW_SHOWDEFAULT, @SW_SHOWMAXIMIZED, @SW_SHOWMINIMIZED, @SW_SHOWMINNOACTIVE,

@SW_SHOWNA, @SW_SHOWNOACTIVATE, SW_SHOWNORMAL

- Changed: Icon and windowstate options added to FileCreateShortcut()

- Added: FileGetShortcut()

Link to comment
Share on other sites

  • Developers

- Added: FileGetShortcut()

typo in the Helpfile:

FileGetShortcut

--------------------------------------------------------------------------------

Retrieves details about a shortcut.

FileCreateShortcut ( "lnk" )

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Updated:

3.0.102 (15th July, 2004) (Beta)

- Added: @SW_SHOWDEFAULT, @SW_SHOWMAXIMIZED, @SW_SHOWMINIMIZED, @SW_SHOWMINNOACTIVE,

@SW_SHOWNA, @SW_SHOWNOACTIVATE, SW_SHOWNORMAL

- Changed: Icon and windowstate options added to FileCreateShortcut()

- Added: FileGetShortcut()

This may be a good time to add the simple fix described by JdeB in the following thread:

http://www.autoitscript.com/forum/index.php?showtopic=3541

:ph34r::(:lol:

(if not, thats okay too!)

John

Link to comment
Share on other sites

  • Administrators

Jon,

Can you confirm whether this is just an update to the unstable beta you've currently been developing, including the GUI code, or are you just going to hack out the GUI code when you release the stable version?

Cheers

Yeah, I am just going to hack out the gui at the last minute, offer it for download as a "release candidate" for a couple of days and then release.
Link to comment
Share on other sites

  • Administrators

Updated:

I've redone the script reading code so that decompiled scripts look right (no stripping of comments/whitespace).

Lots of internal changes so please make sure that comments, multiline comments (#cs), includes, include-once have not been broken.

Unknown #directives are compiled as-is but are stipped just before execution.

Link to comment
Share on other sites

  • Administrators

Updated:

3.0.102 (22nd July, 2004) (Beta)

- Added: DriveMapAdd(), DriveMapDel() and DriveMapGet()

These are the last changes (barring bug fixes and GUI stripping) before release.

Link to comment
Share on other sites

Jon, the problem is when you read a REG_MULTI_SZ that happens to have double NULL's in it, then more data, then the real terminating double NULL's. An example:

ItemA
NULL
NULL
ItemB
ItemC
NULL
NULL

In that case, only ItemA is returned. The bug is, that's not all of the available data. Technically, this is due to improperly formatted data, but still, the data does need returned.

Link to comment
Share on other sites

  • Administrators

Jon, the problem is when you read a REG_MULTI_SZ that happens to have double NULL's in it, then more data, then the real terminating double NULL's.  An example:

ItemA
NULL
NULL
ItemB
ItemC
NULL
NULL

In that case, only ItemA is returned.  The bug is, that's not all of the available data.  Technically, this is due to improperly formatted data, but still, the data does need returned.

I can't even create such an entry in regedit, :ph34r:

It take it such entries still manage to exist?

Edited by Jon
Link to comment
Share on other sites

what if we change it to:

case REG_MULTI_SZ:
    if (RegQueryValueEx(hRegKey, vParams[1].szValue(), NULL, NULL, (LPBYTE)szRegBuffer, &dwRes) == ERROR_SUCCESS)
    {
    szRegBuffer[dwRes] = '\0';
    szRegBuffer[dwRes+1] = '\0';  // Ensure double null termination

    for (i=0; i<dwRes; ++i)
        if (i < (dwRes - 2) && szRegBuffer[i] == '\0')
        szRegBuffer[i] = '\n';  // Convert to \n

    vResult = szRegBuffer;
    }
    else
    SetFuncErrorCode(-2);       // Default is 0

    break;

ok, in the result the empty lines are also given, but that should be no problem...

Edited by Holger
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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