Opened 14 years ago
Closed 13 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 Changed 14 years ago by GEOSoft
comment:2 Changed 14 years ago by Jon
- Type changed from Bug to Feature Request
comment:4 Changed 13 years ago by GEOSoft
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 Changed 13 years ago by trancexx
- Resolution set to Rejected
- Status changed from new to 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.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
I forgot to mention that I am explicitly refering to FileCopy() and FileMove() here.