[Vala] file.copy problem
- From: Joss 4 <gpnet abraerp it>
- To: vala-list gnome org
- Subject: [Vala] file.copy problem
- Date: Mon, 01 Jun 2009 10:12:29 +0200
oops, sorry , I forgot part of the error line...
Hi,
I have got this problem on file.copy function using valide 4.0 on windows.
this is the code :
. . . .
test.copy (destBkup, FileCopyFlags.OVERWRITE, null, null); // create
backup
. . . .
When I launch the program I got this warning :
Progetti_VALA/PetBeGone/main.vala.c: line 622: uncaught error: Error
opening file. 'F:/Progetti_VALA\packages\TESTLIST_BAK': File exists
this error stop the execution. I mean the lines below the test.copy are
not executed.
I think this shouldn't be because I set FileCopyFlags.OVERWRITE. Am I
wrong ?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]