Changeset 1049


Ignore:
Timestamp:
Jan 24, 2018, 9:28:22 PM (8 years ago)
Author:
Alex Taylor
Message:

Merge changeset 1045 from trunk.

Location:
branches/guitools-arcamap-2.5/evfsgui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-arcamap-2.5/evfsgui/evfsgui.vrx

    r1044 r1049  
    685685_Dynamic:
    686686    dyn_code = arg(1)
    687     if options.!debug == 1 then say '  Dynamic code: 'dyn_code
     687    if options.!debug == 1 then say time()'  Dynamic code: 'dyn_code
    688688    interpret dyn_code; drop dyn_code
    689689return
     
    38543854
    38553855    /* Attach the virtual drive - only if drive is not already attached */
     3856    NewlyAttached = 0
    38563857    if pos(vfs.!drive,MyFreeDriveMap("C:","FREE")) > 0 then do
    38573858        CALL _Dynamic "ok = "fs.!prefix"RxAttach('"vfs.!drive"')"
    3858 
     3859        NewlyAttached = 1 /* fixes AN Ticket 1654 */
    38593860        if options.!debug == 1 then say time()' '||'Attach "'vfs.!drive'" =' ok
    38603861    end
     
    39583959
    39593960        /* In case the mountpoint was created for this failed operation, it is (optionally) removed again */
     3961        say "CreateMP="createMP
     3962        say "advanced.!alwaysmp="advanced.!alwaysmp
    39603963        if CreateMP = 0 & advanced.!alwaysmp <> 1 then do
    39613964            CALL _Dynamic "ok = "fs.!prefix"RxDeleteMountPoint('"vfs.!mountpoint"')"
    39623965            if options.!debug == 1 then say time()' '||'Remove "'vfs.!mountpoint'" = 'ok
     3966            if NewlyAttached = 1 then do /* Also detach drive - fixes AN Ticket 1654 */
     3967                CALL _Dynamic "ok = "fs.!prefix"RxDetach('"vfs.!drive"')"
     3968                if options.!debug == 1 then say time()' '||'Also try to detach "'vfs.!drive'" ok = 'ok
     3969            end
    39633970        end
    39643971    end
     
    39703977    end
    39713978    drop CreateMP /* not required anymore */
     3979    drop NewlyAttached /* not required anymore */
    39723980
    39733981/*  Obsolete - the IOCtl will not be implemented this way in the plugin
     
    44664474    END
    44674475
    4468     options.!user     = userid
    4469     options.!password = password
     4476    options.!user      = userid
     4477    options.!password  = password
     4478/* fix for AN Ticket #1653 */
     4479    options.!spassword = c2x(options.!password)
    44704480
    44714481    vfs.!drive      = mdrive
     
    50545064SW_ADVANCED_Init:
    50555065    /* Title bar */
    5056     CALL NLVSetText "SW_ADVANCED",  "Caption", 40
     5066    CALL NLVSetText "SW_ADVANCED",      "Caption", 40
    50575067
    50585068    /* Options */
    5059     CALL NLVSetText "GB_ADVANCED",          "Caption", 43
     5069    CALL NLVSetText "GB_ADVANCED",      "Caption", 43
    50605070    CALL NLVSetText "CB_EAS",           "Caption", 44
    50615071    CALL NLVSetText "CB_READONLY",      "Caption", 45
     
    50835093*/
    50845094SW_ADVANCED_Init_Content:
    5085     IF advanced.!easupport     \= "" THEN ok = VRSet("CB_EAS",     "Set",   advanced.!easupport)
    5086     IF advanced.!readonly      \= "" THEN ok = VRSet("CB_READONLY","Set",   advanced.!readonly)
    5087     IF advanced.!alwaysmp      \= "" THEN ok = VRSet("CB_ALWAYSMP","Set",   advanced.!alwaysmp)
     5095    IF advanced.!easupport     \= "" THEN ok = VRSet("CB_EAS",              "Set",   advanced.!easupport)
     5096    IF advanced.!readonly      \= "" THEN ok = VRSet("CB_READONLY",         "Set",   advanced.!readonly)
     5097    IF advanced.!alwaysmp      \= "" THEN ok = VRSet("CB_ALWAYSMP",         "Set",   advanced.!alwaysmp)
    50885098    IF advanced.!cachetimeout  \= "" THEN ok = VRSet("SPIN_CACHETIMEOUT",   "Value", advanced.!cachetimeout)
    50895099    IF advanced.!cachelistings \= "" THEN ok = VRSet("SPIN_CACHELISTINGS",  "Value", advanced.!cachelistings)
     
    50925102    IF advanced.!encryption    \= "" THEN ok = VRSet("CB_ENCRYPTION",       "Set",   advanced.!encryption)
    50935103    /* Obsolete */
    5094     IF advanced.!memlen        \= "" THEN ok = VRSet("SPB_MEMLEN", "Value", advanced.!memlen)
     5104    IF advanced.!memlen        \= "" THEN ok = VRSet("SPB_MEMLEN",          "Value", advanced.!memlen)
    50955105return
    50965106
  • branches/guitools-arcamap-2.5/evfsgui/rc/lang/evfsi_en.mkm

    r1016 r1049  
    113113EVG0104I: SMB.PDR is not installed.
    114114EVG0105I: No SMB ports installed.
    115 EVG0106I: Port is installked an configured, but not used by any printer.
     115EVG0106I: Port is installed and configured, but not used by any printer.
    116116EVG0107I: Welcome %1!
    117117EVG0108?:
Note: See TracChangeset for help on using the changeset viewer.