当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: //--连接IE浏览器窗口的代码 // connIE.cpp
 

 

    摘要:对于一个windows网络编程初学者,下面方法是经典入门。   初学者建议不要用mfc提供的类,而用windows api做一个简单服务器和客户端,这样有助于对socket编程机制的理解。      为了简单起见,应用程序是基于mfc的标准对话框。      winsock用windows api实现:      (1)服务器端有两个线程:   主线程 — 你需要编写以下函数来实现   ......
    摘要: 理解和使用nt驱动程序的执行上下文(一) 翻译:李华谊 horily@163.com 理解windows nt驱动程序最重要的概念之一就是驱动程序运行时所处的“执行上下文”。理解并小心地应用这个概念可以帮助你构建更快、更高效的驱动程序。 nt标准内核模式驱动程序编程中的一个重要观念是某个特定的驱动程序函数执行时所处的“上下文”。传统上文件系统开发者最关注这个问题,但所有类型的n......


连接IE浏览器窗口的代码

//--连接ie浏览器窗口的代码

// 【程序编程相关:Loki库读解-扩展TypeList:T

// connie.cpp : defines the entry point for the console application. 【推荐阅读:在VC++中播放WAV文件

#pragma warning(disable : 4049) 【扩展信息:使用MFC编写FTP程序

#include "stdafx.h"

#pragma warning(disable : 4146)

//#import "shdocvw.dll" exclude("tagreadystate")

#import "shdocvw.dll"

//#import "shdocvw.dll" rename_namespace("shell_window")

//using namespace shell_window;

#define shell_window shdocvw

#import <mshtml.tlb> // internet explorer 5

//#import "mshtml.dll"

#include <iostream>

using namespace std;

int main(int argc, char* argv[])

{

 cout << "---test---" << endl;

 

 //--com

 coinitialize(null);

 

 do {

  cout << "---list all ie window---" << endl;


...   下一页
    摘要:原作者:ivan s zapreev      译者:陆其明      概要      本文将要介绍dll的向后兼容性问题,也就是著名的“dll hell”问题。首先我会列出自己的研究结果,其中包括其它一些研究者的成果。在本文的最后,我还将给出“dll hell”问题的一个解决方案。      介绍      我曾经接受过一个任务,去解决一个dll版本更新的问题————某个公司给用户提供了一套sd......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE