Bonjour,
Je cherche désespérément comment déclarer les fonctions FtpFindFirstFile et InternetFindNextFile dans Excel 2010 X64.
Cette déclaration renvoie l'erreur "Type défini par l'utilisateur non défini"...
Merci à tous
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 Private Declare PtrSafe Function FtpFindFirstFile Lib "wininet.dll" Alias "FtpFindFirstFileA" ( _ ByVal hFtpSession As Long, _ ByVal lpszSearchFile As String, _ lpFindFileData As WIN32_FIND_DATA, _ ByVal dwFlags As Long, _ ByVal dwContent As Long) As Long Private Declare PtrSafe Function InternetFindNextFile Lib "wininet.dll" Alias "InternetFindNextFileA" ( _ ByVal hFind As Long, _ lpvFindData As WIN32_FIND_DATA) As Long
Partager