je compresse un fichier, puis je le crypte et puis je le decrypte ca marche ..
mais apres quand je le decompresse il me genere une exception :
ca veux dire kil reste ouvert apres le decryptage, pourtant j'ai verifié je ferme tous les streams
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 An unhandled exception of type 'System.IO.IOException' occurred in mscorlib.dll Additional information: The process cannot access the file 'C:\Dokumente und Einstellungen\ERAMAHY\Desktop\onefile_dec.mzip' because it is being used by another process.
donc je sais pas d'ou vient ce problem ?!
est ce qu'il y a moyen de libérer un fichier , une méthode (File::...) ?
merci
Partager