自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(37)
  • 资源 (15)
  • 收藏
  • 关注

转载 Variant 与 内存泄露

文章出处:http://www.cnblogs.com/victorincpp/archive/2010/06/22/1762816.html今天遇到一个内存泄露的问题。是师兄检测出来的。Variant类型在使用后要Clear否则会造成内存泄露,为什么呢?Google一下找到下面一篇文章,主要介绍了Com的内存泄露,中间有对Variant的一些解释吧。1. 引用计数泄漏

2012-11-15 19:00:42 992

转载 Windows服务编写综述

Windows服务编写综述作者:李朝中    摘要:几乎所有的操作系统在启动的时候都会启动一些不需要与用户交互的进程,这些进程在Windows中就被称作服务。它由服务程序、服务控制程序(SCP,service control program)和服务控制管理器(SCM,service control manager)三个组件构成。本文针对服务程序与服务控制程序的编写进行综合讲

2012-04-17 13:52:27 503

原创 ARMV4,ARMV4T,ARMV4I, ARMv5te,armv6,ARM VFP,ARM neon

ARMV4,ARMV4T,ARMV4IARMv4 -> 它只支持 32 位 ARMv4 指令ARMv4T ->“T”代表 Thumb(16 位指令模式)ARMv4I ->“I”代表交互作用 (Interworking)。它允许 32 位指令和 16 位指令共存一些经常出现的CPU支持的指令类型:XScale->支持ARMv5指令,当然也支持ARMv4指令StrongARM

2011-12-15 11:17:04 3090

转载 Mplayer

转自:http://kware.blogbus.com/tag/MPlayer/index_1.htmlMplayer 的事件机制2006-06-15分类: 软件技术1. Mplayer 的事件机制   1) mplayer.c 事件使用      // 5.3) 处理暂停 PAUSE      while (

2011-12-14 14:25:04 3545

原创 音视频 名词

1 IDCT DCTinverse  Discrete  Cosine Transformation负离散余弦转换DCT(InverseDiscreteCosineTransformation反向离散余弦变换)和MotionCompensation(运动补偿,简称MC)。前者是DCT的逆运算,DCT的处理针对图像数据在空间上的冗余的,压缩图像的时候是逐8*8像素单元处理的,为的是把矩阵的能

2011-12-13 17:16:45 500

转载 dll定义与调用中__cdecl __fastcall _fastcall _thiscall区别

几种调用约定(Calling Convention)__cdecl 是C DECLaration的缩写(declaration,声明),表示C语言默认的函数调用方法:所有参数从右到左依次入栈,这些参数由调用者清除,称为手动清栈。被调用函数不会要求调用者传递多少参数,调用者传递过多或者过少的参数,甚至完全不同的参数都不会产生编译阶段的错误。  _stdcall 是StandardCa

2011-12-05 17:03:44 708

转载 A* 寻路算法

http://www.cppblog.com/christanxw/archive/2006/04/07/5126.html

2011-11-30 22:40:41 703

转载 Apple code signing 苹果开发中认证体系

翻译地址:http://www.th7.cn/Program/IOS/2011/08/30/41087.shtml英文原文:http://www.raywenderlich.com/2915/ios-code-signing-under-the-hood教程截图:    下面是一篇有澳洲墨尔本的一名全职iOS开发者提供的文章。他在论坛上是一个很摩登的年轻人 – Adam Ebe

2011-11-15 14:36:53 1256

转载 Matlab命令汇总

原文地址 http://www.360doc.com/content/08/0317/21/59039_1125615.shtml附录1.1 管理用命令函数名    功能描述    函数名    功能描述addpath    增加一条搜索路径    rmpath    删除一条搜索路径demo    运行Matlab演示程序    type    列出.M文件

2011-11-14 23:17:32 713

转载 LIBSVM做回归预测

1 LIBSVM是台湾大学林智仁(Lin Chih-Jen)副教授等开发设计的一个简单、易于使用和快速有效的SVM模式识别与回归的软件包,他不但提供了编译好的可在Windows系列系统的执行文件,还提供了源代码,方便改进、修改以及在其它操作系统上应用;该软件对SVM所涉及的参数调节相对比较少,提供了很多的默认参数,利用这些默认参数可以解决很多问题;并提供了交互检验(Cross Valida

2011-11-11 07:48:53 4355

转载 Cocos2d开发资源大集合

原文地址:http://www.cnblogs.com/bobdos/archive/2011/01/02/1924278.htmlCocos2d开发资源大集合Cocos2d的分支流派Cocos2d-python--最初的版本,后来的cocos2d-iphone衍生于此;Cocos2d-iphone--Objective-C版本,做得最好的一个版

2011-11-10 16:40:53 1032

原创 SVM(MATLAB) 学习总结

1 SVM通用工具包SVM通用工具包下载地址:http://www.isis.ecs.soton.ac.uk/isystems/kernel/svm.zip          详见:http://see.xidian.edu.cn/faculty/chzheng/bishe/indexfiles/indexl.htm。解压到toolbox目录下,然后用addpath或者path

2011-10-31 23:20:36 7793

转载 Windows下通过VC++6.0编译live555工程(可调试)

http://fancylife.blog.51cto.com/920524/197406标签:live555原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://fancylife.blog.5

2011-10-13 16:11:17 665

转载 手机视频编解码 群友lihao的博文 视频开发

lihao_nx博文中有很多关于视频开发的,可以参考http://blog.chinaunix.net/space.php?uid=506080&do=blog&frmd=38515&view=meWINDOWS MOBILE下的播放器及其网速插件

2011-10-11 16:05:07 666 1

转载 从dll文件导出对应的lib文件

Visual C++ 中提供了两个命令行工具,一个是dumpbin.exe,另一个是lib.exe。利用这两个工具即可从dll导出其对应的lib。1、在命令行执行:dumpbin /exports yourdll.dll > yourdll.def2、

2011-10-10 14:39:02 443

原创 ADO 执行存储过程,取字符串类型的返回值

_CommandPtr pCommand = NULL; // Command Object _ParameterPtr inParam=NULL; _ParameterPtr outParam=NULL; try { // 创建 ADODB

2011-10-05 01:49:47 1520

转载 Sql Server判断数据库、表、存储过程、函数是否存在

转自:http://space.itpub.net/16436858/viewspace-626550判断数据库是否存在if exists (select * from sys.databases where name = '数据库名')drop database

2011-10-05 01:46:25 566

原创 VC CDC 加载位图 伸缩位图 源代码

今天要使用CDC进行位图缩放,将代码贴到这里,以后也许会用到。这里除了缩放位图外,还将位图copy到了DIB的右下角,并将合成后的DIB缩放到给定的CDC对象上。int StretchDIBToDC(CDC* dc, CRect rcSrc

2011-08-23 15:27:20 1687

原创 WAVECOM CDMA AT指令--拨号&挂断

拨号:命令:ATD[;]返回:Verbose result codeNumeric code (with ATV0 set)DescriptionOK0Command executed (voice)CONNECT 10,11,12,13,14,15If the call succeeds, for data calls only, takes the value negotiated by the product.BUSY7If the called party is already in commun

2011-04-16 17:41:00 2062

原创 如何通过CGImage得到bitmap

<br /><br />在目前(iOS4.3版本已经出来了)cocoa没有提供从CGimage到bitmap的接口,想得到bitmap还得费一番周折。以下是我从苹果开发者网站上找到的一段,可以实现。大体思路为:先创建满足自己要求的Context,再将原图片画到Context上,然后再从Context上得到图片的bitmap数据。<br /> <br />原文:http://developer.apple.com/library/ios/#qa/qa1509/_index.html<br /> <br />c

2011-03-27 12:07:00 1711

原创 Apple程序开发总结-- (二)Objective-C

这里写点object-c的简单语法以及要注意的地方吧

2011-03-10 15:55:00 1272

原创 Apple程序开发总结-- (一)技术资料

最近开发了一段时间的Apple程序,想对前面的技术进行一下总结,所以想起写这一系列的文档。网上的技术资料和论坛是学习的好地方,我知道的不错的网站有下面几个,如果你还知道别的可以告诉我。1 苹果的官方网站我觉得做的挺不错的,说明详细,还有很多的Sample,可以download下来学习;不足之处全部是英文的,如果...(此处略去100字)。网址:http://developer.apple.com2 cocoa china    “国内第一个也是最大的一个苹果相关产品的中文开发社区网站”(我从他的网站上摘的,

2011-03-10 15:49:00 641

转载 Connection strings for SQL Server 2008

Providers SQL Server 2008

2011-02-08 22:15:00 911

转载 java 发邮件

<br />http://blog.csdn.net/feiwengcheng/archive/2009/11/25/4870859.aspx<br /> <br /> <br />package com.ecard.util;<br />import java.util.Properties;   <br />import javax.activation.DataHandler;   <br />import javax.activation.FileDataSource;   <br />//impo

2010-11-22 16:08:00 825

转载 查找malloc_error_break错误根源方法

<br />malloc_error_break错误:<br />1、You'll find out what the object is when you break in the debugger. Just look up the call stack and you will find where you free it. That will tell you which object it is.<br />The easiest way to set the breakpoint is to

2010-10-29 10:54:00 9563

原创 iphone计算一段程序的耗时

计算一段程序的耗时,可以采用如下方法:<br /><br />//计算每次动作的执行时间<br />NSDate* tmpStartData = [[NSDate date] retain];<br />//TODO:do your action<br />NSTimeInterval deltaTime = [[NSDate date] timeIntervalSinceDate:tmpStartData];<br />NSLog(@">>>>>>>>>>elapse time = %f", deltaT

2010-10-08 15:22:00 758

原创 Wicket学习随笔

1 数据列表控件ListViewWicket doc中关于ListView有如下表述:http://wicket.apache.org/docs/1.4/org/apache/wicket/markup/html/list/ListView.html#setReuseItems(boolean)setReuseItemspublic ListViewT> setReuseItems

2010-04-02 15:37:00 646

原创 如何让程序自动创建SQLServer数据库?

引用自以下网址:http://topic.csdn.net/t/20061101/17/5125949.html 打包   SQL   Server   数据库到安装程序中         方法1.   备份/恢复     先备份数据库:     backup   database   数据库   to   disk=c:/备份.bak         将备份文件打包到安装程序中.  

2009-03-29 11:31:00 885

原创 学习VC的网络编程-大侠介绍几本经典书籍

RFC文档,RFC793,792,1337,1631,1071,791 ACE网络编程, TCP/IP协议三卷 windows network programming P2P 编程相关协议封包截获技术,数据包分析图论,拓扑学 network Qos 好好学吧,不要浮躁! 引自:http://www.programfan.com/club/showpost.asp?id=7650

2009-03-15 21:49:00 956

原创 ADO ENUM 重定义问题

#import "c://Program Files//Common Files//System//ADO//msado15.dll" / no_namespace rename("EOF", "adoEOF") rename("BOF","adoBOF")加入则提示什么msado15.tlh(228) : error C2011: “LockTypeEnum”: “enum”类型重定义一大堆

2009-03-13 22:08:00 1722 3

原创 BMP图片格式

[转]BMP图象格式  BMP是bitmap的缩写形式,bitmap顾名思义,就是位图也即Windows位图。它一般由4部分组成:文件头信息块、图像描述信息块、颜色表(在真彩色模式无颜色表)和图像数据区组成。在系统中以BMP为扩展名保存。  BMP位图分为:2色位图(黑白)、16色位图、256色位图和24位位图,32位位图等。  现在讲解BMP的4个组成部分: 位图文件

2009-03-08 19:36:00 934

原创 定义游标中使用order by 不可删除

写了一个测试的存储过程,代码如下。 测试游标的删除当前行,结果在定义游标时的select语句中如果加入: order by BJTime asc执行就会报错: 服务器: 消息 16957,级别 16,状态 4,过程 proc_test,行 11在 READ ONLY 游标上不能指定 FOR UPDATE。 删除order by 子句就ok。问题出在哪了呢?难

2009-02-18 06:59:00 1145

转载 sqlServer 大小写问题的解决方案

文章来自http://hi.baidu.com/coolcode/blog/item/75396c593fc2472c2934f06d.html最近对我们的机场项目进行升级,新的系统部署后,在执行联合查询时,总会报出错误:“Cannot resolve the collation conflict between "Chinese_PRC_CS_AS" and "Chine

2009-02-16 21:23:00 1507

原创 通过select语句将查询空集结果赋值给变量时,如果查询结果为空集则变量值不变,并不会

如果select语句将查询结果为空集,通过select语句将查询结果赋值给变量时,变量值不变,并不是我想的为null。以后可得注意了。  declare @tmp_ID3 bigint   /* 在【tmp_alarmInfo】表中的tmp_ID*/  declare @tt3 datetime  /* 报警恢复时间 */ set @tt3 = 2008-8-13 23:00:25

2009-02-16 06:02:00 2388

原创 游标对应的表的数据删除时,如何保持游标与表数据的一致性

今天写了一个存储过程,如下REATE PROCEDURE proc_testAS declare @ID bigint   /* 在【台站报警信息】表中的ID*/ declare @tmp_ID0 bigint   /* 在【tmp_alarmInfo】表中的tmp_ID*/ declare @tt0 datetime   /* 报警开始时间 */ declare @alarmChar0

2009-02-16 05:53:00 926

转载 oracle数据库开发中的问题纪录收藏

文章来自http://blog.csdn.net/chuan122345/archive/2007/04/30/1592623.aspx1.在oracle中,数据表别名不能加as,如:select a.appname from appinfo a;-- 正确select a.appname from appinfo as a;-- 错误也许,是怕和oracle中的存储过程中

2009-02-08 22:03:00 458

转载 ORACLE 常用第三方软件介绍

 一、首先值得一题的便是 PL/SQL Developer ,这几乎是 oracle 的那些大侠都在使用软件,也是我最喜欢的软件,强力推荐: 1 、软件评定 : ★★★★★ 2 、优点 : a 、全而支持 oracle7.x 、 8.x 、 9i, 采用 oci 直接 oracle, 效率是同类软件中最好的,决对不比 sqlplus 慢。 b 、它是一个多线程的应用

2009-02-08 22:02:00 746

windows xp补丁加快VS2010运行速度

windows xp x86 中文版补丁, 可以明显加快VS2010启动和运行速度

2012-12-20

SVM通用工具包

SVM matlab 通用工具包。 解压到toolbox目录下,然后用addpath或者pathtool把该工具箱的路径添加到matlab的搜索路径中,最后用which newtoolbox_command.m来检验是否可以访问。 例如: >> addpath D:\'Program Files'\MATLAB\R2007a\toolbox\svm >> which svcinfo.m D:\Program Files\MATLAB\R2007a\toolbox\svm\svcinfo.m >> 补充:这样有一个问题,每次打开还要重新安装...我们通过:打开matlab->File->Set Path中添加SVM工具箱的文件夹,这样可以直接添加了。

2011-10-31

IIS 5.1 安装包

IIS 安装包,不再需要Windows安装光盘

2010-12-15

Installshield入门指南

Installshield入门指南 阅读对象:IS的初用者;本指南的校对、补充、修改者。 适用版本:IS10~IS11,如果您使用的不是这个版本段的版本,那么还是不要再往下看了。 目的 :帮助初用者建立一个简单的安装包,能在建立这个安装包的过程中了解IS的基本情况。 强调 :本指南不会对IS中的每一个菜单进行介绍,只对用到的做一个初步讲解

2010-12-02

InstallShield简明教程

InstallShield简明教程,很经典的哦

2010-12-02

vc封装的ADO类包含CADODatabase、CADORecordset CADOParameter CADOCommand CADOException 等类

vc封装的ADO类包含CADODatabase、CADORecordset CADOParameter CADOCommand CADOException 等类 The CADODatabase Class CADODatabase Open Execute GetRecordsAffected GetActiveConnection GetRecordCount BeginTransaction CommitTransaction RollbackTransaction IsOpen Close SetConnectionString GetConnectionString SetConnectionMode GetLastError GetLastErrorString The CADORecordset Class CADORecordset Open Execute GetQuery SetQuery RecordBinding GetRecordCount IsOpen Close GetFieldCount GetFieldValue IsFieldNull IsFieldEmpty IsEof IsBof Move AbsolutePage GetPageCount PageSize AbsolutePosition GetFieldInfo GetChunk AppendChunk GetString GetLastError GetLastErrorString AddNew Edit Delete Update CancelUpdate SetFieldValue Find FindFirst FindNext GetBookmark SetBookmark SetFilter SetSort GetRecordset GetActiveConnection Clone SaveAsXML OpenXML OpenSchema Requery The CADOParameter Class CADOParameter SetPrecision SetScale SetValue GetValue SetName GetName GetType GetParameter The CADOCommand Class CADOCommand AddParameter SetText GetText SetType GetType GetCommand Execute GetRecordsAffected The CJectEngine Class CompactDatabase The CADOException Class CADOException GetErrorMessage GetError SetError COLEDBDataLink COLEDBDataLink New Edit COLEDBException GetErrorMessage GetError SetError

2010-08-29

卡巴斯基重复试用补丁7.0、8.0、9.0通用(KTS版)

正常情况下,卡巴斯基第一次安装后可试用30天,具备安装历史检测机制,到期后即使卸载重新安装也不能继续试用。 这是卡巴斯基反病毒2010重复试用工具,在到期后重置注册表中有关标志项,仅仅需要几秒钟时间就使卡巴斯基恢复到第一次安装状态,实现无限期重复试用的目标。从此不必忍受每隔几天key被列入黑名单而到网上搜索key的煎熬了,轻轻松松鼠标一点,即可享受完全正版功能,何乐而不为呢? 版权声明:此工具由精睿论坛开发,谨代表所有用户向高手们付出的辛勤劳动致谢! 使用方法:先退出卡巴斯基,然后运行此工具,再启动卡巴斯基,重新激活试用授权,OK

2010-08-26

mysql-connector-odbc-5.1.6-win32

mysql-connector-odbc-5.1.6-win32

2010-06-20

Windows驱动开发技术详解-完全版03

Windows驱动开发的一本不错的书,绝对完全版.

2009-09-20

Windows驱动开发技术详解-完全版02

Windows驱动开发的一本不错的书,绝对完全版。

2009-09-20

Windows驱动开发技术详解-完全版01

Windows驱动开发的一本不错的书,绝对完全版。 part2 http://download.csdn.net/source/1681533

2009-09-20

MS SQLSERVER使用T-SQL语言参考

MS SQLSERVER使用的T-SQL语言的不错的参考资料,一直使用它。 此资料从网上获得,如果影响了您的版权请联系我。

2009-08-21

Oracle触发器与存储过程高级编程

Oracle触发器与存储过程高级编程。 Chapter One. An Introduction to Relational Database Tables Section 1.1. Before Relational Tables Section 1.2. SQL Section 1.3. Tables Section 1.4. SQL Statements Section 1.5. Table Column Datatypes Section 1.6. Behind Tables Chapter Two. Interacting with Oracle Section 2.1. Simplify SQL*Plus for Yourself on Windows Section 2.2. Connecting Section 2.3. Connecting to an Infrastructure Section 2.4. Disconnecting Section 2.5. Command Line Section 2.6. Changes on the Command Line Section 2.7. Scripts Section 2.8. Script Output Section 2.9. Command Line Arguments Section 2.10. SQL*Plus with Korn Shell Section 2.11. Batch Command Files Section 2.12. SQL*Plus with Active State Perl Section 2.13. Privileges Section 2.14. DUAL Section 2.15. Autotrace Chapter Three. Declarative Constraints Section 3.1. Primary Key Section 3.2. UNIQUE Section 3.3. Foreign Key Section 3.4. Check Section 3.5. NOT NULL Constraints Section 3.6. Default Values Section 3.7. Modifying Constraints Section 3.8. Exception Handling Section 3.9. Data Loads Chapter Four. A Data Model with Constraints Section 4.1. Entity Relationship Diagram Section 4.2. Table Descriptions Section 4.3. DDL Section 4.4. Sample Data Chapter Five. Viewing Constraints in the Data Dictionary Section 5.1. What You Can See Section 5.2. Dictionary Views: An Overview Section 5.3. Constraint Views Section 5.4. USER_CONS_COLUMNS Section 5.5. USER_CONSTRAINTS Section 5.6. Data Dictionary Constraint Scripts Chapter Six. Row Trigger Mechanics Section 6.1. Introduction Section 6.2. Before versus After Section 6.3. Insert Row Trigger Syntax Section 6.4. Trigger Body Section 6.5. Example Row Triggers Section 6.6. A Table with Oracle Constraints and Business Rules Chapter Seven. Statement Level Triggers Section 7.1. Sequence of Events Section 7.2. Insert Statement Trigger Syntax Section 7.3. Statement Level Aggregation Section 7.4. Processing Row Captured Data Chapter Eight. Complex Rule Enforcement Chapter Nine. The PL/SQL Environment Section 9.1. A Hello World Program Section 9.2. Referencing Oracle Packages Section 9.3. USER_OBJECTS Section 9.4. Dependencies among Procedures Section 9.5. USER_DEPENDENCIES Section 9.6. USER_SOURCE Section 9.7. Sharing Code Section 9.8. Compilation Dependency Section 9.9. USER_ERRORS Chapter Ten. PL/SQL Program Units Section 10.1. Procedures Section 10.2. Functions Section 10.3. Subprogram Encapsulation: Introduction to Packages Section 10.4. Package Specification Section 10.5. Package Body Section 10.6. Application Partitioning Section 10.7. Data Abstraction Section 10.8. Parameters and Modes Section 10.9. Overloading Chapter Eleven. PL/SQL Language Features Section 11.1. Comments Section 11.2. Assignments and Statements Section 11.3. Boolean Expression Section 11.4. Expressions with NULL Section 11.5. Logical Operators Section 11.6. String Concatenation Section 11.7. Arithmetic Expressions Section 11.8. Variable Declarations Section 11.9. Types Section 11.10. IF Statement Section 11.11. CASE Statement Section 11.12. LOOP Section 11.13. STRING Manipulation Functions Section 11.14. Miscellaneous String Functions Section 11.15. Numeric Functions Section 11.16. Random Number Generation Section 11.17. Date Functions Section 11.18. Exceptions Section 11.19. Database Access with SQL Section 11.20. Sending Pipe Messages (DBMS_PIPE) Section 11.21. Signaling Events with Alerts (DBMS_ALERT) Section 11.22. Email Notification with Triggers and Alerts

2008-10-03

oracle SQL PL/SQL学习笔记

oracle SQL PL/SQL的学习笔记,希望对您有用。

2008-10-03

oracle 错误代码和信息速查手册

oracle中常遇到一些错误号,什么意思,如何解决?一查就知道。

2008-10-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除