首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VB >

有没有VB可引用的有IDownloadManager接口的部类库文件

2012-12-29 
有没有VB可引用的有IDownloadManager接口的类型库文件?谁能提供一个下载地址,多谢[解决办法]看看这个:http

有没有VB可引用的有IDownloadManager接口的类型库文件?
谁能提供一个下载地址,多谢
[解决办法]
看看这个:
http://www.mvps.org/emorcillo/download/vb6/tl_ole.zip
[解决办法]
自己编译一下吧


interface IDownloadManager;
[
    odl,
    uuid(988934A4-064B-11D3-BB80-00104B35E7F9), // IID_IDownloadManager
]
interface IDownloadManager : IUnknown
{
    HRESULT Download(
        [in] IMoniker *pmk,         // Identifies the object to be downloaded
        [in] IBindCtx *pbc,         // Stores information used by the moniker to bind 
        [in] LONG dwBindVerb,      // The action to be performed during the bind
        [in] LONG grfBINDF,         // Determines the use of URL encoding during the bind
        [in] BINDINFO *pBindInfo,   // Used to implement IBindStatusCallback::GetBindInfo        
        //[in] LPCOLESTR pszHeaders,  // Additional headers to use with IHttpNegotiate
        [in] long pszHeaders,
        //[in] LPCOLESTR *pszRedir,    // The URL that the moniker is redirected to
        [in] long pszRedir,
        [in] LONG uiCP              // The code page of the object's display name
    );
};




存为一个inc文件,然后在 olelib.odl 中添加 #include "downloadmgr.inc" 
重新编译一次 olelib.odl  就可以了

热点排行