Share

wxWidgets

Tracker: Bugs

5 wxCopyFile failing on open executable - ID: 1614486
Last Update: Comment added ( christi-s )

Tested on 2.7.0-1. No other results to so reason to assume fixed.

I am trying to use wxCopyFile to copy the binary executable I am running to
other location. I'm only cresting a copy, not trying to delete the
original. wxCopyFile returns an error 5 (access denied). Since I can copy
the application file using the shell while the app is running, I can only
assume that wxCopyFile is requesting more permissions than it needs in
order to perform the copy.

This may have implications in other situations.


Christi Scarborough ( christi-s ) - 2006-12-13 04:17

5

Closed

Invalid

Nobody/Anonymous

wxMSW specific

Platform specific

Public


Comment ( 1 )

Date: 2006-12-13 21:18
Sender: christi-s


Never mind. I was getting access denied messages because I was passing
wxWidgets a destination directory, not a destination file name. I'm
inclined to believe this ought to work, or at the very least be more
clearly documented, but it's not really a bug per se, and certainly not the
bug I thought it was.


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2006-12-13 21:18 christi-s
resolution_id None 2006-12-13 21:18 christi-s
close_date - 2006-12-13 21:18 christi-s