cbjp85
Messages postés34Date d'inscriptionvendredi 22 novembre 2002StatutMembreDernière intervention 6 avril 2003
-
7 mars 2003 à 17:50
cs_DARKSIDIOUS
Messages postés15814Date d'inscriptionjeudi 8 août 2002StatutMembreDernière intervention 4 mars 2013
-
7 mars 2003 à 18:06
J'ai un probleme avec l'api GetShortPathName que je déclare comme suit :
Private Declare Function GetShortPathName Lib "kernel32" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long
cs_DARKSIDIOUS
Messages postés15814Date d'inscriptionjeudi 8 août 2002StatutMembreDernière intervention 4 mars 2013130 7 mars 2003 à 18:06
Essaye plutôt cette déclaration :
Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long
Tu as oublié l'alias !
DARK SIDIOUS
[Responsable de la rubrique API du site www.ProgOtoP.net]