- 博客(24)
- 资源 (7)
- 收藏
- 关注
原创 使用python和selenium实现的taobao网站爬虫
https://item.taobao.com/item.htm?spm=a230r.1.14.1.49cd43aaA9XJZ1&id=590605619143&ns=1&abbucket=16#detailtaobao.py中修改xxxx为你的账户名称。启动后扫描qrcode后开始下载网站店铺宝贝,存储到sqlite3 db。market1.cfg是配置...
2019-04-11 14:33:16
502
原创 java 匿名内部类
第一次看java的代码,对下面的写法不习惯,想找一下理论依据。 public void onClick(View v){ new Thread(newRunnable(){ public void run(){
2011-08-31 19:28:11
508
原创 7.3 The ACE_Acceptor Class
7.3 The ACE_Acceptor ClassMotivationMany connection-oriented server applications tightly couple their connection establishment and service initialization code in ways that make it hard to reuse existi
2005-06-12 19:48:00
5942
原创 6.2 The ACE_Message_Queue Class
Ru-Brd 6.2 The ACE_Message_Queue ClassMotivationAs discussed in Section 2.1.4 on page 27, networked applications whose services are layered/modular are often composed of a set of collaborating tasks
2005-06-12 19:44:00
3965
原创 7.2 The ACE_Svc_Handler Class
Ru-Brd 7.2 The ACE_Svc_Handler ClassMotivationChapter 2 defined a service as a set of functionality offered to a client by a server. A service handler is the portion of a networked application that e
2005-06-12 19:42:00
3399
原创 The ACE_Task_Class
Ru-Brd 6.3 The ACE_Task_ClassMotivationThe ACE_Message_Queue class described in Section 6.2 can be used toDecouple the flow of information from its processingLink thre
2004-12-11 17:14:00
2866
原创 使用ACE Reactor框架编程
使用ACE Reactor框架编程高歌代码下载按照我的理解,我大致讲一下windows平台下的原理。在windows平台下ACE_Reactor的实现类是ACE_WMFO_Reactor,事件的多路分离是通过WaitForMultiObject和WSAEventSelect着两个函数来实现的。WaitForMultiObject的功能是等待一组(64)handle中的一个或者所有被操作系统
2004-12-11 17:12:00
3050
原创 The ACE_Service_Config Class
Ru-Brd 5.4 The ACE_Service_Config ClassMotivationBefore a service can execute, it must be configured into an applications address space. One way to configure services into a ne
2004-11-18 15:15:00
3011
原创 Exception Handling and Crash Reporting - Part 1
Exception Handling and Crash Reporting - Part 1 Introduction One of the biggest challenges for a developer is to debug a program that has been put into production or shipped to a customer. On the de
2004-07-19 19:56:00
1954
原创 优快云 Browser
优快云下载,浏览,搜索工具。 主要用于快速下载,搜索,收藏优快云资料。很久以前写的(没空去改他),附上源码和安装文件,因为csdn论坛有时候很忙而且不能搜索太多的历史数据。
2004-07-18 18:59:00
1544
1
原创 汇编语言学习(调试一个缓存溢出的程序)
汇编语言学习(调试一个缓存溢出的程序) 最近在学习调试,download了winbg使用起来一头雾水,不得不开始学习汇编。下面是我的学习过程。 从微软那里download了windbg,好像是一个不错的工具(我还没深入,掌握了几个命令),有download了Symbol。 先花了一上午,把汇编出略看了一下,知道了什么是通用寄存器,什么时段寄存器,什么是lea,什么是stos等等。 接下来,从开
2004-07-18 18:11:00
2716
1
原创 find crash
http://www.smiling.com.cn/group/photo/photoshow.ecgi?photo_id=922838&group_id=45709 http://www.smiling.com.cn/group/photo/photoshow.ecgi?photo_id=922839&group_id=45709 http://www.smiling.com.cn/group/
2004-07-17 08:57:00
1069
原创 Release mode debugging with VC++
The debug configuration of VC++ projects is the configuration that most debugging and development is done on. This is entirely appropriate because the debug information, lack of optimizations, and the
2004-07-15 00:22:00
1469
原创 Step By Step 可连接对象与接受器实现
一、创建源对象1、新建atl项目 2、选择exe,确定 3、在WorkSpace中右键点项目,在弹出菜单中选择NEW ATL OBJECT 4、Category选ojbect,Objec
2003-11-12 17:33:00
1751
3
原创 WTL的消息机制
WTL的消息机制高歌 一、SDI流程Run全局线程 1、 Module.AddMessageLoop(&theLoop), 保存CMessageLoop与一个线程id的对应,Module是全局变量。 2、 wndMain的构造,初始化变量 3、 wndMain的CreateEx wndMain的Create
2003-07-12 22:23:00
1304
原创 像qq一样变换图标
像qq一样变换图标在写代码之前,我先介绍一个函数。以下摘至msdn2002Shell_NotifyIcon 函数--------------------------------------------------------------------------------发送一个消息到任务兰的状态区语法BOOL Shell_NotifyIcon( DWORD dwMessage,PNOTIFY
2003-04-03 08:58:00
2260
原创 消息与消息队列
About Messages and Message Queues 基于windows的应用程序是事件驱动的。它们不进行明确的函数调用(比如调用C运行库)来获得输入。取而代之的是他们等待操作系统将输入传递给他们。 操作系统传递所有的输入给各种应用程序。每个window有一个函数叫做窗口过程,只要有输入操作系统就调用他们。窗口过程处理输入后,将控制返回给操作系统。详细资料请看窗口过程。
2003-04-03 08:58:00
3915
原创 TCP网络程序设计-完成端口之应用
一、运行程序 开发环境mdac2.7,vc6 sp5,win2000如果你的mdac版本是旧请升级或者重新编译。服务器端的数据库access,用ado来操作的。客户端用csv格式的文件系统的。将SMSServer和SMSClient放在同一个机器上,因为编译时我将IP设置成了127.0.0.1,SMSServerDB与SMSServer放在同一个目录。源代码是按1字节对其编译,静态连接的,
2003-04-03 08:58:00
1735
4
原创 使用串口发送普通短消息
At 指令文档SMS_PDU-mode文档短消息Text编码原码(下载至PJ Naughter的主页) pdu编码示例://message中的位的设置可以参考文档中的说明//红色的字表示可能与mfcsms中不同的地方CString CSMSMessage::CreatePDUMessage() const{CByteArray message;//message.SetSi
2003-04-03 08:57:00
1574
原创 ATL接口映射宏详解
* 本文选自:COM集中营 ATL接口映射宏详解lostall 序言: 这几天看了看ATL的接口映射宏,不知不觉看得比较深入了,突然就萌发了把它写出来的想法。ATL中定义了很多接口映射宏,有几个还是比较重要的,虽然好象没有必要把它所有的细节都弄得很清楚,但深入学习的过程中也可以顺带学一学其他的ATL类,对它的机制也可以更清楚一些,应该还是会有些好处的
2002-05-29 10:35:00
1454
原创 JOIN
Joins 101Welcome to the T-SQL ClassroomA relational database is composed of entities (aka tables), relationships between the entities, and attributes that describe the entities. By creating relate
2002-04-01 15:29:00
1145
原创 CREATE TABLE – SQL Command
CREATE TABLE – SQL CommandCreates a table having the specified fields.CREATE TABLE | DBF TableName1 [NAME LongTableName] [FREE] (FieldName1 FieldType [(nFieldWidth [, nPrecision])] [N
2002-03-31 15:45:00
1181
原创 The Ultimate (DLL) Header File
IntroductionEfficient and appropriate use of header files requires a few tricks. If you simply define a set of functions, everything works fine. No problems. If the file is included more than once b
2002-03-17 13:43:00
1139
原创 视图切换
一、SDI1、into mainframe.h add member int m_currentView; CView2* m_pView2; CView1* m_pView1; 2、in InitInstance()((CMainFrame*)m_pMainWnd)->m_pView1=(CView1*)(((CMainFrame*)m_pMainWnd)->GetActiv
2002-03-06 09:01:00
1050
使用MFC和SQLITE3 API开发的小程序
2017-03-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人