Comment changer la lecture seul d'un repertoire ?

Résolu
panik6666666 Messages postés 2 Date d'inscription lundi 22 décembre 2003 Statut Membre Dernière intervention 29 octobre 2005 - 29 oct. 2005 à 09:24
panik6666666 Messages postés 2 Date d'inscription lundi 22 décembre 2003 Statut Membre Dernière intervention 29 octobre 2005 - 29 oct. 2005 à 10:27
Bonjour a tous,

J'ai une question bete: comment changer la lecture seul d'un repertoire ?
j'ai essayé avec avec ca :
HANDLE hFile = CreateFile(nom_repertoire, 0, 0, NULL, OPEN_EXISTING , FILE_ATTRIBUTE_NORMAL | FILE_FLAG_BACKUP_SEMANTICS, NULL);
mais cela ne change rien ....

Quelq'un a une solution ?
merci

2 réponses

cs_AlexMAN Messages postés 1536 Date d'inscription samedi 21 décembre 2002 Statut Membre Dernière intervention 24 mai 2009 1
29 oct. 2005 à 10:02
SetFileAttributes()

+2(p - n)
3
panik6666666 Messages postés 2 Date d'inscription lundi 22 décembre 2003 Statut Membre Dernière intervention 29 octobre 2005
29 oct. 2005 à 10:27
Ca marche,
merci du coup main,
a+
0
Rejoignez-nous