Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862

    File.GetVersionInfo() bug...

    On win9x, when accessing long file names on a remote drive, File.GetVersionInfo() fails.

    Code:
        local tFile = Dialog.FileBrowse(true, "File Name", _TempLaunchFolder, "Executables|*.*", "", "exe", false, true);
        Application.SetLastError(0);
        local tInfo = File.GetVersionInfo(tFile[1]);
        if tInfo then
          if Dialog.Message("Success!", tFile[1].."\r\nis version "..tInfo.FileVersion.."\r\nDo another?", MB_YESNO, MB_ICONINFORMATION, MB_DEFBUTTON2) == IDNO then
            Application.Exit(1);
          end
        else
          if Dialog.Message("Ooops", "File.GetVersion() failed for\r\nfile "..tFile[1].."\r\n".. _tblErrorMessages[Application.GetLastError()] .."\r\nTry again?", MB_YESNO, MB_ICONSTOP, MB_DEFBUTTON1) == IDNO then
            Application.Exit(2);
          end
        end

    When I run that code, and select a file locally; it fails with
    Could not get the size of the version information.

    if I copy that same file to the local drive, no problem.
    If I rename to a short filename and leave on teh remote drive, no problem.

    SO.. issue seems to be
    1. Win9x
    2. Network/Remove drive
    3. Filename has to be Long ("SupportWizard.exe" vs. short "supwiz.exe")
    Last edited by jassing; 03-06-2007 at 01:45 PM. Reason: Added images


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  2. #2
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by jassing View Post
    When I run that code, and select a file locally; it fails with
    Could not get the size of the version information.
    That should have read:

    When I run that code, and select a file remotely; it fails...


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

  3. #3
    Join Date
    May 2000
    Location
    Indigo Rose Software
    Posts
    2,150
    I have logged this one. REF: 14992

    Adam Kapilik

  4. #4
    Join Date
    Jan 2001
    Location
    Anderson Island, WA, USA
    Posts
    2,862
    Quote Originally Posted by Adam View Post
    I have logged this one. REF: 14992
    I feel bad asking -- is there an ETA on some of these bugs to be fixed/updated/patched?


    (Click here to contact me)
    Providing Independent Professional Consulting Services for
    IndigoRose products, World Wide.
    Located in -8:00 (-7:00 DST) GMT Timezone (Western United States)

Similar Threads

  1. TrueUpdate 2.0 Update (v2.0.6.0) Released
    By Brett in forum TrueUpdate 2.0
    Replies: 0
    Last Post: 10-31-2006, 01:10 PM
  2. AutoPlay Media Studio 6.0 Update (v6.0.4.0) Released
    By Darryl in forum AutoPlay Media Studio 6.0
    Replies: 0
    Last Post: 09-13-2006, 12:03 PM
  3. New Setup Factory 7.0 (v 7.0.3.0) Available
    By Darryl in forum Setup Factory 7.0
    Replies: 3
    Last Post: 06-19-2005, 12:59 AM
  4. New Setup Factory 7.0 (v 7.0.2.0) Available
    By Darryl in forum Setup Factory 7.0
    Replies: 9
    Last Post: 03-06-2005, 01:57 PM
  5. AutoPlay Media Studio 4.0.0.3 Released
    By Brett in forum AutoPlay Media Studio 4.0
    Replies: 0
    Last Post: 12-11-2002, 08:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts