OFN_ALLOWMULTISELECT时,是否存在针对Windows API函数GetOpenFileName()的字符数限制的解决方法? [英] Is there a workaround for the character limit on the Windows API function GetOpenFileName() when OFN_ALLOWMULTISELECT?

查看:128
本文介绍了OFN_ALLOWMULTISELECT时,是否存在针对Windows API函数GetOpenFileName()的字符数限制的解决方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据MSDN文档,函数

According to the MSDN documentation, the function GetOpenFileName() has no character limit with option OFN_ALLOWMULTISELECT when compiled for Unicode with Windows 2000 and greater (see http://msdn.microsoft.com/en-us/library/ms646927%28VS.85%29.aspx). However, on Windows XP x64 SP2, I'm finding that the 32k ANSI limit is still in effect, despite the use of Unicode. I've seen other complaints of this problem on the web, including one user who commented on the MSDN documentation, but no solutions. Is there a simple work-around for this?

为了完整起见,我使用的是Visual Studio 2010,并使用C ++进行编码.

To be complete, I'm using Visual Studio 2010, and coding in C++.

推荐答案

Michael,如果您没有在这里回答,请尝试 Windows SDK 论坛,因为该问题更多地是关于Win32 API函数而不是Visual C ++.
Michael, if you don't get an answer here, try the Windows SDK forum, since this question is more about a Win32 API function rather than Visual C++.


这篇关于OFN_ALLOWMULTISELECT时,是否存在针对Windows API函数GetOpenFileName()的字符数限制的解决方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆