Hi, Attached patch adds new fields (since _WIN32_WINNT >= 0x0500) to the OPENFILENAME struct. Vincent -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: openfile.patch URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20061208/465183ad/attachment.ksh>