当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言:
 

 

    摘要:http://blog.csdn.net/yiruoyun/archive/2004/10/18/141514.aspx //使用方法:// bmpsafe.exe /file2bmp (input bmp) (input file to hide) [output file]//bmpsafe.exe /bmp2file (data bmp) [output file]using system......
    摘要:http://blog.csdn.net/yiruoyun/archive/2004/10/17/140219.aspx 钩子其实就是调用一下api而已: 1、安装钩子:   setwindowshookex 函数原形:hhook setwindowshookex( int idhook, // 钩子类型, hookproc lpfn, // 钩子函数地址 instance hmod, ......


H-DTO模式(之二)
1.概述

【程序编程相关:USB2.0驱动安装全接触

【推荐阅读:已经完成新的TextBox和ListBo

    前文说明了一些基本的概念与设计思路,从uml图中可以看出很多的内容,比如类关系,组件关系,下文将要使用java实现第一部分的设计. 【扩展信息:keyup事件的e

2.实现transformdata

/*

 * created on 2004-7-21 by jem.lee

 *

 * transformdata is a part of cn.bs.common.transdata

 * all rights reserved.

 * copyright (c) 2004. jem.lee

 */

 

/* 包路径cn.bs.common.transdata*/

package cn.bs.common.transdata;

 

/*import包内容*/

import java.util.hashmap;

import java.util.iterator;

 

 

/**

 * <pre>

 * history

 * 2004-7-21 21:02:57 created by jem.lee

 *

 * 目的

 * 作为视图与控制器之间进行数据传递的主要对象,

 * 它包涵一般的元素对象与table对象

 * </pre>

 */

public class transformdata implements cloneable{

   

    /*

     * 存放单个元素的hash表

     */

    private  hashmap trselements = new hashmap();

    /*

     * 存放table元素的的hash表

     */

    private  hashmap trstables = new hashmap();

   

    /**

     *  <pre>

     * 从formdata获得指定元素名称的值

     * @param name 元素名称

     * @return 元素对应的值

     * @throws exception

     *  </pre>

     */

    public string getfieldvalue(string name) throws exception {

        return(this.getfieldfromname(name).getvalue());

    }

   

    /**

     *  <pre>

     * 从formdata获得指定元素域名称

     * @param name 元素名称

     * @return 元素对应的域

     * @throws exception

     *  </pre>

     */

    public transformfield getfieldfromname(string name) throws exception {

        if (name == null) {

            throw (new nullpointerexception("输入的域名为空或是null"));

        }

        transformfield ret = (transformfield) trselements.get(name);

        if (ret == null) {


...   下一页
 ·[引用]c#中来应用hook     »显示摘要«
    摘要:http://blog.csdn.net/yiruoyun/archive/2004/10/18/141530.aspx 钩子(hook),是windows消息处理机制的一个平台,应用程序可以在上面设置子程以监视指定窗口的某种消息,而且所监视的窗口可以是其他进程所创建的。当消息到达后,在目标窗口处理函数之前处理它。钩子机制允许应用程序截获处理window消息或特定事件。 关于hook的详细介绍......
» 本期热门文章:

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