View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000009 | JEDI Code Library | JclShell | public | 2002-03-03 05:14 | 2002-05-20 12:18 |
Reporter | mthoma | Assigned To | Aleksey Kudinov | ||
Priority | normal | Severity | trivial | Reproducibility | have not tried |
Status | closed | Resolution | no change required | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000009: Small problem with widepath in pathtopidl and others | ||||
Description | This is no bug but maybe you would like to take a look at it var ... WidePath: array [0..MAX_PATH] of WideChar; begin ... MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, PChar(Path), -1, WidePath, MAX_PATH); ... --> length of array is max_path+1 but in MultiByteToWideChar you specify it as max_path ===================================================== as I said before this is no bug but maybe for completeness somebody could change the array definition to WidePath: array [0..MAX_PATH-1] of WideChar for a future release (if not already done) | ||||
Additional Information | Reported by Name : Hans-Jürgen Stockinger E-mail : hj.stockinger@stockinger.cc via email. | ||||
Tags | No tags attached. | ||||
Fixed in GIT commit | |||||
Fixed in SVN revision | |||||
IDE version | |||||