Opened 15 years ago

Last modified 15 years ago

#825 closed defect

FILE_APPEND_DATA is not valid on Smartphone/Pocket PC2003 and Windows Mobile 5 (thanks Robert Cichielo for the suggestion) — at Initial Version

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-1.2
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

On Windows targets, when PJ_O_APPEND flag is specified, PJLIB will add FILE_APPEND_DATA value to dwDesiredAccess parameter to CreateFile(). This will cause CreateFile() to fail with "Invalid argument" error on PPC2003 and WM5. On the other hand, it seems to work fine with Windows Mobile 6. (Note: tested on emulators only).

Removing the FILE_APPEND_DATA does not cause the file to be truncated, so it seems that this flag is optional anyway (?).

Thanks Robert Cichielo for the suggestion.

Change History (0)

Note: See TracTickets for help on using tickets.