如何看一个com实现了那些接口? 好像用oleview看不出什么东西来。:) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 oleview基本上能看到所有你所关注的 能的啊,兄弟VC6.0中的OLE/COM Object viewer // Generated .IDL file (by the OLE/COM Object Viewer)// // typelib filename: ImageOle.dll[ uuid(710993A2-4F87-41D7-B6FE-F5A20368465F), version(1.0), helpstring("ImageOle 1.0 Type Library"), custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 83951780), custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1137568249)]library ImageOleLib{ // TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046} importlib("stdole2.tlb"); // Forward declare all types defined in this typelib interface IGifAnimator; [ uuid(06ADA938-0FB0-4BC0-B19B-0A38AB17F182), helpstring("GifAnimator Class") ] coclass GifAnimator { [default] interface IGifAnimator; }; [ odl, uuid(0C1CF2DF-05A3-4FEF-8CD4-F5CFC4355A16), helpstring("IGifAnimator Interface"), dual, nonextensible, oleautomation ] interface IGifAnimator : IDispatch { [id(0x00000001), helpstring("method LoadFromFile")] HRESULT LoadFromFile([in] BSTR FileName); [id(0x00000002), helpstring("method TriggerFrameChange")] HRESULT TriggerFrameChange([out, retval] VARIANT_BOOL* pbChanged); [id(0x00000003), helpstring("method GetFilePath")] HRESULT GetFilePath([out, retval] BSTR* pFilePath); [id(0x00000004), helpstring("method ShowText")] HRESULT ShowText([in] BSTR Text); };}; 我最近也在为这个烦恼。谁能把VC6.0中的OLE/COM Object viewer看到的信息如楼上gzlyb(冰风)所写的加上一些重要的注释啊 如果是一个ActiveX DLL,则只要#import<DLL>,编译一下你的工程(debug or release),然后在工程的(debug or release)目录下就会找到对应的DLL的生成的三个文件.可以打开看.上面就很清楚的写出了这个DLL所有的接口. 关于CreateDIBSection第四个参数的问题? 这种链接错误怎么回事? 关于activx控件属性数组的问题请大家帮忙 IHTMLDocument2Ptr->Write碰到的问题,实在不知道该如何解决? 如何让自己的应用程序在启动后自动在后台运行? 安装VC++在最后的更新环境变量时提示为不能增加DCOM user account?请高手帮忙. 求切分窗口的小例子 一个小问题 this指针如何传递? VC调用com组件程序退出异常 [讨论]编写一天24小时、一年365天运行的程序,有什么需要注意的? 请问关于分割窗口的隐藏/显示问题??
VC6.0中的OLE/COM Object viewer
//
// typelib filename: ImageOle.dll[
uuid(710993A2-4F87-41D7-B6FE-F5A20368465F),
version(1.0),
helpstring("ImageOle 1.0 Type Library"),
custom(DE77BA64-517C-11D1-A2DA-0000F8773CE9, 83951780),
custom(DE77BA63-517C-11D1-A2DA-0000F8773CE9, 1137568249)]
library ImageOleLib
{
// TLib : // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
importlib("stdole2.tlb"); // Forward declare all types defined in this typelib
interface IGifAnimator; [
uuid(06ADA938-0FB0-4BC0-B19B-0A38AB17F182),
helpstring("GifAnimator Class")
]
coclass GifAnimator {
[default] interface IGifAnimator;
}; [
odl,
uuid(0C1CF2DF-05A3-4FEF-8CD4-F5CFC4355A16),
helpstring("IGifAnimator Interface"),
dual,
nonextensible,
oleautomation
]
interface IGifAnimator : IDispatch {
[id(0x00000001), helpstring("method LoadFromFile")]
HRESULT LoadFromFile([in] BSTR FileName);
[id(0x00000002), helpstring("method TriggerFrameChange")]
HRESULT TriggerFrameChange([out, retval] VARIANT_BOOL* pbChanged);
[id(0x00000003), helpstring("method GetFilePath")]
HRESULT GetFilePath([out, retval] BSTR* pFilePath);
[id(0x00000004), helpstring("method ShowText")]
HRESULT ShowText([in] BSTR Text);
};
};
谁能把VC6.0中的OLE/COM Object viewer看到的信息
如楼上gzlyb(冰风)所写的
加上一些重要的注释啊