就是下面的第5个参数……
HRESULT URLDownloadToFile(
LPUNKNOWN pCaller, // Caller's controlling IUnknown
LPCWSTR szURL, // Pointer to URL to be downloaded
LPCTSTR szFileName, // Pointer to file name
DWORD dwResv, // Reserved for future use
LPBINDSTATUSCALLBACK lpfnCB
// Caller's IBindStatusCallback
);
Parameters
pCaller
[in] Pointer to the caller's controlling IUnknown. If the caller is not an ActiveX component, this value may be set to NULL.
szURL
[out] Pointer to the URL to be downloaded. Cannot be NULL.
szFileName
[out] Pointer to the name of the file returned by this function. The user should pass a buffer to be filled and, preferably, use MAX_PATH to allocate the maximum path size.
dwResv
[in] Reserved for future use; must be zero.
lpfnCB
[in] Pointer to the caller's IBindStatusCallback interface. Can be NULL. VB基本区同时提问,http://community.csdn.net/Expert/TopicView.asp?id=3498747 有200分,这里我最大只能放100分同时相关提问 http://community.csdn.net/Expert/TopicView.asp?id=3492942 有200分,在VB网络区,标题是求URLOpenStream,URLOpenPullStream,URLOpenBlockingStream的用法。欢迎帮忙解答
HRESULT URLDownloadToFile(
LPUNKNOWN pCaller, // Caller's controlling IUnknown
LPCWSTR szURL, // Pointer to URL to be downloaded
LPCTSTR szFileName, // Pointer to file name
DWORD dwResv, // Reserved for future use
LPBINDSTATUSCALLBACK lpfnCB
// Caller's IBindStatusCallback
);
Parameters
pCaller
[in] Pointer to the caller's controlling IUnknown. If the caller is not an ActiveX component, this value may be set to NULL.
szURL
[out] Pointer to the URL to be downloaded. Cannot be NULL.
szFileName
[out] Pointer to the name of the file returned by this function. The user should pass a buffer to be filled and, preferably, use MAX_PATH to allocate the maximum path size.
dwResv
[in] Reserved for future use; must be zero.
lpfnCB
[in] Pointer to the caller's IBindStatusCallback interface. Can be NULL. VB基本区同时提问,http://community.csdn.net/Expert/TopicView.asp?id=3498747 有200分,这里我最大只能放100分同时相关提问 http://community.csdn.net/Expert/TopicView.asp?id=3492942 有200分,在VB网络区,标题是求URLOpenStream,URLOpenPullStream,URLOpenBlockingStream的用法。欢迎帮忙解答
解决方案 »
- [急]問題:WSAEventSelect中出現的問題。
- ^^^^^^^^^^^^^^^^^价值120亿美金的京沪铁路将由法国人修建^^^^^^不是日本
- ATL还有多少人在用?ATL是否已经伴着COM的死亡而死了呢?
- 如何获得bios的密码
- 一个很弱的界面问题?
- 急呀..VC中picture控件问题...
- 对话框中WebBrowser怎么加入MouseMove事件?
- 有个问题?请各位解答!
- 青鸟CASE这个东东怎么样?能不能用的?
- 我现在新电脑是win10,请问安装哪个版本的VS?谢谢
- 如何遍历一文件夹下所有文件?(要求支持UNICODE,详细见内)
- 如何在CListBox中设置样式使之不会显示所选择的蓝色条条和它周围的虚线框
然后在模块里面用最后一个参数用Address of
试试看
VB用了好久了