李sir_Blog

博客园 首页 联系 订阅 管理
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 71 下一页

2010年11月18日

摘要: Session variables are special types of variables that are expanded at runtime when they are used. When they are used on screens, their values are automatically expanded for you, however if a session v... 阅读全文
posted @ 2010-11-18 09:19 李sir 阅读(1797) 评论(0) 推荐(0)

2010年11月17日

摘要: 以下代码可以取得系统特征码(网卡MAC、硬盘序列号、CPU ID、BIOS编号) BYTE szSystemInfo[4096]; // 在程序执行完毕后,此处存储取得的系统特征码 UINT uSystemInfoLen = 0; // 在程序执行完毕后,此处存储取得的系统特征码的长度 // 网卡 MAC 地址,注意: MAC 地址是可以在注册表中修改的 { UINT uErrorCode=0... 阅读全文
posted @ 2010-11-17 15:18 李sir 阅读(14305) 评论(0) 推荐(0)

摘要: //hibernate and standbyintCAutoPowerOnShutdownDlg::SetPower(BOOL bSuspend,BOOL bForce){ TOKEN_PRIVILEGES tp; HANDLE hToken; LUID luid; LPTSTR MachineName=NULL;//為當前進程獲得關閉系統休眠系統的特權// 取得当前进程的[Token](标识)... 阅读全文
posted @ 2010-11-17 14:50 李sir 阅读(387) 评论(0) 推荐(0)

摘要: 精选微软等数据结构+算法面试100题,整的一大半了,虽还只公布到第60题,但整天 看代码,也实在 趣味不多。详情见此帖:http://topic.csdn.net/u/20101023/20/5652ccd7-d510-4c10-9671-307a56006e6d.html整理资源,下载地址:[最新答案V0.3版]微软等数据结构+算法面试100题[第21-40题答案]http://download... 阅读全文
posted @ 2010-11-17 12:39 李sir 阅读(492) 评论(0) 推荐(0)

2010年11月16日

摘要: 昨日发现打包的程序安装后在某些Win7机器上有这个问题。在开始——程序——目录——exe那边的图片显示不出来。查了很多原因。未能解决。发现点属性然后选择图片说明都不做点确定就可以显示了。折腾一番过后。我在打包程序中把快捷方式先删除。然后在添加定位到安装后的exe。然后编译安装后发现在那个机器上可以了。原因发现可能是我以前直接修... 阅读全文
posted @ 2010-11-16 11:35 李sir 阅读(645) 评论(0) 推荐(0)

摘要: 我做了一个WebRtf的控件,主要是封装了RichtextBox控件,增加一些方法,如打印等,用来实现在Web上显示RTF文档的功能。编译成WebRtf.ocx,在VB中测试成功,为了能在Web上使用,我们需要做两个工作一是将其打包成Internet发布包二是将这个包进行数字签名我一步一步抓图进行讲解,如果对于第一个部分你已经熟悉,可以直接略过进入第二部分图上已经相当清楚,我只在必要的地方加一点描... 阅读全文
posted @ 2010-11-16 09:30 李sir 阅读(593) 评论(1) 推荐(0)

2010年11月14日

摘要: PKCS 全称是 Public-Key Cryptography Standards ,是由 RSA 实验室与其它安全系统开发商为促进公钥密码的发展而制订的一系列标准,PKCS 目前共发布过 15 个标准。 常用的有:PKCS#7 Cryptographic Message Syntax StandardPKCS#10 Certification Request StandardPKCS#12 P... 阅读全文
posted @ 2010-11-14 20:45 李sir 阅读(12794) 评论(0) 推荐(1)

摘要: 将'unsigned long* 改为'unsigned long 阅读全文
posted @ 2010-11-14 12:49 李sir 阅读(704) 评论(0) 推荐(0)

2010年11月11日

摘要: // Encrypting_a_File.cpp : Defines the entry point for the console // application.//#include <tchar.h>#include <stdio.h>#include <windows.h>#include <wincrypt.h>#include <co... 阅读全文
posted @ 2010-11-11 17:45 李sir 阅读(879) 评论(0) 推荐(0)

2010年11月9日

摘要: #include <windows.h>#include <stdio.h>#include <conio.h>#include <tchar.h>#define BUF_SIZE 256TCHAR szName[]=TEXT("Global\\MyFileMappingObject");TCHAR szMsg[]=TEXT("Message fro... 阅读全文
posted @ 2010-11-09 17:01 李sir 阅读(283) 评论(0) 推荐(0)

上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 71 下一页