Opened 15 years ago
Closed 14 years ago
#1914 closed Feature Request (Rejected)
Error Codes for File operations
| Reported by: | GEOSoft | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Right now the returned value for a failure contains nothing of any meaningful value.
It would be nice if We could get an actual error returned using GetLastError()
Example
32 = "File In Use"
Attachments (0)
Change History (5)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
| Type: | Bug → Feature Request |
|---|
comment:4 by , 15 years ago
Here are some MSDN links that may help you with this.
http://msdn.microsoft.com/en-us/library/ms680582(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms679351(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/ms679360(v=vs.85).aspx
comment:5 by , 14 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Internal implementation of these functions may or may not use APIs you suspect. Also implementation may change depending on whatever reason.
What I'm saying is that last error of GetLastError is not certain to be generated.

I forgot to mention that I am explicitly refering to FileCopy() and FileMove() here.