none
Nom 8.3 ne fonctionne plus :( RRS feed

  • Discussion générale

  • Bonjour,

    mon script ne veut plus fonctionner depuis Windows 10 je crois :

        Private Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal lBuffer As Int32) As Int32
    
        Public Function GetShortPath(ByVal strPath As String) As String
            Dim lngRes As Int32, strBuffer As String
            strBuffer = Strings.Space(255)
            lngRes = GetShortPathName(strPath, strBuffer, 254)
            GetShortPath = Strings.Left(strBuffer, lngRes)
        End Function
    
    Merci si vous avez une solution. On a encore besoin de ça même si c'est du 16 bits.

    dimanche 16 février 2020 04:04

Toutes les réponses