Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / How to use wxCopyFile( )?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. How to use wxCopyFile( )?
#3592
Posted by: jon 2004-03-26 03:35:51
I'm trying to do this

wxString d = wxFindFirstFile("/temporary/");

wxString r=wxGetCwd();

wxCopyFile(d,r,true);

error 3:the

Or


wxString d = wxFindFirstFile("/temporary/");

wxString r=wxGetCwd();

wxCopyFile(d,r,false);

but don't work,error
Message2. Re: How to use wxCopyFile( )?
#3597
Posted by: guidance 2004-03-26 09:04:14
I think you should add the wildcard *.* etc. Suggest that search "wxCopyFile" at wx/samples/ directory to find the sample code, I guess may exist at console sample.
Message3. Re: How to use wxCopyFile( )?
#3607
Posted by: jon 2004-03-26 16:51:54
Hello,wxCopyFile(file1,file2,false),she is ok. if file1 and file2 exist,bat i trying to copy fajl.exe in new folder wxMkdir("D:\\NewFoder");
Message4. Re: How to use wxCopyFile( )?
#3611
Posted by: guidance 2004-03-26 18:17:27
Oops, sorry, I mean add wildcards in FindFirst.
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥860.00 ·
 
 
¥900.00 ·
 
 
¥810.00 ·
 
 
¥317.00 ·
 
 
¥1,370.00 ·
 
 
¥660.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0