亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? shdocvw.shtml

?? mfc資源大全包含MFC編程各個方面的源碼
?? SHTML
字號:
<HTML>
<HEAD>
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="Author" CONTENT="Zafir Anjum">
   <TITLE>SHDOCVW.DLL a fun surprise .. from Microsoft</TITLE>
</HEAD>
<body background="../fancyhome/back.gif" bgcolor="#FFFFFF" link="#B50029" vlink="#8E2323" alink="#FF0000" bgproperties="fixed">
<table WIDTH="100%">
<tr WIDTH="100%">
<td align=center><!--#exec cgi="/cgi/ads.cgi"--><td>
</tr>
</table>

<CENTER>
<H3>
<FONT COLOR="#AOAO99">SHDOCVW.DLL The pleasent Surprise Gift from Microsoft</FONT></H3></CENTER>

<CENTER>
<H3>

<HR></H3></CENTER>
This code was contributed by <A HREF="mailto:Girish_Bharadwaj@Pictel.com">Girish Bharadwaj</A>.

<P>If you are someone who likes surprises, I am your friend. I got a pleasent
surprise when I was looking thru the Microsoft Internet control (WebBrowser)
as most people know it.. I opened the shdocvw.dll which comes along with
the <U>Internet explorer 4.0 </U>and surprise, surprise, I found that It
contains&nbsp; Interfaces for the Shell, Shell Link and other stuff which
the shell normally handles and which are painful to implement in C or C++..
See the implementation for the CDirDialog for a sample. This is not present
in IE 3.x ..

<P>Now, In order to use these Interfaces, You need to some work.:-( well,
But this is mucho simpler than the ones we have seen till now.

<P>What I am showing below is just a tip of an Iceberg, You have got a
lot of stuff there. Check out the .H and .CPP files generated and the .ODL
file which I am pasting here. You can do a lot of stuff with this..
<P>Pay close attention to the description strings along with the funtions
. They usually provide a neat pointer as to what the function is supposed
to do..

<P>You can generate the .ODL&nbsp; file by Opening the shdocvw.dll (you
can find it in windows\system directory) in the OLEVIEW.EXE which comes
along with VC++ 5.0. I think its also downloadable from <A HREF="http://www.microsoft.com">Microsoft</A>
site.

<P>After generating the .ODL file, Create a new MFC&nbsp; project in VC++
to your taste. .. Then, Add class from .tlb and select shdocvw.dll.. Select
all the interfaces listed in the list box shown and ask it to create the
wrapper class.
<P>It will be created as shdocvw.h and shdocvw.cpp. These are also there
in the ZIP file attached..
<P>Since, these interfaces are undocumented, I must caution you about
the fact that this might change.. But, then It might not..
<P>Anyway, Add the following lines to your .CPP file where you want to
call the interface functions..

<P><TT><FONT COLOR="#CC0000">#include "initguid.h"</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">//13709620-C279-11CE-A49E-444553540000</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">DEFINE_GUID(CLSID_Shell,0x13709620,0xc279,0x11ce,0xa4,0x9e,0x44,0x45,0x53,0x54,0x00,0x00);</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">//9BA05971-F6A8-11CF-A442-00A0C90A8F39</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">DEFINE_GUID(CLSID_ShellFolderViewOC ,0x9BA05971,0xF6A8,0x11CF,0xa4,0x43,0x00,0xa0,0xc9,0x0a,0x8f,0x39);</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">//9BA05972-F6A8-11CF-A442-00A0C90A8F39</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">DEFINE_GUID(CLSID_ShellWindows,0x9BA05972,0xF6A8,0x11CF,0xa4,0x43,0x00,0xa0,0xc9,0x0a,0x8f,0x39);</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">//11219420-1768-11D1-95BE-00609797EA4F</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">DEFINE_GUID(CLSID_ShellLinkObject,0x11219420,0x1768,0x11D1,0x95,0xbe,0x00,0x60,0x97,0x97,0xea,0x4f);</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">//62112AA1-EBE4-11CF-A5FB-0020AFE7292D</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">DEFINE_GUID(CLSID_ShellFolderView,0x62112AA1,0xEBE4,0x11CF,0xA5,0xfb,0x00,0x20,0xaf,0xe7,0x29,0x2d);</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">//64AB4BB7-111E-11D1-8F79-00C04FC2FBE1</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">DEFINE_GUID(CLSID_ShellUIHelper,0x64AB4BB7,0x111E,0x11D1,0x8f,0x79,0x00,0xc0,0x4f,0xc2,0xfb,0xe1);</FONT></TT>

<P>Of course, before calling any functions, Make sure that the SHDOCVW.DLL
is of the correct version..4.71.1712.5.
<P>You can use the <A HREF="http://www.codeguru.com/dll/dll_version.shtml">technique
Eran Yariv has pointed out</A>. You might want to do that in the beginning
of your program so that you dont have to do that again until the execution
is over.

<P>Now, after this,, Its left to you to do what you want to do..
<P>Following is a trivial example of invoking "Start-Run" dialog from
your program.
<BR>&nbsp;

<P><TT><FONT COLOR="#CC0000">{</FONT></TT>
<UL><TT><FONT COLOR="#CC0000">IShellDispatch disp; //Create a IShellDispatch
variable</FONT></TT>

<P><TT><FONT COLOR="#CC0000">&nbsp;WCHAR szValue[80] ;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;CLSID clsid;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;HRESULT sc;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;&nbsp;&nbsp; sc = ::CoCreateInstance(
CLSID_Shell, NULL, CLSCTX_SERVER, IID_IDispatch, (void**)&amp;disp ) ;
//&lt;== Create an instance of the shell</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;if (FAILED (sc))</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;{</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CString str;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp; str.Format(_T("Failed to create Instance
:-( "));</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
TRACE( str) ;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp; return;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;}</FONT></TT>

<P><TT><FONT COLOR="#CC0000">&nbsp;disp.FileRun(); //&lt;== Call FileRun</FONT></TT></UL>
<TT><FONT COLOR="#CC0000">}</FONT></TT>
<BR>&nbsp;

<P>Another example for IShellDispatch ,,
<P>The following example is to BrowseForFolder and get the Folder interface
pointer.

<P><TT><FONT COLOR="#CC0000">{</FONT></TT>
<UL><TT><FONT COLOR="#CC0000">IShellDispatch disp;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;IDispatch * iDisp;</FONT></TT>

<P><TT><FONT COLOR="#CC0000">&nbsp;WCHAR szValue[80] ;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;CLSID clsid;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;HRESULT sc;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;&nbsp;&nbsp; sc = ::CoCreateInstance(
CLSID_Shell, NULL, CLSCTX_SERVER, IID_IDispatch, (void**)&amp;disp ) ;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;if (FAILED (sc))</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;{</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
CString str;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp; str.Format(_T("Failed to create Instance
:-( "));</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
TRACE( str) ;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp; return;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;}</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;VARIANT var;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;ZeroMemory (&amp;var, sizeof (VARIANT));</FONT></TT>

<P><TT><FONT COLOR="#CC0000">&nbsp; iDisp = disp.BrowseForFolder(NULL,"Whatever",BIF_RETURNFSANCESTORS|BIF_RETURNONLYFSDIRS,var);&nbsp;</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;Folder ifolder(iDisp);</FONT></TT>
<BR><TT><FONT COLOR="#CC0000">&nbsp;CString str = ifolder.GetTitle ();</FONT></TT></UL>
<TT><FONT COLOR="#CC0000">}</FONT></TT>

<P>Of course, There is lot to be researched .. I will be doing it and put
up an update as I get time.. Hope this will be good for the times to come..

<P><A HREF="shelldocvw.zip">Download File</A> (31KB)
<P>
<HR>
<TABLE BORDER=0 WIDTH="100%" >
<TR>
<TD WIDTH="33%"><FONT SIZE=-1><A HREF="http://www.codeguru.com">Goto HomePage</A></FONT></TD>

<TD WIDTH="33%">
<CENTER><FONT SIZE=-2>&copy; 1998 Zafir Anjum</FONT>&nbsp;</CENTER>
</TD>

<TD WIDTH="34%">
<DIV ALIGN=right><FONT SIZE=-1>Contact me: <A HREF="mailto:zafir@home.com">zafir@home.com</A>&nbsp;</FONT></DIV>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲裸体在线观看| 精品粉嫩超白一线天av| 国产高清无密码一区二区三区| 一区二区三区中文免费| 亚洲欧洲另类国产综合| 亚洲视频一区二区在线观看| 中文字幕高清不卡| 一区二区三区日韩在线观看| 亚洲色图第一区| 一区二区三区免费观看| 亚洲人成人一区二区在线观看| 亚洲人成影院在线观看| 亚洲小说欧美激情另类| 奇米色一区二区| 国产成人免费视频精品含羞草妖精| 国产成人亚洲综合a∨婷婷图片| 国产精品一区专区| 欧美日韩久久久一区| 欧美一区二区精美| 欧美变态tickling挠脚心| 国产丝袜在线精品| 午夜欧美大尺度福利影院在线看| 日本亚洲欧美天堂免费| 99久久99久久精品国产片果冻 | 欧美绝品在线观看成人午夜影视| 欧美精品色综合| 亚洲欧美综合另类在线卡通| 激情文学综合丁香| 一区二区三区在线视频观看58| 亚洲男人天堂一区| 99精品国产91久久久久久| 精品乱码亚洲一区二区不卡| 亚洲第一精品在线| 色欲综合视频天天天| 国产精品久久久爽爽爽麻豆色哟哟| 男男成人高潮片免费网站| 欧美日韩精品欧美日韩精品一| 亚洲裸体xxx| 欧美性淫爽ww久久久久无| 亚洲精品免费电影| 欧美色图片你懂的| 午夜精品久久久久久不卡8050| 欧美视频在线一区| 亚洲国产日韩a在线播放| 欧美日韩一区久久| 五月综合激情婷婷六月色窝| 8x福利精品第一导航| 久久99精品久久只有精品| 精品少妇一区二区三区在线播放| av福利精品导航| 欧美午夜宅男影院| 一区二区三区av电影| 韩国女主播一区| 在线观看亚洲精品| 欧美一级久久久| 国产精品美日韩| 国产呦萝稀缺另类资源| 欧美人狂配大交3d怪物一区| 日本麻豆一区二区三区视频| 久久麻豆一区二区| aa级大片欧美| 亚洲一线二线三线视频| 3751色影院一区二区三区| 黄色小说综合网站| 国产精品美女久久久久久2018| 91网址在线看| 久久99精品国产| 一区二区成人在线视频| 久久综合色综合88| 色美美综合视频| 国内成+人亚洲+欧美+综合在线| 亚洲免费高清视频在线| 久久久三级国产网站| 欧美一区二区国产| 91成人在线观看喷潮| 波波电影院一区二区三区| 韩国一区二区在线观看| 亚洲无人区一区| 国产精品无码永久免费888| 日韩一本二本av| 欧美日韩在线观看一区二区 | 久久精品国产精品青草| 亚洲一本大道在线| 一区二区在线电影| 中文字幕综合网| 国产午夜三级一区二区三| 欧美日韩另类一区| 欧美日韩夫妻久久| 欧美日本一区二区三区| 欧美无砖专区一中文字| 在线欧美一区二区| 欧美日韩三级一区二区| 色94色欧美sute亚洲线路一久| 国产电影精品久久禁18| 国产专区综合网| 国产suv精品一区二区6| 91蝌蚪国产九色| 欧美中文字幕久久| 6080午夜不卡| 中文字幕av一区二区三区免费看| 1024成人网| 一区二区三区高清在线| 日韩精品亚洲一区| 狠狠色狠狠色综合| 国产精品综合网| 色婷婷久久综合| 日韩一区二区三区四区| 国产人妖乱国产精品人妖| 最新中文字幕一区二区三区| 亚洲午夜视频在线观看| 国产一区三区三区| 在线播放欧美女士性生活| 国产精品久久一级| 午夜电影一区二区三区| 国产精品夜夜爽| 欧美日韩久久不卡| 一区二区三区不卡在线观看 | 成人av网站免费| 欧美性受xxxx| 中文字幕在线视频一区| 麻豆精品久久久| 欧美精品日韩综合在线| 亚洲国产精品一区二区久久| 国产成人精品aa毛片| 日韩一区二区三区三四区视频在线观看| 精品久久久久久久久久久久久久久久久 | 精品伊人久久久久7777人| 欧美日韩你懂得| 一区二区三区在线播| 99精品欧美一区二区三区小说 | 日韩一区有码在线| www.色综合.com| 亚洲精品视频在线观看免费| 波多野结衣中文字幕一区二区三区 | 91社区在线播放| 午夜久久久影院| 日韩欧美在线不卡| 国产精品影视网| 中文字幕一区二区三| 色诱视频网站一区| 亚洲日本va午夜在线影院| 97精品久久久久中文字幕| 亚洲人成精品久久久久| 欧美日韩国产123区| 蜜桃一区二区三区在线| 精品国内片67194| 懂色av一区二区夜夜嗨| 亚洲靠逼com| 26uuu亚洲综合色| 成人在线视频一区| 午夜久久电影网| 国产精品免费视频网站| 色老综合老女人久久久| 日韩1区2区日韩1区2区| 国产精品国产自产拍在线| 欧美视频一区在线观看| 国产一区免费电影| 玉足女爽爽91| 久久久久久久久99精品| 欧美亚洲综合久久| 97se狠狠狠综合亚洲狠狠| 狠狠色丁香久久婷婷综合丁香| 一区二区三区四区中文字幕| 91精品国产色综合久久| 97se亚洲国产综合自在线观| 奇米777欧美一区二区| 中文字幕中文字幕一区| 精品sm捆绑视频| 91精品福利在线一区二区三区| 色香蕉久久蜜桃| 91视频xxxx| 色94色欧美sute亚洲线路二| 91亚洲精品一区二区乱码| 岛国精品在线观看| 国产精品自拍av| 国产成人精品影院| 国产精品一区免费在线观看| 天堂va蜜桃一区二区三区| 亚洲日本一区二区三区| 中文字幕成人av| 国产精品网站在线播放| 国产精品短视频| 一区二区三区91| 久久精品国产精品亚洲红杏| 六月丁香婷婷久久| 国产一区二区三区黄视频| 国产麻豆精品视频| 岛国精品在线观看| 欧美va亚洲va国产综合| 欧美高清hd18日本| 精品黑人一区二区三区久久 | 夜夜嗨av一区二区三区四季av| 日本一区二区三区四区| 国产视频在线观看一区二区三区 | 亚洲精品免费一二三区| 亚洲尤物在线视频观看| 天天影视色香欲综合网老头| 精品写真视频在线观看| 豆国产96在线|亚洲| 7777精品伊人久久久大香线蕉经典版下载|